#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 23 of file TPNCor.cc.
References trackerHits::c, gather_cfg::cout, i, and j.
double TPNCor::getPNCorrectionFactor | ( | double | val0, |
int | gain | ||
) |
Definition at line 73 of file TPNCor.cc.
References corr, and gather_cfg::cout.
Referenced by EcalLaserAnalyzer2::analyze(), and EcalLaserAnalyzer::analyze().