Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
pyroot Directory Reference
Directory dependency graph for pyroot:

Files

 demo.py
 To run, do "python <path-to>/demo.py".
 
 demoshelp.py
  View in nbviewer Open in SWAN
Display demo help.
 
 DynamicSlice.py
  View in nbviewer Open in SWAN
Example of function called when a mouse event occurs in a pad.
 
 fit1.py
  View in nbviewer Open in SWAN
Fit example.
 
 fit1_py.py
 
 formula1.py
  View in nbviewer Open in SWAN
TF1 example.
 
 geometry.py
  View in nbviewer Open in SWAN
Geometry
 
 gerrors.py
  View in nbviewer Open in SWAN
A Simple Graph with error bars
 
 graph.py
  View in nbviewer Open in SWAN
A Simple Graph Example
 
 gui_ex.py
 A Simple GUI Example.
 
 h1ReadAndDraw.py
  View in nbviewer Open in SWAN
A Simple histogram drawing example
 
 hsimple.py
  View in nbviewer Open in SWAN
This program creates :
 
 hsum.py
  View in nbviewer Open in SWAN
Simple example illustrating how to use the C++ interpreter
 
 mrt.py
  View in nbviewer Open in SWAN
Build ROOT Ntuple from other source.
 
 na49geomfile.py
 Before executing this macro, the file makegeometry.C must have been executed.
 
 na49view.py
 This macro generates two views of the NA49 detector.
 
 na49visible.py
 Set visibility attributes for the NA49 geometry Set Shape attributes.
 
 ntuple1.py
  View in nbviewer Open in SWAN
Ntuple drawing example.
 
 numberEntry.py
 Example frame with one box where the user can increase or decrease a number and the shown value will be updated accordingly.
 
 parse_CSV_file_with_TTree_ReadStream.py
 This function provides an example of how one might massage a csv data file to read into a ROOT TTree via TTree::ReadStream.
 
 pyroot001_arrayInterface.py
  View in nbviewer Open in SWAN
This tutorial illustrates the conversion of STL vectors and TVec to numpy arrays without copying the data.
 
 pyroot002_pythonizationDecorator.py
  View in nbviewer Open in SWAN
This tutorial shows how to use the @pythonization decorator to add extra behaviour to C++ user classes that are used from Python via PyROOT.
 
 pyroot003_prettyPrinting.py
  View in nbviewer Open in SWAN
This tutorial illustrates the pretty printing feature of PyROOT, which reveals the content of the object if a string representation is requested, e.g., by Python's print statement.
 
 pyroot004_NumbaDeclare.py
  View in nbviewer Open in SWAN
This tutorial illustrates how PyROOT supports declaring C++ callables from Python callables making them, for example, usable with RDataFrame.
 
 pyroot005_tfile_context_manager.py
  View in nbviewer Open in SWAN
This tutorial demonstrates the usage of the TFile class as a Python context manager.
 
 pyroot006_tcontext_context_manager.py
  View in nbviewer Open in SWAN
This tutorial demonstrates the usage of the TContext class as a Python context manager.
 
 ratioplot.py
  View in nbviewer Open in SWAN
Display two histograms and their ratio.
 
 shapes.py
  View in nbviewer Open in SWAN
Draw the geometry using the x3d viewver.
 
 staff.py
  View in nbviewer Open in SWAN
example of macro to read data from an ascii file and create a root file with a Tree.
 
 surfaces.py
  View in nbviewer Open in SWAN
Surfaces example
 
 tornado.py
 Tornado example.
 
 zdemo.py
  View in nbviewer Open in SWAN
This macro is an example of graphs in log scales with annotations.