292 for (
int i=0;
i<1024*1440;
i++)
310 for (
int i=0;
i<1024*1440;
i++)
346 str <<
"Wrote DRS calibration data (run=" <<
GetRunId() <<
", step=" <<
fData.
fStep <<
", roi=" <<
fData.
fRoi <<
") to '" << filename <<
"'";
349 catch (
const exception &e)
351 Error(
"Exception writing run "+to_string(
GetRunId())+
" '"+filename+
"': "+e.what());
std::vector< int32_t > fOffset
static std::vector< float > fStats
std::vector< int64_t > fSum
std::string WriteFitsImp(const std::string &filename, const std::vector< float > &vec, uint32_t night=0) const
std::pair< std::vector< double >, std::vector< double > > GetSampleStats() const
uint32_t GetRunId() const
std::vector< int64_t > fGain
int Error(const std::string &str)
static DrsCalibration fData
std::string fDateRunBeg[3]
std::string fDateRunEnd[3]
int Warn(const std::string &str)
DimDescribedService & fDim
uint32_t GetNight() const
int Info(const std::string &str)
std::vector< int64_t > fTrgOff
static bool fProcessing
Storage for mean and rms values.
DimDescribedService & fDimRuns
bool Close(const EVT_CTRL2 &)
static void Update(DimDescribedService &dim, DimDescribedService &runs)
static std::string FormFileName(const std::string &path, uint64_t night, uint32_t runid, const std::string &extension)