Go to the documentation of this file. 1 #ifndef HCALTBTRIGGERDATA_H
2 #define HCALTBTRIGGERDATA_H 1
54 uint32_t flags_daq_ttype,
64 uint32_t triggerTime_usec,
65 uint32_t triggerTime_base,
static const uint32_t bit_LaserTrigger
bool wasLEDTrigger() const
returns true if this was a LED trigger
uint32_t spillNumber() const
Returns the spill number of this trigger.
uint32_t algoBits0() const
uint16_t eventNumber() const
Returns the event number of this trigger.
void setExtendedData(uint32_t triggerWord, uint32_t triggerTime_usec, uint32_t triggerTime_base, uint32_t spillNumber, uint32_t runNumber, const char *runNumberSequenceId)
static const uint32_t bit_LEDTrigger
uint32_t runNumber() const
Returns the current run number.
static const uint32_t bit_InSpill
bool wasSpillIgnorantPedestalTrigger() const
returns true if this trigger was a calibration trigger
static const uint32_t bit_InSpillPedestalTrigger
std::string runNumberSequenceId_
uint32_t triggerTimeUsec() const
Returns the relative time of this trigger in microseconds.
uint16_t bunchNumber() const
Returns the bunch number of this trigger.
uint32_t algoBits3_
<extended type="31:28,extended" size="27:24,zeros=23:7,daq#=6:4,type=3:0">
bool wasInSpillPedestalTrigger() const
returns true if this was an in-spill pedestal trigger
uint32_t flagsDaqTtype() const
bool wasInSpill() const
returns true if the "spill" bit was set
uint32_t triggerTimeBase_
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)
bool wasFakeTrigger() const
returns true if this trigger was fake (from a non-H2 manager)
const std::string & runNumberSequenceId() const
uint32_t algoBits1() const
uint32_t algoBits2() const
uint32_t triggerTimeBase() const
Returns the base time of the run (in seconds, from a time() call)
uint32_t triggerTimeUsec_
bool wasOutSpillPedestalTrigger() const
returns true if this was an out-of-spill pedestal trigger
static const uint32_t bit_BeamTrigger
bool wasLaserTrigger() const
returns true if this was a laser trigger
static const uint32_t bit_spillIgnorantPedestalTrigger
uint32_t orbitNumber() const
Returns the orbit number of this trigger.
static const uint32_t bit_FakeTrigger
uint32_t triggerWord() const
Returns the entire packed trigger word.
std::ostream & operator<<(std::ostream &s, const HcalTBTriggerData &htbtd)
bool wasBeamTrigger() const
returns true if this trigger came from beam data
uint32_t techBits() const
static const uint32_t bit_OutSpillPedestalTrigger
uint32_t algoBits3() const