#include <TPNCor.h>
Public Types | |
enum | VarGain { iGain0, iGain1, iSizeGain } |
enum | VarParPN { iPar0, iPar1, iPar2, iSizePar } |
Public Member Functions | |
double | getPNCorrectionFactor (double val0, int gain) |
TPNCor (std::string filename) | |
virtual | ~TPNCor () |
Public Attributes | |
double | corParams [iSizeGain][iSizePar] |
int | isFileOK |
enum TPNCor::VarGain |
Enumerator | |
---|---|
iGain0 | |
iGain1 | |
iSizeGain |
enum TPNCor::VarParPN |
Enumerator | |
---|---|
iPar0 | |
iPar1 | |
iPar2 | |
iSizePar |
TPNCor::TPNCor | ( | std::string | filename | ) |
Definition at line 22 of file TPNCor.cc.
References EnergyCorrector::c, gather_cfg::cout, groupFilesInBlocks::fin, i, j, and run_regression::test.
double TPNCor::getPNCorrectionFactor | ( | double | val0, |
int | gain | ||
) |
Definition at line 72 of file TPNCor.cc.
References corr, and gather_cfg::cout.
Referenced by EcalLaserAnalyzer2::analyze(), and EcalLaserAnalyzer::analyze().