1 #include "GainVoltCoeffCalculator.h"
10 #include "GainVoltPmtParameters.h"
14 GainVoltCoeffCalculator::GainVoltCoeffCalculator()
18 : _pmts(calculator._pmts)
21 GainVoltCoeffCalculator::~GainVoltCoeffCalculator()
26 _pmts = calculator._pmts;
30 void GainVoltCoeffCalculator::setIoMode(
int mode)
32 GainVoltPmtParameters::ioMode = mode;
35 vector<GainVoltPmtParameters*>::iterator GainVoltCoeffCalculator::begin()
40 vector<GainVoltPmtParameters*>::iterator GainVoltCoeffCalculator::end()
45 vector<GainVoltPmtParameters*>::const_iterator GainVoltCoeffCalculator::begin()
const
50 vector<GainVoltPmtParameters*>::const_iterator GainVoltCoeffCalculator::end()
const
56 void GainVoltCoeffCalculator::process()
64 for (i=_pmts.begin();i!=_pmts.end();i++)
70 catch (runtime_error & err)
72 cout <<
"GainVoltCoeffCalculator::process() - RunTimeError -"<< err.what() << endl;
83 cout <<
"GainVoltCoeffCalculator::operator>>() - FATAL - nPmt<=0";
93 object._pmts.push_back(pmt);
101 vector<GainVoltPmtParameters*>::iterator i;
102 for (i=
object._pmts.begin();i!=
object._pmts.end();i++)