#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) | |
~TPNCor () override | |
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 21 of file TPNCor.cc.
References gather_cfg::cout, corrVsCorr::filename, groupFilesInBlocks::fin, PedestalClient_cfi::gain, mps_fire::i, dqmiolumiharvest::j, and ctpps_dqm_sourceclient-live_cfg::test.
double TPNCor::getPNCorrectionFactor | ( | double | val0, |
int | gain | ||
) |
Definition at line 62 of file TPNCor.cc.
References alignCSCRings::corr, gather_cfg::cout, and PedestalClient_cfi::gain.
Referenced by EcalLaserAnalyzer::analyze(), and EcalLaserAnalyzer2::analyze().