12 eventID_ = (ld[0]>>32)&0x00FFFFFFULL;
56 stream <<
"----------------------------------------"<< std::endl;
57 stream <<
"Dumping LTC digi. " << std::endl;
58 stream <<
"Source ID: " << myDigi.
sourceID() << std::endl;
59 stream <<
"Run, event: " << myDigi.
runNumber()
65 stream <<
"Partition: " << myDigi.
daqPartition() << std::endl;
66 stream <<
"Bunch #: " << myDigi.
bunchNumber() << std::endl;
67 stream <<
"Orbit #: " << myDigi.
orbitNumber() << std::endl;
70 stream <<
"Trigger Bits(0-5):" ;
71 for (
int i = 0;
i < 6; ++
i ) {
81 stream <<
"Ram trigger: " << myDigi.
ramTrigger() << std::endl;
82 stream <<
"VME trigger: " << myDigi.
vmeTrigger() << std::endl;
84 stream <<
"++++++++++++++++++++++++++++++++++++++++"<< std::endl;
86 stream <<
"Raw Data" << std::endl;
87 stream <<
"Trigger Input status: 0x"
89 stream <<
"GPS time: 0x"
90 << std::hex << myDigi.
bstGpsTime() << std::endl;
92 stream <<
"----------------------------------------"<< std::endl;
93 stream << std::dec << std::endl;
102 time_t tsmall = t/1000000;
103 tm *utct = gmtime(&tsmall);
104 std::string tstr(
"UTC: ");
105 tstr += asctime(utct);
106 tstr.replace(tstr.find(
"\n"),tstr.size(),
"");
112 time_t tsmall = t/1000000;
113 std::string
a(
"LOC: ");
114 a+= std::string(ctime(&tsmall));
115 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)