40 local_time = buffer[0];
41 local_evcount = buffer[2];
43 UInt_t local_status = buffer[1];
46 UInt_t local_runnumber = buffer[1];
47 UInt_t local_runtype = buffer[2];
175 <<
"; Runtime since start (sec): "
178 QwMessage <<
"; Duration of Pause (sec): "
201 UInt_t qweak_end_time = 1338523199;
206 if(end_time)
return (time_t) end_time;
207 else return (time_t) qweak_end_time;
CODA control event data structure and management.
A logfile class, based on an identical class in the Hermes analyzer.
#define QwMessage
Predefined log drain for regular messages.
Bool_t fFoundControlEvents
std::vector< UInt_t > fGoEventCount
time_t GetStartUnixTime()
std::vector< UInt_t > fGoTime
std::vector< UInt_t > fPauseEventCount
UInt_t GetPauseTime(int index=0)
UInt_t GetGoTime(int index=0)
std::vector< UInt_t > fPauseTime
void ProcessPause(UInt_t local_time, UInt_t evt_count)
void ProcessGo(UInt_t local_time, UInt_t evt_count)
TString GetStartSQLTime()
UInt_t GetGoEventCount(int index=0)
void ProcessPrestart(UInt_t local_time, UInt_t local_runnumber, UInt_t local_runtype)
void ProcessSync(UInt_t local_time, UInt_t statuscode)
UInt_t fPrestartRunNumber
UInt_t GetPauseEventCount(int index=0)
void ResetControlParameters()
void ProcessEnd(UInt_t local_time, UInt_t evt_count)
void ProcessControlEvent(UInt_t evtype, UInt_t *buffer)
static std::ostream & endl(std::ostream &)
End of the line.