![]() |
Belle II Software development
|
Public Member Functions | |
| __init__ (self, filename, dirname) | |
| sum (self, name) | |
| mean (self, name) | |
| std (self, name) | |
| min (self, name) | |
| max (self, name) | |
Public Attributes | |
| dict | values = {} |
| Dictionary of bin-contents for each histogram. | |
| dict | centers = {} |
| Dictionary of bin-centers for each histogram. | |
| dict | two_dimensional = {} |
| Dictionary of 2D mode for each histogram. | |
| dict | nbins = {} |
| Dictionary of number of bins for each histogram. | |
| valid = os.path.isfile(filename) | |
| Indicates if the histograms were successfully read. | |
Reads all TH1F and TH2F from a ROOT file and puts them into a more accessible format.
Definition at line 163 of file monitoring.py.
| __init__ | ( | self, | |
| filename, | |||
| dirname ) |
Reads histograms from the given file @param filename the name of the ROOT file
Definition at line 169 of file monitoring.py.
| max | ( | self, | |
| name ) |
Calculates the maximum of a given histogram @param name key of the histogram
Definition at line 278 of file monitoring.py.
| mean | ( | self, | |
| name ) |
Calculates the mean of a given histogram @param name key of the histogram
Definition at line 227 of file monitoring.py.
| min | ( | self, | |
| name ) |
Calculates the minimum of a given histogram @param name key of the histogram
Definition at line 259 of file monitoring.py.
| std | ( | self, | |
| name ) |
Calculates the standard deviation of a given histogram @param name key of the histogram
Definition at line 242 of file monitoring.py.
| sum | ( | self, | |
| name ) |
Calculates the sum of a given histogram (== sum of all entries) @param name key of the histogram
Definition at line 212 of file monitoring.py.
| dict centers = {} |
Dictionary of bin-centers for each histogram.
Definition at line 179 of file monitoring.py.
| dict nbins = {} |
Dictionary of number of bins for each histogram.
Definition at line 183 of file monitoring.py.
| dict two_dimensional = {} |
Dictionary of 2D mode for each histogram.
Definition at line 181 of file monitoring.py.
| valid = os.path.isfile(filename) |
Indicates if the histograms were successfully read.
Definition at line 185 of file monitoring.py.
| dict values = {} |
Dictionary of bin-contents for each histogram.
Definition at line 177 of file monitoring.py.