11 eventID_ = (ld[0]>>32)&0x00FFFFFFULL;
55 stream <<
"----------------------------------------"<< std::endl;
56 stream <<
"Dumping LTC digi. " << std::endl;
57 stream <<
"Source ID: " << myDigi.
sourceID() << std::endl;
58 stream <<
"Run, event: " << myDigi.
runNumber()
64 stream <<
"Partition: " << myDigi.
daqPartition() << std::endl;
65 stream <<
"Bunch #: " << myDigi.
bunchNumber() << std::endl;
66 stream <<
"Orbit #: " << myDigi.
orbitNumber() << std::endl;
69 stream <<
"Trigger Bits(0-5):" ;
70 for (
int i = 0;
i < 6; ++
i ) {
80 stream <<
"Ram trigger: " << myDigi.
ramTrigger() << std::endl;
81 stream <<
"VME trigger: " << myDigi.
vmeTrigger() << std::endl;
83 stream <<
"++++++++++++++++++++++++++++++++++++++++"<< std::endl;
85 stream <<
"Raw Data" << std::endl;
86 stream <<
"Trigger Input status: 0x"
88 stream <<
"GPS time: 0x"
89 << std::hex << myDigi.
bstGpsTime() << std::endl;
91 stream <<
"----------------------------------------"<< std::endl;
92 stream << std::dec << std::endl;
101 time_t tsmall = t/1000000;
102 tm *utct = gmtime(&tsmall);
104 tstr += asctime(utct);
105 tstr.replace(tstr.find(
"\n"),tstr.size(),
"");
111 time_t tsmall = t/1000000;
114 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 &out, const ALILine &li)
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)