C++ class. Generic histogram loader with methods to return bin values.
More...
|
|
| EffLoader () |
| | Empty constructor.
|
| |
| | EffLoader (std::string filename, std::string histname) |
| | Construct a new EffLoader object. More...
|
| |
| std::vector< float > | eval_byglobal (int globalbin) |
| | Evaluate by global bin number. More...
|
| |
| std::vector< float > | eval_bybin (int binx, int biny=0, int binz=0) |
| | Evaluate by per-axis bin numbers. More...
|
| |
| std::vector< float > | eval (float xval, float yval=0, float zval=0) |
| | Evaluate by axis value. More...
|
| |
C++ class. Generic histogram loader with methods to return bin values.
◆ EffLoader()
| EffLoader |
( |
std::string |
filename, |
|
|
std::string |
histname |
|
) |
| |
Construct a new EffLoader 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 per-axis bin numbers.
- Parameters
-
- Returns
- std::vector<float> {nominal value, up error+nominal, down error+nominal}
◆ eval_byglobal()
| std::vector< float > eval_byglobal |
( |
int |
globalbin | ) |
|
Evaluate by global bin number.
- 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/EffLoader.h
- TIMBER/Framework/src/EffLoader.cc