8 int evnt_iter,
float sig_cut) :
10 alreadyUsedEvent(
false)
12 if (0)
cout <<
"Constructing TT6PedestalCalculator " << endl;
33 if (0)
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
virtual ~TT6PedestalCalculator()
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
ApvAnalysis::PedestalType thePedestal
int eventsRequiredToUpdate
bool isCalibrating() const
std::vector< double > thePedSqSum
void updatePedestal(ApvAnalysis::RawSignalType &in)
collection_type::const_iterator const_iterator