![]() |
Belle II Software development
|
Public Member Functions | |
| __init__ (self, filename, treenameprefix) | |
Public Attributes | |
| valid = os.path.isfile(filename) | |
| Indicates if the ntuple were successfully read. | |
| f = ROOT.TFile.Open(filename, 'read') | |
| Reference to the ROOT file, so it isn't closed. | |
| tree = self.f.Get(ROOT.Belle2.MakeROOTCompatible.makeROOTCompatible(f'{treenameprefix} variables')) | |
| Reference to the tree named variables inside the ROOT file. | |
| filename = filename | |
| Filename so we can use it later. | |
Reads the ntuple named variables from a ROOT file
Definition at line 298 of file monitoring.py.
| __init__ | ( | self, | |
| filename, | |||
| treenameprefix ) |
Reads ntuple from the given file @param filename the name of the ROOT file
Definition at line 303 of file monitoring.py.
| f = ROOT.TFile.Open(filename, 'read') |
Reference to the ROOT file, so it isn't closed.
Definition at line 317 of file monitoring.py.
| filename = filename |
Filename so we can use it later.
Definition at line 323 of file monitoring.py.
| tree = self.f.Get(ROOT.Belle2.MakeROOTCompatible.makeROOTCompatible(f'{treenameprefix} variables')) |
Reference to the tree named variables inside the ROOT file.
Definition at line 320 of file monitoring.py.
| valid = os.path.isfile(filename) |
Indicates if the ntuple were successfully read.
Definition at line 311 of file monitoring.py.