558 const uint32_t night = evt.
runCtrl->night;
585 FAD::RunDescription desc;
586 desc.maxevt = evt.
runCtrl->maxEvt;
588 desc.name = evt.
runCtrl->runType;
590 if (!file->Open(evt, desc))
593 catch (
const exception &e)
595 fMsg.
Error(
"Exception trying to open file: "+
string(e.what()));
602 fFile = shared_ptr<DataProcessorImp>(file);
618 str <<
"Opened: " << file->GetFileName() <<
" (" << file->GetRunId() <<
")";
static const DrsCalibration & GetCalibration()
Queue< tuple< Time, char, array< uint32_t, 8 > > > fQueueTrigger
Adds some functionality to boost::posix_time::ptime for our needs.
void UpdateRuns(const string &fname="")
Queue< pair< Time, array< uint32_t, 4 > > > fQueueEvents
FAD::FileFormat_t fFileFormat
DimDescribedService fDimDrsRuns
int Error(const std::string &str)
Warning because the service this data corrsponds to might have been last updated longer ago than Local time
std::shared_ptr< RUN_CTRL2 > runCtrl
shared_ptr< DataProcessorImp > fFile
DimDescribedService fDimDrsCalibration
array< uint32_t, 4 > fNumEvts
int Info(const std::string &str)
void runClose(const EVT_CTRL2 &evt)
std::array< uint32_t, 8 > triggerCounter