#include <bitset>
#include <ostream>
#include <cstdint>
#include <vector>
#include "DataFormats/TCDS/interface/BSTRecord.h"
#include "DataFormats/TCDS/interface/L1aInfo.h"
Go to the source code of this file.
◆ operator<<()
std::ostream& operator<< |
( |
std::ostream & |
, |
|
|
const TCDSRecord & |
|
|
) |
| |
Pretty-print operator for TCDSRecord.
Definition at line 65 of file TCDSRecord.cc.
References tcds::bgoCount_v1, TauDecayModes::dec, mps_fire::i, AlCaHarvesting_cff::record, and alignCSCRings::s.
66 s <<
"MacAddress: 0x" << std::hex <<
record.getMacAddress() <<
std::dec << std::endl;
67 s <<
"SwVersion: 0x" << std::hex <<
record.getSwVersion() <<
std::dec << std::endl;
68 s <<
"FwVersion: 0x" << std::hex <<
record.getFwVersion() <<
std::dec << std::endl;
69 s <<
"RecordVersion: " <<
record.getRecordVersion() << std::endl;
70 s <<
"RunNumber: " <<
record.getRunNumber() << std::endl;
71 s <<
"BstReceptionStatus: 0x" << std::hex <<
record.getBstReceptionStatus() <<
std::dec << std::endl;
72 s <<
"Nibble: " <<
record.getNibble() << std::endl;
73 s <<
"LumiSection: " <<
record.getLumiSection() << std::endl;
74 s <<
"NibblesPerLumiSection: " <<
record.getNibblesPerLumiSection() << std::endl;
75 s <<
"EventType: " <<
record.getEventType() << std::endl;
76 s <<
"TriggerTypeFlags: 0x" << std::hex <<
record.getTriggerTypeFlags() <<
std::dec << std::endl;
77 s <<
"Inputs: " <<
record.getInputs() << std::endl;
78 s <<
"OrbitNr: " <<
record.getOrbitNr() << std::endl;
79 s <<
"BXID: " <<
record.getBXID() << std::endl;
80 s <<
"TriggerCount: " <<
record.getTriggerCount() << std::endl;
81 s <<
"EventNumber: " <<
record.getEventNumber() << std::endl;
82 s <<
"ActivePartitions: " <<
record.getActivePartitions() << std::endl;
85 s <<
"L1aHistory:" << std::endl;
86 for (
auto l1Info :
record.getFullL1aHistory())
90 s <<
record.getBST() << std::endl;
91 s <<
"LastOrbitCounter0: " <<
record.getLastOrbitCounter0() << std::endl;
92 s <<
"LastTestEnable: " <<
record.getLastTestEnable() << std::endl;
93 s <<
"LastResync: " <<
record.getLastResync() << std::endl;
94 s <<
"LastStart: " <<
record.getLastStart() << std::endl;
95 s <<
"LastEventCounter0: " <<
record.getLastEventCounter0() << std::endl;
96 s <<
"LastHardReset: " <<
record.getLastHardReset() << std::endl;
99 s <<
"Last BGo " << std::setw(2) <<
i <<
": " <<
record.getOrbitOfLastBgo(
i) << std::endl;
const uint8_t bgoCount_v1