8 int evnt_iter,
float sig_cut) :
10 alreadyUsedEvent(
false)
12 if (
false)
cout <<
"Constructing TT6PedestalCalculator " << endl;
33 if (
false)
cout <<
"Destructing TT6PedestalCalculator " << endl;
81 for (;i!=in.
data.end() ; i++) {
93 for (;i!=in.
data.end() ; i++) {
97 double rmsVal = (sqAvVal - avVal*avVal > 0.0) ?
sqrt(corr_fac * (sqAvVal - avVal*avVal)) : 0.0;
125 for (; i < in.
data.end(); i++) {
135 for (
unsigned int iii = 0; iii < in.
data.size(); iii++) {
139 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