#include <vector>
#include <ostream>
#include <string>
#include "boost/cstdint.hpp"
Go to the source code of this file.
std::ostream& operator<< |
( |
std::ostream & |
stream, |
|
|
const LTCDigi & |
myDigi |
|
) |
| |
Definition at line 54 of file LTCDigi.cc.
References LTCDigi::bstGpsTime(), LTCDigi::bunchNumber(), LTCDigi::daqPartition(), LTCDigi::eventNumber(), LTCDigi::HasTriggered(), i, LTCDigi::locTime(), LTCDigi::orbitNumber(), LTCDigi::ramTrigger(), LTCDigi::runNumber(), LTCDigi::sourceID(), LTCDigi::triggerInhibitNumber(), LTCDigi::triggerInputStatus(), LTCDigi::utcTime(), and LTCDigi::vmeTrigger().
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;
static std::string locTime(uint64_t t)
unsigned int ramTrigger() const
uint32_t orbitNumber() const
unsigned int vmeTrigger() const
bool HasTriggered(int i) const
unsigned int bunchNumber() const
static std::string utcTime(uint64_t t)
uint32_t triggerInputStatus() const
uint64_t bstGpsTime() const
uint32_t triggerInhibitNumber() const
unsigned int runNumber() const
unsigned int eventNumber() const