8 : numberOfEvents(0), alreadyUsedEvent(
false) {
10 cout <<
"Constructing TT6PedestalCalculator " << endl;
32 cout <<
"Destructing TT6PedestalCalculator " << endl;
77 for (; i != in.
data.end(); i++) {
89 for (; i != in.
data.end(); i++) {
93 double rmsVal = (sqAvVal - avVal * avVal > 0.0) ?
sqrt(corr_fac * (sqAvVal - avVal * avVal)) : 0.0;
120 for (; i < in.
data.end(); i++) {
129 for (
unsigned int iii = 0; iii < in.
data.size(); iii++) {
133 double rmsVal = (sqAvVal - avVal * avVal > 0.0) ?
sqrt(sqAvVal - avVal * avVal) : 0.0;
int eventsRequiredToCalibrate
std::vector< unsigned short > theEventPerStrip
ApvAnalysis::PedestalType theRawNoise
TT6PedestalCalculator(int evnt_ini, int evnt_iter, float sig_cut)
void initializePedestal(ApvAnalysis::RawSignalType &in)
void refinePedestal(ApvAnalysis::RawSignalType &in)
std::vector< double > thePedSum
void updatePedestal(ApvAnalysis::RawSignalType &in) override
ApvAnalysis::PedestalType thePedestal
int eventsRequiredToUpdate
bool isCalibrating() const
std::vector< double > thePedSqSum
~TT6PedestalCalculator() override
collection_type::const_iterator const_iterator
void updateStatus() override