11 alreadyUsedEvent(
false)
13 if (
false)
cout <<
"Constructing SimplePedestalCalculator " << endl;
35 if (
false)
cout <<
"Destructing SimplePedestalCalculator " << endl;
93 for (;i!=in.
data.end() ; i++) {
105 for (;i!=in.
data.end() ; i++) {
116 double rmsVal = (sqAvVal - avVal*avVal > 0.0)
117 ?
sqrt(corr_fac * (sqAvVal - avVal*avVal)) : 0.0;
137 for (; i < in.
data.end(); i++) {
149 for (
unsigned int iii = 0; iii < in.
data.size(); iii++) {
157 double rmsVal = (sqAvVal - avVal*avVal > 0.0)
158 ?
sqrt(sqAvVal - avVal*avVal) : 0.0;
std::vector< unsigned short > theEventPerStrip
void updatePedestal(ApvAnalysis::RawSignalType &in) override
std::vector< int > thePedSqSum
SimplePedestalCalculator(int evnt_ini)
void updateStatus() override
ApvAnalysis::PedestalType theRawNoise
int eventsRequiredToCalibrate
bool isCalibrating() const
std::vector< int > thePedSum
void refinePedestal(ApvAnalysis::RawSignalType &in)
collection_type::const_iterator const_iterator
void initializePedestal(ApvAnalysis::RawSignalType &in)
ApvAnalysis::PedestalType thePedestal
~SimplePedestalCalculator() override