12 cout <<
"Constructing TT6NoiseCalculator " << endl;
17 : numberOfEvents(0), alreadyUsedEvent(
false) {
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
Log< level::Error, false > LogError
~TT6NoiseCalculator() override
std::vector< double > theNoiseSum
std::vector< unsigned short > theEventPerStrip
int eventsRequiredToUpdate_
bool isCalibrating() const
std::vector< double > theNoiseSqSum
ApvAnalysis::PedestalType theNoise
ApvAnalysis::PedestalType theCMPSubtractedSignal
void updateStatus() override
int eventsRequiredToCalibrate_