12 alreadyUsedEvent(
false)
14 if (
false)
cout <<
"Constructing TT6NoiseCalculator " << endl;
19 int evnt_iter,
float sig_cut) :
23 if (
false)
cout <<
"Constructing TT6NoiseCalculator " << endl;
44 if (
false)
cout <<
"Destructing TT6NoiseCalculator " << endl;
64 edm::LogError(
"TT6NoiseCalculator:updateNoise") <<
" You did not initialize the Noise correctly prior to noise calibration.";
83 for (i = 0; i < in.size(); i++) {
98 for (i = 0; i < in.size(); i++) {
102 double rmsVal = (sqAvVal - avVal*avVal > 0.0) ?
sqrt(corr_fac * (sqAvVal - avVal*avVal)) : 0.0;
106 theNoise.push_back(static_cast<float>(rmsVal));
108 if (
false)
cout <<
" TT6NoiseCalculator::updateNoise " 114 << (sqAvVal - avVal*avVal) <<
" " void updateNoise(ApvAnalysis::PedestalType &in) override
std::vector< float > PedestalType
~TT6NoiseCalculator() override
std::vector< double > theNoiseSum
std::vector< unsigned short > theEventPerStrip
int eventsRequiredToUpdate_
std::vector< double > theNoiseSqSum
bool isCalibrating() const
ApvAnalysis::PedestalType theNoise
ApvAnalysis::PedestalType theCMPSubtractedSignal
void updateStatus() override
int eventsRequiredToCalibrate_