C++ class. Generic histogram loader with methods to return bin values.
More...
|
|
| HistLoader () |
| | Empty constructor.
|
| |
| | HistLoader (std::string filename, std::string histname) |
| | Construct a new HistLoader object. More...
|
| |
| std::vector< float > | eval_bybin (int binx, int biny=0, int binz=0) |
| | Evaluate by bin numbers. More...
|
| |
| std::vector< float > | eval (float xval, float yval=0., float zval=0.) |
| | Evaluate by axis value. More...
|
| |
|
|
TH1 * | hist |
| | Histogram object.
|
| |
C++ class. Generic histogram loader with methods to return bin values.
◆ HistLoader()
| HistLoader |
( |
std::string |
filename, |
|
|
std::string |
histname |
|
) |
| |
Construct a new HistLoader object.
- Parameters
-
| filename | File to access. |
| histname | Histogram name in the file. |
◆ eval()
| std::vector< float > eval |
( |
float |
xval, |
|
|
float |
yval = 0., |
|
|
float |
zval = 0. |
|
) |
| |
Evaluate by axis value.
- Parameters
-
- Returns
- std::vector<float> {nominal value, up error+nominal, down error+nominal}
◆ eval_bybin()
| std::vector< float > eval_bybin |
( |
int |
binx, |
|
|
int |
biny = 0, |
|
|
int |
binz = 0 |
|
) |
| |
Evaluate by bin numbers.
- Parameters
-
- Returns
- std::vector<float> {nominal value, up error+nominal, down error+nominal}
The documentation for this class was generated from the following files:
- TIMBER/Framework/include/HistLoader.h
- TIMBER/Framework/src/HistLoader.cc