Definition at line 57 of file HcalTBTriggerDataUnpacker.cc.
References StandardTrgMsgBlkStruct::algo_bits_0, StandardTrgMsgBlkStruct::algo_bits_1, StandardTrgMsgBlkStruct::algo_bits_2, StandardTrgMsgBlkStruct::algo_bits_3, oldTriggerDataFormat::bunchNumber, MessageLogger_cfi::cerr, FEDRawData::data(), StandardTrgMsgBlkStruct::eventNumber, StandardTrgMsgBlkStruct::flags_daq_ttype, StandardTrgMsgBlkStruct::gps_1234, StandardTrgMsgBlkStruct::gps_5678, oldTriggerDataFormat::orbitNumber, StandardTrgMsgBlkStruct::orbitNumber, oldTriggerDataFormat::runNumber, newExtendedTrgMsgBlkStruct::runNumber, oldTriggerDataFormat::runNumberSequenceId, newExtendedTrgMsgBlkStruct::runNumberSequenceId, HcalTBTriggerData::setExtendedData(), HcalTBTriggerData::setStandardData(), FEDRawData::size(), oldTriggerDataFormat::spillNumber, newExtendedTrgMsgBlkStruct::spillNumber, newExtendedTrgMsgBlkStruct::stdBlock, StandardTrgMsgBlkStruct::tech_bits, oldTriggerDataFormat::triggerNumber, oldTriggerDataFormat::triggerTime_base, newExtendedTrgMsgBlkStruct::triggerTime_base, oldTriggerDataFormat::triggerTime_usec, newExtendedTrgMsgBlkStruct::triggerTime_usec, oldTriggerDataFormat::triggerWord, and newExtendedTrgMsgBlkStruct::triggerWord.
Referenced by HcalTBTriggerDataUnpacker(), and HcalTBObjectUnpacker::produce().
61 if (raw.
size() == 80) {
88 else if (raw.
size() == 104)
92 cerr <<
"HcalTBtdUnpacker.unpack: data of unknown size ";
99 const uint32_t *cdflow = (
const uint32_t *)raw.
data();
100 int bunch_id = (*cdflow)>>20;
uint32_t triggerTime_base
StandardTrgMsgBlk stdBlock
void setExtendedData(uint32_t triggerWord, uint32_t triggerTime_usec, uint32_t triggerTime_base, uint32_t spillNumber, uint32_t runNumber, const char *runNumberSequenceId)
size_t size() const
Lenght of the data buffer in bytes.
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)
uint32_t triggerTime_usec
char runNumberSequenceId[16]
const unsigned char * data() const
Return a const pointer to the beginning of the data buffer.