7 bits.nHeaderFrames = 42;
18 bits.l1aNumber = dmbHeader.
l1a();
24 std::vector<CSCCLCTDigi>
result;
26 int cfeb = (
bits.clct0_cfeb_low) | (
bits.clct0_cfeb_high << 1);
28 int bend =
bits.clct0_bend;
31 bits.clct0_valid,
bits.clct0_quality, pattern, 1, bend, strip, cfeb,
bits.clct0_bxn, 1,
bits.bxnPreTrigger);
34 strip =
bits.clct1_key;
35 cfeb = (
bits.clct1_cfeb_low) | (
bits.clct1_cfeb_high << 1);
36 pattern =
bits.clct1_shape;
37 bend =
bits.clct1_bend;
40 bits.clct1_valid,
bits.clct1_quality, pattern, 1, bend, strip, cfeb,
bits.clct1_bxn, 2,
bits.bxnPreTrigger);
45 result.push_back(digi0);
46 result.push_back(digi1);
53 std::vector<CSCCorrelatedLCTDigi>
result;
55 int strip =
bits.MPC_Muon0_halfstrip_clct_pattern;
59 bits.MPC_Muon0_quality_,
62 bits.MPC_Muon0_clct_pattern_,
67 bits.MPC_Muon0_SyncErr_,
68 bits.MPC_Muon0_cscid_low | (
bits.MPC_Muon0_cscid_bit4 << 3));
69 result.push_back(digi);
71 strip =
bits.MPC_Muon1_halfstrip_clct_pattern;
75 bits.MPC_Muon1_quality_,
78 bits.MPC_Muon1_clct_pattern_,
83 bits.MPC_Muon1_SyncErr_,
84 bits.MPC_Muon1_cscid_low | (
bits.MPC_Muon1_cscid_bit4 << 3));
85 result.push_back(digi);
90 throw cms::Exception(
"In CSC TMBHeaderFormat 2007, ALCTs belong in ALCT header");
94 throw cms::Exception(
"In CSC TMBHeaderFormat 2007, ALCTs belong in ALCT header");
106 bits.clct0_bend = bend;
108 bits.clct0_cfeb_low = (cfeb & 0x1);
109 bits.clct0_cfeb_high = (cfeb >> 1);
124 bits.clct1_bend = bend;
126 bits.clct1_cfeb_low = (cfeb & 0x1);
127 bits.clct1_cfeb_high = (cfeb >> 1);
140 bits.MPC_Muon0_halfstrip_clct_pattern = halfStrip;
157 bits.MPC_Muon1_halfstrip_clct_pattern = halfStrip;
167 os <<
"...............TMB Header.................." 169 os << std::hex <<
"BOC LINE " <<
bits.b0cline <<
" EOB " <<
bits.e0bline <<
"\n";
170 os <<
std::dec <<
"fifoMode = " <<
bits.fifoMode <<
", nTBins = " <<
bits.nTBins <<
"\n";
173 os <<
"boardID = " <<
bits.boardID <<
", cscID = " <<
bits.cscID <<
"\n";
174 os <<
"l1aNumber = " <<
bits.l1aNumber <<
", bxnCount = " <<
bits.bxnCount <<
"\n";
176 os <<
"trigSourceVect = " <<
bits.trigSourceVect <<
", activeCFEBs = " <<
bits.activeCFEBs <<
"\n";
177 os <<
"bxnPreTrigger = " <<
bits.bxnPreTrigger <<
"\n";
178 os <<
"tmbMatch = " <<
bits.tmbMatch <<
" alctOnly = " <<
bits.alctOnly <<
" clctOnly = " <<
bits.clctOnly <<
"\n";
182 os <<
"clct0_key = " <<
bits.clct0_key <<
" bits.clct0_shape = " <<
bits.clct0_shape
183 <<
" clct0_quality = " <<
bits.clct0_quality <<
"\n";
186 os <<
"..................CLCT....................." int getQuality() const
return quality of a pattern (number of layers hit!)
int getStrip() const
return halfstrip that goes from 0 to 31
int getBend() const
return bend
int getCFEB() const
return Key CFEB ID
int getBX() const
return BX
bool isValid() const
check CLCT validity (1 - valid CLCT)
int getPattern() const
return pattern
int getFullBX() const
return 12-bit full BX.