Implements DataProcessorImp.
Definition at line 96 of file DataCalib.cc.
References Error(), fData, RUN_HEAD::NPix, RUN_HEAD::Nroi, RUN_HEAD::NroiTM, and DataWriteFits2::Open().
100 Error(
"Number of pixels in header for run "+to_string(
GetRunId())+
" not 1440.");
106 Warn(
"Previous DRS calibration run not yet finished (current run "+to_string(
GetRunId())+
")");
112 Warn(
"DRS Calibration already finished before current run "+to_string(
GetRunId())+
"... please restart!");
119 msg <<
"Region of interest of run " <<
GetRunId() <<
" not 1024, but " << h.
Nroi <<
" in step " <<
fData.
fStep <<
" ... as it ought to be.";
124 vector<uint16_t> dac(8);
uint32_t GetRunId() const
bool Open(const RUN_HEAD &h, const FAD::RunDescription &d)
void InitSize(uint16_t channels, uint16_t samples)
int Error(const std::string &str)
static DrsCalibration fData
int Warn(const std::string &str)
static bool fProcessing
Storage for mean and rms values.