#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 |
enum TPNCor::VarParPN |
TPNCor::TPNCor | ( | std::string | filename | ) |
Definition at line 22 of file TPNCor.cc.
References c, 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 64 of file TPNCor.cc.
References alignCSCRings::corr, gather_cfg::cout, and PedestalClient_cfi::gain.
Referenced by EcalLaserAnalyzer2::analyze(), and EcalLaserAnalyzer::analyze().