#include <vector>
#include <ostream>
#include <string>
#include "FWCore/Utilities/interface/typedefs.h"
Go to the source code of this file.
Classes | |
class | LTCDigi |
Typedefs | |
typedef std::vector< LTCDigi > | LTCDigiCollection |
Functions | |
std::ostream & | operator<< (std::ostream &stream, const LTCDigi &myDigi) |
typedef std::vector<LTCDigi> LTCDigiCollection |
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().
{ stream << "----------------------------------------"<< std::endl; stream << "Dumping LTC digi. " << std::endl; stream << "Source ID: " << myDigi.sourceID() << std::endl; stream << "Run, event: " << myDigi.runNumber() << ", " << myDigi.eventNumber () << std::endl; stream << "N_Inhibit:" << myDigi.triggerInhibitNumber() << std::endl; stream << LTCDigi::utcTime(myDigi.bstGpsTime()) << std::endl; stream << LTCDigi::locTime(myDigi.bstGpsTime()) << std::endl; stream << "Partition: " << myDigi.daqPartition() << std::endl; stream << "Bunch #: " << myDigi.bunchNumber() << std::endl; stream << "Orbit #: " << myDigi.orbitNumber() << std::endl; // Trigger information stream << "Trigger Bits(0-5):" ; for (int i = 0; i < 6; ++i ) { if ( myDigi.HasTriggered(i) ) stream << "1"; else stream << "0"; stream << " "; } stream << std::endl; // stream << "Ram trigger: " << myDigi.ramTrigger() << std::endl; stream << "VME trigger: " << myDigi.vmeTrigger() << std::endl; stream << "++++++++++++++++++++++++++++++++++++++++"<< std::endl; stream << "Raw Data" << std::endl; stream << "Trigger Input status: 0x" << std::hex << myDigi.triggerInputStatus() << std::endl; stream << "GPS time: 0x" << std::hex << myDigi.bstGpsTime() << std::endl; stream << "----------------------------------------"<< std::endl; stream << std::dec << std::endl; return stream; }