12 cout <<
"Constructing SimpleNoiseCalculator " << endl;
18 cout <<
"Constructing SimpleNoiseCalculator " << endl;
41 cout <<
"Destructing SimpleNoiseCalculator " << endl;
62 <<
" You did not initialize the Noise correctly prior to noise calibration.";
79 for (i = 0; i < in.size(); i++) {
90 for (i = 0; i < in.size(); i++) {
94 double rmsVal = (sqAvVal - avVal * avVal > 0.0) ?
sqrt(corr_fac * (sqAvVal - avVal * avVal)) : 0.0;
98 theNoise.push_back(static_cast<float>(rmsVal));
102 <<
theEventPerStrip[
i] <<
" " << avVal <<
" " << sqAvVal <<
" " << (sqAvVal - avVal * avVal) <<
" "
std::vector< float > PedestalType
void updateNoise(ApvAnalysis::PedestalType &in) override
ApvAnalysis::PedestalType theNoise
std::vector< double > theNoiseSum
std::vector< double > theNoiseSqSum
Log< level::Error, false > LogError
ApvAnalysis::PedestalType theCMPSubtractedSignal
int eventsRequiredToCalibrate_
~SimpleNoiseCalculator() override
std::vector< unsigned short > theEventPerStrip
bool isCalibrating() const
void updateStatus() override