12 cout <<
"Constructing TT6NoiseCalculator " << endl;
19 cout <<
"Constructing TT6NoiseCalculator " << endl;
41 cout <<
"Destructing TT6NoiseCalculator " << endl;
61 <<
" You did not initialize the Noise correctly prior to noise calibration.";
79 for (i = 0; i < in.size(); i++) {
93 for (i = 0; i < in.size(); i++) {
97 double rmsVal = (sqAvVal - avVal * avVal > 0.0) ?
sqrt(corr_fac * (sqAvVal - avVal * avVal)) : 0.0;
101 theNoise.push_back(static_cast<float>(rmsVal));
105 <<
theEventPerStrip[
i] <<
" " << avVal <<
" " << sqAvVal <<
" " << (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_