20 runNumberSequenceId_(
""),
43 uint32_t flags_daq_ttype,
66 uint32_t triggerTime_usec,
67 uint32_t triggerTime_base,
70 const char *runNumberSequenceId ) {
89 sprintf(str,
" Trigger word = %08x\n", htbtd.
triggerWord());
96 trigtimebase += trigtimeusec/1000000;
97 trigtimeusec %= 1000000;
99 sprintf(str,
" Trigger time: %s", ctime((time_t *)&trigtimebase));
101 sprintf(str,
" %d us\n", trigtimeusec);
static const char runNumber_[]
static const uint32_t bit_LaserTrigger
uint32_t triggerWord() const
Returns the entire packed trigger word.
std::string runNumberSequenceId_
void setExtendedData(uint32_t triggerWord, uint32_t triggerTime_usec, uint32_t triggerTime_base, uint32_t spillNumber, uint32_t runNumber, const char *runNumberSequenceId)
std::ostream & operator<<(std::ostream &out, const ALILine &li)
const std::string & runNumberSequenceId() const
static const uint32_t bit_LEDTrigger
void setStandardData(uint32_t orbitNumber, uint32_t eventNumber, uint16_t bunchNumber, uint32_t flags_daq_ttype, uint32_t algo_bits_3, uint32_t algo_bits_2, uint32_t algo_bits_1, uint32_t algo_bits_0, uint32_t tech_bits, uint32_t gps_1234, uint32_t gps_5678)
static const uint32_t bit_InSpill
static const uint32_t bit_InSpillPedestalTrigger
uint32_t spillNumber() const
Returns the spill number of this trigger.
uint32_t algoBits3_
<extended type="31:28,extended" size="27:24,zeros=23:7,daq#=6:4,type=3:0">
uint32_t orbitNumber() const
Returns the orbit number of this trigger.
uint32_t triggerTimeBase_
uint32_t triggerTimeUsec() const
Returns the relative time of this trigger in microseconds.
uint16_t eventNumber() const
Returns the event number of this trigger.
static const uint32_t bit_FakeTrigger
uint16_t bunchNumber() const
Returns the bunch number of this trigger.
uint32_t triggerTimeBase() const
Returns the base time of the run (in seconds, from a time() call)
static const uint32_t bit_spillIgnorantPedestalTrigger
uint32_t triggerTimeUsec_
static const uint32_t bit_BeamTrigger
static const uint32_t bit_OutSpillPedestalTrigger
uint32_t runNumber() const
Returns the current run number.