11 alreadyUsedEvent(
false)
13 if (0)
cout <<
"Constructing SimplePedestalCalculator " << endl;
35 if (0)
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
std::vector< int > thePedSqSum
SimplePedestalCalculator(int evnt_ini)
ApvAnalysis::PedestalType theRawNoise
virtual ~SimplePedestalCalculator()
int eventsRequiredToCalibrate
bool isCalibrating() const
std::vector< int > thePedSum
void refinePedestal(ApvAnalysis::RawSignalType &in)
volatile std::atomic< bool > shutdown_flag false
collection_type::const_iterator const_iterator
void updatePedestal(ApvAnalysis::RawSignalType &in)
void initializePedestal(ApvAnalysis::RawSignalType &in)
ApvAnalysis::PedestalType thePedestal