#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, muonCSCDigis_cfi::gain, mps_fire::i, and PFTauMVAInputDiscriminatorTranslator_cfi::test.
double TPNCor::getPNCorrectionFactor | ( | double | val0, |
int | gain | ||
) |
Definition at line 72 of file TPNCor.cc.
References corr, gather_cfg::cout, and muonCSCDigis_cfi::gain.
Referenced by EcalLaserAnalyzer2::analyze(), and EcalLaserAnalyzer::analyze().