9 eventID_ = (ld[0] >> 32) & 0x00FFFFFFULL;
46 stream <<
"----------------------------------------" << std::endl;
47 stream <<
"Dumping LTC digi. " << std::endl;
48 stream <<
"Source ID: " << myDigi.
sourceID() << std::endl;
54 stream <<
"Partition: " << myDigi.
daqPartition() << std::endl;
55 stream <<
"Bunch #: " << myDigi.
bunchNumber() << std::endl;
56 stream <<
"Orbit #: " << myDigi.
orbitNumber() << std::endl;
59 stream <<
"Trigger Bits(0-5):";
60 for (
int i = 0;
i < 6; ++
i) {
70 stream <<
"Ram trigger: " << myDigi.
ramTrigger() << std::endl;
71 stream <<
"VME trigger: " << myDigi.
vmeTrigger() << std::endl;
73 stream <<
"++++++++++++++++++++++++++++++++++++++++" << std::endl;
75 stream <<
"Raw Data" << std::endl;
76 stream <<
"Trigger Input status: 0x" << std::hex << myDigi.
triggerInputStatus() << std::endl;
77 stream <<
"GPS time: 0x" << std::hex << myDigi.
bstGpsTime() << std::endl;
79 stream <<
"----------------------------------------" << std::endl;
88 time_t tsmall = t / 1000000;
89 tm *utct = gmtime(&tsmall);
91 tstr += asctime(utct);
92 tstr.replace(tstr.find(
"\n"), tstr.size(),
"");
98 time_t tsmall = t / 1000000;
101 a.replace(a.find(
"\n"), a.size(),
"");
unsigned int ramTrigger() const
cms_uint64_t bstGpsTime() const
unsigned int bunchNumber_
cms_uint32_t eventNumber_
std::ostream & operator<<(std::ostream &stream, const LTCDigi &myDigi)
unsigned int vmeTrigger() const
bool HasTriggered(int i) const
unsigned int bunchNumber() const
cms_uint32_t trigInputStat_
cms_uint32_t triggerInputStatus() const
unsigned int cms_uint32_t
static cms_uint32_t GetRunNumberFromBuffer(const unsigned char *databuffer)
char data[epos_bytes_allocation]
cms_uint32_t trigInhibitNumber_
cms_uint32_t orbitNumber() const
cms_uint32_t triggerInhibitNumber() const
unsigned long long cms_uint64_t
unsigned int runNumber() const
unsigned int eventNumber() const
static cms_uint32_t GetEventNumberFromBuffer(const unsigned char *databuffer)
cms_uint32_t orbitNumber_
static std::string locTime(cms_uint64_t t)
static std::string utcTime(cms_uint64_t t)