7 bits.nHeaderFrames = 42;
10 bits.firmRevCode = 0x7a76;
19 bits.l1aNumber = dmbHeader.
l1a24() & 0xFFF;
25 std::vector<CSCCLCTDigi>
result;
26 int halfstrip =
bits.clct0_key_low + (
bits.clct0_key_high << 7);
36 halfstrip =
bits.clct1_key_low + (
bits.clct1_key_high << 7);
52 std::vector<CSCCorrelatedLCTDigi>
result;
54 int strip =
bits.MPC_Muon0_halfstrip_clct_pattern;
58 bits.MPC_Muon0_quality_,
61 bits.MPC_Muon0_clct_pattern_,
66 bits.MPC_Muon0_SyncErr_,
67 bits.MPC_Muon0_cscid_low | (
bits.MPC_Muon0_cscid_bit4 << 3));
70 strip =
bits.MPC_Muon1_halfstrip_clct_pattern;
74 bits.MPC_Muon1_quality_,
77 bits.MPC_Muon1_clct_pattern_,
82 bits.MPC_Muon1_SyncErr_,
83 bits.MPC_Muon1_cscid_low | (
bits.MPC_Muon1_cscid_bit4 << 3));
89 throw cms::Exception(
"In CSC TMBHeaderFormat 2007, ALCTs belong in ALCT header");
93 throw cms::Exception(
"In CSC TMBHeaderFormat 2007, ALCTs belong in ALCT header");
105 bits.clct0_key_low = halfStrip & (0x7F);
107 bits.clct0_key_high = (halfStrip >> 7) & (0
x1);
122 bits.clct1_key_low = halfStrip & (0x7F);
124 bits.clct1_key_high = (halfStrip >> 7) & (0
x1);
139 bits.MPC_Muon0_halfstrip_clct_pattern = halfStrip;
156 bits.MPC_Muon1_halfstrip_clct_pattern = halfStrip;
166 os <<
"...............TMB Header.................." 168 os << std::hex <<
"BOC LINE " <<
bits.b0cline <<
" EOB " <<
bits.e0bline <<
"\n";
169 os <<
std::dec <<
"fifoMode = " <<
bits.fifoMode <<
", nTBins = " <<
bits.nTBins <<
"\n";
170 os <<
"boardID = " <<
bits.boardID <<
", cscID = " <<
bits.cscID <<
"\n";
171 os <<
"l1aNumber = " <<
bits.l1aNumber <<
", bxnCount = " <<
bits.bxnCount <<
"\n";
172 os <<
"trigSourceVect = " <<
bits.trigSourceVect
173 <<
", activeCFEBs = " << (
bits.activeCFEBs | (
bits.activeCFEBs_2 << 5))
174 <<
", readCFEBs = " << (
bits.readCFEBs | (
bits.readCFEBs_2 << 5)) <<
"\n";
175 os <<
"bxnPreTrigger = " <<
bits.bxnPreTrigger <<
"\n";
176 os <<
"tmbMatch = " <<
bits.tmbMatch <<
" alctOnly = " <<
bits.alctOnly <<
" clctOnly = " <<
bits.clctOnly <<
"\n";
177 os <<
" bits.clct0_shape = " <<
bits.clct0_shape <<
" clct0_quality = " <<
bits.clct0_quality <<
"\n";
179 os <<
"..................CLCT....................."
uint16_t getQuality() const
return quality of a pattern (number of layers hit!)
uint16_t getKeyStrip(const uint16_t n=2) const
uint16_t getFullBX() const
return 12-bit full BX.
bool isValid() const
check CLCT validity (1 - valid CLCT)
uint16_t getBX() const
return BX
uint16_t getPattern() const
return pattern