CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Public Attributes
CSCTMBHeader2020_CCLUT Struct Reference

#include <CSCTMBHeader2020_CCLUT.h>

Inheritance diagram for CSCTMBHeader2020_CCLUT:
CSCVTMBHeaderFormat

Public Types

enum  { NWORDS = 43 }
 

Public Member Functions

void addALCT0 (const CSCALCTDigi &digi) override
 
void addALCT1 (const CSCALCTDigi &digi) override
 
void addAnodeShower (const CSCShowerDigi &digi) override
 
void addCathodeShower (const CSCShowerDigi &digi) override
 
void addCLCT0 (const CSCCLCTDigi &digi) override
 for data packing More...
 
void addCLCT1 (const CSCCLCTDigi &digi) override
 
void addCorrelatedLCT0 (const CSCCorrelatedLCTDigi &digi) override
 
void addCorrelatedLCT1 (const CSCCorrelatedLCTDigi &digi) override
 
void addShower (const CSCShowerDigi &digi) override
 
uint16_t alctHMT () const override
 
uint16_t ALCTMatchTime () const override
 
uint16_t ALCTOnly () const override
 
CSCShowerDigi anodeShowerDigi (uint32_t idlayer) const override
 returns anode HMT Shower digi More...
 
uint16_t Bxn0Diff () const override
 
uint16_t Bxn1Diff () const override
 
uint16_t BXNCount () const override
 
CSCShowerDigi cathodeShowerDigi (uint32_t idlayer) const override
 returns cathode HMT Shower digi More...
 
bool check () const override
 
uint16_t clct0_ComparatorCode () const override
 == Run 3 CSC-GEM Trigger Format More...
 
uint16_t clct0_xky () const override
 
uint16_t clct1_ComparatorCode () const override
 
uint16_t clct1_xky () const override
 
std::vector< CSCCLCTDigiCLCTDigis (uint32_t idlayer) override
 returns CLCT digis More...
 
uint16_t clctHMT () const override
 
uint16_t CLCTOnly () const override
 
std::vector< CSCCorrelatedLCTDigiCorrelatedLCTDigis (uint32_t idlayer) const override
 returns CorrelatedLCT digis More...
 
 CSCTMBHeader2020_CCLUT ()
 
 CSCTMBHeader2020_CCLUT (const unsigned short *buf)
 
unsigned short * data () override
 returns the first data word More...
 
uint16_t firmwareRevision () const override
 
uint16_t gem_enabled_fibers () const override
 
uint16_t gem_fifo_pretrig () const override
 
uint16_t gem_fifo_tbins () const override
 
uint16_t gem_sync_dataword () const override
 
uint16_t gem_timing_dataword () const override
 
uint16_t gem_zero_suppress () const override
 
uint16_t hmt_ALCTMatchTime () const override
 
uint16_t hmt_nhits () const override
 
uint16_t L1ANumber () const override
 
uint16_t NCFEBs () const override
 
unsigned short int NHeaderFrames () const override
 
uint16_t NTBins () const override
 
void print (std::ostream &os) const override
 
uint16_t run3_CLCT_patternID () const override
 
void setEventInformation (const CSCDMBHeader &dmbHeader) override
 
void setNCFEBs (uint16_t ncfebs) override
 
CSCShowerDigi showerDigi (uint32_t idlayer) const override
 returns lct HMT Shower digi More...
 
unsigned short int sizeInWords () const override
 
void swapCLCTs (CSCCLCTDigi &digi1, CSCCLCTDigi &digi2)
 
uint16_t syncError () const override
 
uint16_t syncErrorCLCT () const override
 
uint16_t syncErrorMPC0 () const override
 
uint16_t syncErrorMPC1 () const override
 
uint16_t TMBMatch () const override
 
- Public Member Functions inherited from CSCVTMBHeaderFormat
uint16_t sizeInBytes () const
 
virtual ~CSCVTMBHeaderFormat ()
 

Public Attributes

struct {
   unsigned   activeCFEBs: 5
 
   unsigned   activeCFEBs_2: 2
 
   unsigned   aff_source: 1
 
   unsigned   alct0Amu: 1
 
   unsigned   alct0Key: 7
 
   unsigned   alct0Quality: 2
 
   unsigned   alct0Valid: 1
 
   unsigned   alct1Amu: 1
 
   unsigned   alct1Key: 7
 
   unsigned   alct1Quality: 2
 
   unsigned   alct1Valid: 1
 
   unsigned   alct_delay: 4
 
   unsigned   alct_ecc_err: 2
 
   unsigned   alctCfg: 1
 
   unsigned   alctCounterHigh: 15
 
   unsigned   alctCounterLow: 15
 
   unsigned   alctOnly: 1
 
   unsigned   anode_hmt: 2
 
   unsigned   b0cline: 16
 
   unsigned   bcb_read_enable: 1
 
   unsigned   bd_status: 15
 
   unsigned   boardID: 5
 
   unsigned   buf_fence_cnt: 12
 
   unsigned   buf_fence_cnt_is_peak: 1
 
   unsigned   buf_q_adr_err: 1
 
   unsigned   buf_q_empty: 1
 
   unsigned   buf_q_full: 1
 
   unsigned   buf_q_ovf_err: 1
 
   unsigned   buf_q_udf_err: 1
 
   unsigned   buf_stalled: 1
 
   unsigned   bufFull: 1
 
   unsigned   bx0_match: 1
 
   unsigned   bxnCount: 12
 
   unsigned   bxnPreTrigger: 12
 
   unsigned   cathode_hmt: 2
 
   unsigned   cfeb_badbits_blocked: 1
 
   unsigned   cfeb_badbits_found: 5
 
   unsigned   cfeb_badbits_found_2: 2
 
   unsigned   CFEBsEnabled: 5
 
   unsigned   CFEBsEnabled_2: 2
 
   unsigned   clct0_comparator_code: 12
 
   unsigned   clct0_key_high: 1
 
   unsigned   clct0_key_low: 7
 
   unsigned   clct0_LR_bend: 1
 
   unsigned   clct0_quality: 3
 
   unsigned   clct0_shape: 4
 
   unsigned   clct0_slope: 4
 
   unsigned   clct0_valid: 1
 
   unsigned   clct0_xky: 2
 
   unsigned   clct0Invalid: 1
 
   unsigned   clct1_comparator_code: 12
 
   unsigned   clct1_key_high: 1
 
   unsigned   clct1_key_low: 7
 
   unsigned   clct1_LR_bend: 1
 
   unsigned   clct1_quality: 3
 
   unsigned   clct1_shape: 4
 
   unsigned   clct1_slope: 4
 
   unsigned   clct1_valid: 1
 
   unsigned   clct1_xky: 2
 
   unsigned   clct1Busy: 1
 
   unsigned   clct1Invalid: 1
 
   unsigned   clct_bxn: 2
 
   unsigned   clct_sync_err: 1
 
   unsigned   clct_width: 4
 
   unsigned   clctCounterHigh: 15
 
   unsigned   clctCounterLow: 15
 
   unsigned   clctOnly: 1
 
   unsigned   clock_lock_lost: 1
 
   unsigned   cscID: 4
 
   unsigned   dduCode1: 3
 
   unsigned   dduCode2: 3
 
   unsigned   dduCode3: 3
 
   unsigned   dmbThresh: 3
 
   unsigned   drift_delay: 2
 
   unsigned   dupeALCT: 1
 
   unsigned   dupeCLCT: 1
 
   unsigned   e0bline: 16
 
   unsigned   fifo_pretrig_rpc: 5
 
   unsigned   fifo_tbins_rpc: 5
 
   unsigned   fifoMode: 3
 
   unsigned   fifoPretrig: 5
 
   unsigned   firmRevCode: 15
 
   unsigned   flag1: 1
 
   unsigned   flag10: 1
 
   unsigned   flag11: 1
 
   unsigned   flag12: 1
 
   unsigned   flag13: 1
 
   unsigned   flag14: 1
 
   unsigned   flag15: 1
 
   unsigned   flag16: 1
 
   unsigned   flag17: 1
 
   unsigned   flag18: 1
 
   unsigned   flag19: 1
 
   unsigned   flag2: 1
 
   unsigned   flag20: 1
 
   unsigned   flag21: 1
 
   unsigned   flag22: 1
 
   unsigned   flag23: 1
 
   unsigned   flag24: 1
 
   unsigned   flag25: 1
 
   unsigned   flag26: 1
 
   unsigned   flag27: 1
 
   unsigned   flag28: 1
 
   unsigned   flag29: 1
 
   unsigned   flag3: 1
 
   unsigned   flag30: 1
 
   unsigned   flag31: 1
 
   unsigned   flag32: 1
 
   unsigned   flag33: 1
 
   unsigned   flag34: 1
 
   unsigned   flag35: 1
 
   unsigned   flag36: 1
 
   unsigned   flag37: 1
 
   unsigned   flag38: 1
 
   unsigned   flag39: 1
 
   unsigned   flag4: 1
 
   unsigned   flag40: 1
 
   unsigned   flag41: 1
 
   unsigned   flag5: 1
 
   unsigned   flag6: 1
 
   unsigned   flag7: 1
 
   unsigned   flag8: 1
 
   unsigned   flag9: 1
 
   unsigned   gem_enable: 1
 
   unsigned   hasBuf: 1
 
   unsigned   hitThresh: 3
 
   unsigned   hmt_match_win: 4
 
   unsigned   hmt_nhits_bit0: 1
 
   unsigned   hmt_nhits_bit1: 1
 
   unsigned   hmt_nhits_bits_high: 5
 
   unsigned   hs_layer_trig: 1
 
   unsigned   l1aNumber: 12
 
   unsigned   l1atype: 2
 
   unsigned   lctRankErr: 1
 
   unsigned   matchWin: 4
 
   unsigned   MPC_Muon0_alct_key_wire: 7
 
   unsigned   MPC_Muon0_clct_bend_bit4: 1
 
   unsigned   MPC_Muon0_clct_bend_low: 3
 
   unsigned   MPC_Muon0_clct_bx0: 1
 
   unsigned   MPC_Muon0_clct_EighthStrip: 1
 
   unsigned   MPC_Muon0_clct_key_halfstrip: 8
 
   unsigned   MPC_Muon0_clct_LR: 1
 
   unsigned   MPC_Muon0_clct_QuarterStrip: 1
 
   unsigned   MPC_Muon0_lct_quality: 3
 
   unsigned   MPC_Muon0_lct_vpf: 1
 
   unsigned   MPC_Muon1_alct_key_wire: 7
 
   unsigned   MPC_Muon1_clct_bend_bit4: 1
 
   unsigned   MPC_Muon1_clct_bend_low: 3
 
   unsigned   MPC_Muon1_clct_bx0: 1
 
   unsigned   MPC_Muon1_clct_EighthStrip: 1
 
   unsigned   MPC_Muon1_clct_key_halfstrip: 8
 
   unsigned   MPC_Muon1_clct_LR: 1
 
   unsigned   MPC_Muon1_clct_QuarterStrip: 1
 
   unsigned   MPC_Muon1_lct_quality: 3
 
   unsigned   MPC_Muon1_lct_vpf: 1
 
   unsigned   MPC_Muon_alct_bxn: 1
 
   unsigned   MPC_Muon_clct_pattern_bit5: 1
 
   unsigned   MPC_Muon_clct_pattern_low: 4
 
   unsigned   MPC_Muon_HMT_bit0: 1
 
   unsigned   MPC_Muon_HMT_high: 3
 
   unsigned   MPCAccept: 2
 
   unsigned   MPCDelay: 4
 
   unsigned   mxcfeb: 1
 
   unsigned   nCFEBs: 3
 
   unsigned   nHeaderFrames: 6
 
   unsigned   noALCT: 1
 
   unsigned   nphThresh: 3
 
   unsigned   NRPCs: 2
 
   unsigned   nTBins: 5
 
   unsigned   oneALCT: 1
 
   unsigned   oneCLCT: 1
 
   unsigned   parity_err_cfeb_ram: 5
 
   unsigned   parity_err_cfeb_ram_2: 2
 
   unsigned   parity_err_rpc: 1
 
   unsigned   parity_err_summary: 1
 
   unsigned   pid_thresh_postdrift: 4
 
   unsigned   pidThresh: 4
 
   unsigned   pop_l1a_match_win: 4
 
   unsigned   preTrigCounter: 15
 
   unsigned   r_buf_fence_dist: 11
 
   unsigned   r_type: 2
 
   unsigned   r_wr_buf_adr: 11
 
   unsigned   r_wr_buf_ready: 1
 
   unsigned   readCFEBs: 5
 
   unsigned   readCFEBs_2: 2
 
   unsigned   readoutCounter: 12
 
   unsigned   reverse_hs_csc: 1
 
   unsigned   reverse_hs_me1a: 1
 
   unsigned   reverse_hs_me1b: 1
 
   unsigned   RPCEnable: 1
 
   unsigned   RPCList: 2
 
   unsigned   run3_trig_df: 1
 
   unsigned   runID: 4
 
   unsigned   scopeExists: 1
 
   unsigned   stackOvf: 1
 
   unsigned   staggerCSC: 1
 
   unsigned   syncError: 1
 
   unsigned   tmb_alct_only_ro: 1
 
   unsigned   tmb_clct0_discard: 1
 
   unsigned   tmb_clct1_discard: 1
 
   unsigned   tmb_clct_only_ro: 1
 
   unsigned   tmb_match_ro: 1
 
   unsigned   tmb_non_trig_keep: 1
 
   unsigned   tmb_trig_keep: 1
 
   unsigned   tmb_trig_pulse: 1
 
   unsigned   tmbMatch: 1
 
   unsigned   triadPersist: 4
 
   unsigned   trig_source_vec: 2
 
   unsigned   trigCounter: 15
 
   unsigned   trigSourceVect: 9
 
   unsigned   twoALCT: 1
 
   unsigned   twoCLCT: 1
 
   unsigned   uptimeCounterHigh: 15
 
   unsigned   uptimeCounterLow: 15
 
   unsigned   vmeExists: 1
 
   unsigned   wr_buf_ready: 1
 
bits
 

Additional Inherited Members

- Protected Member Functions inherited from CSCVTMBHeaderFormat
void swapCLCTs (CSCCLCTDigi &digi1, CSCCLCTDigi &digi2)
 

Detailed Description

Definition at line 6 of file CSCTMBHeader2020_CCLUT.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
NWORDS 

Definition at line 7 of file CSCTMBHeader2020_CCLUT.h.

Constructor & Destructor Documentation

◆ CSCTMBHeader2020_CCLUT() [1/2]

CSCTMBHeader2020_CCLUT::CSCTMBHeader2020_CCLUT ( )

Definition at line 14 of file CSCTMBHeader2020_CCLUT.cc.

References bits, data(), and sizeInWords().

14  {
15  bzero(data(), sizeInWords() * 2);
16  bits.nHeaderFrames = 42;
17  bits.e0bline = 0x6E0B;
18  bits.b0cline = 0xDB0C;
19  bits.firmRevCode = 0x401;
20  bits.nTBins = 12;
21  bits.nCFEBs = 7;
22 }
unsigned short int sizeInWords() const override
struct CSCTMBHeader2020_CCLUT::@496 bits
unsigned short * data() override
returns the first data word

◆ CSCTMBHeader2020_CCLUT() [2/2]

CSCTMBHeader2020_CCLUT::CSCTMBHeader2020_CCLUT ( const unsigned short *  buf)

Definition at line 24 of file CSCTMBHeader2020_CCLUT.cc.

References visDQMUpload::buf, data(), and sizeInWords().

24 { memcpy(data(), buf, sizeInWords() * 2); }
unsigned short int sizeInWords() const override
unsigned short * data() override
returns the first data word

Member Function Documentation

◆ addALCT0()

void CSCTMBHeader2020_CCLUT::addALCT0 ( const CSCALCTDigi digi)
overridevirtual

Implements CSCVTMBHeaderFormat.

Definition at line 181 of file CSCTMBHeader2020_CCLUT.cc.

References Exception.

181  {
182  throw cms::Exception("In CSC TMBHeaderFormat 2007, ALCTs belong in ALCT header");
183 }

◆ addALCT1()

void CSCTMBHeader2020_CCLUT::addALCT1 ( const CSCALCTDigi digi)
overridevirtual

Implements CSCVTMBHeaderFormat.

Definition at line 185 of file CSCTMBHeader2020_CCLUT.cc.

References Exception.

185  {
186  throw cms::Exception("In CSC TMBHeaderFormat 2007, ALCTs belong in ALCT header");
187 }

◆ addAnodeShower()

void CSCTMBHeader2020_CCLUT::addAnodeShower ( const CSCShowerDigi digi)
overridevirtual

Implements CSCVTMBHeaderFormat.

Definition at line 279 of file CSCTMBHeader2020_CCLUT.cc.

References bits, and CSCShowerDigi::bitsInTime().

279  {
280  uint16_t hmt_bits = digi.bitsInTime() & 0x3;
281  bits.anode_hmt = hmt_bits;
282 }
uint16_t bitsInTime() const
Definition: CSCShowerDigi.h:32
struct CSCTMBHeader2020_CCLUT::@496 bits

◆ addCathodeShower()

void CSCTMBHeader2020_CCLUT::addCathodeShower ( const CSCShowerDigi digi)
overridevirtual

Implements CSCVTMBHeaderFormat.

Definition at line 284 of file CSCTMBHeader2020_CCLUT.cc.

References bits, and CSCShowerDigi::bitsInTime().

284  {
285  uint16_t hmt_bits = digi.bitsInTime() & 0x3;
286  bits.cathode_hmt = hmt_bits;
287 }
uint16_t bitsInTime() const
Definition: CSCShowerDigi.h:32
struct CSCTMBHeader2020_CCLUT::@496 bits

◆ addCLCT0()

void CSCTMBHeader2020_CCLUT::addCLCT0 ( const CSCCLCTDigi digi)
overridevirtual

for data packing

Implements CSCVTMBHeaderFormat.

Definition at line 189 of file CSCTMBHeader2020_CCLUT.cc.

References bits, CSCCLCTDigi::getBend(), CSCCLCTDigi::getBX(), CSCCLCTDigi::getCompCode(), CSCCLCTDigi::getEighthStripBit(), CSCCLCTDigi::getFullBX(), CSCCLCTDigi::getKeyStrip(), CSCCLCTDigi::getQuality(), CSCCLCTDigi::getQuartStripBit(), CSCCLCTDigi::getRun3Pattern(), CSCCLCTDigi::getSlope(), CSCCLCTDigi::isValid(), topSingleLeptonDQM_PU_cfi::pattern, and testProducerWithPsetDescEmpty_cfi::x1.

189  {
190  unsigned halfStrip = digi.getKeyStrip();
191  unsigned pattern = digi.getRun3Pattern();
192  bits.clct0_valid = digi.isValid();
193  bits.clct0_quality = digi.getQuality();
194  bits.clct0_shape = pattern;
195  // first 7 bits of halfstrip
196  bits.clct0_key_low = halfStrip & (0x7F);
197  // most-significant (8th) bit
198  bits.clct0_key_high = (halfStrip >> 7) & (0x1);
199  bits.clct_bxn = digi.getBX();
200  bits.bxnPreTrigger = digi.getFullBX();
201  bits.clct0_comparator_code = digi.getCompCode();
202  bits.clct0_xky = (digi.getEighthStripBit() & 0x1) + ((digi.getQuartStripBit() & 0x1) << 1);
203  bits.clct0_LR_bend = digi.getBend();
204  bits.clct0_slope = digi.getSlope();
205 }
uint16_t getQuality() const
return quality of a pattern (number of layers hit!)
Definition: CSCCLCTDigi.h:56
uint16_t getKeyStrip(const uint16_t n=2) const
Definition: CSCCLCTDigi.cc:107
bool getEighthStripBit() const
get single eighth strip bit
Definition: CSCCLCTDigi.h:114
int16_t getCompCode() const
Definition: CSCCLCTDigi.h:171
bool getQuartStripBit() const
get single quart strip bit
Definition: CSCCLCTDigi.h:108
uint16_t getFullBX() const
return 12-bit full BX.
Definition: CSCCLCTDigi.h:165
uint16_t getBend() const
Definition: CSCCLCTDigi.h:93
bool isValid() const
check CLCT validity (1 - valid CLCT)
Definition: CSCCLCTDigi.h:50
uint16_t getBX() const
return BX
Definition: CSCCLCTDigi.h:123
struct CSCTMBHeader2020_CCLUT::@496 bits
uint16_t getSlope() const
return the slope
Definition: CSCCLCTDigi.h:74
uint16_t getRun3Pattern() const
return pattern
Definition: CSCCLCTDigi.h:68

◆ addCLCT1()

void CSCTMBHeader2020_CCLUT::addCLCT1 ( const CSCCLCTDigi digi)
overridevirtual

Implements CSCVTMBHeaderFormat.

Definition at line 207 of file CSCTMBHeader2020_CCLUT.cc.

References bits, CSCCLCTDigi::getBend(), CSCCLCTDigi::getCompCode(), CSCCLCTDigi::getEighthStripBit(), CSCCLCTDigi::getFullBX(), CSCCLCTDigi::getKeyStrip(), CSCCLCTDigi::getQuality(), CSCCLCTDigi::getQuartStripBit(), CSCCLCTDigi::getRun3Pattern(), CSCCLCTDigi::getSlope(), CSCCLCTDigi::isValid(), topSingleLeptonDQM_PU_cfi::pattern, and testProducerWithPsetDescEmpty_cfi::x1.

207  {
208  unsigned halfStrip = digi.getKeyStrip();
209  unsigned pattern = digi.getRun3Pattern();
210  bits.clct1_valid = digi.isValid();
211  bits.clct1_quality = digi.getQuality();
212  bits.clct1_shape = pattern;
213  // first 7 bits of halfstrip
214  bits.clct1_key_low = halfStrip & (0x7F);
215  // most-significant (8th) bit
216  bits.clct1_key_high = (halfStrip >> 7) & (0x1);
217  // There is just one BX field common for CLCT0 and CLCT1 (since both
218  // are latched at the same BX); set it in addCLCT0().
219  bits.bxnPreTrigger = digi.getFullBX();
220  bits.clct1_comparator_code = digi.getCompCode();
221  bits.clct1_xky = (digi.getEighthStripBit() & 0x1) + ((digi.getQuartStripBit() & 0x1) << 1);
222  bits.clct1_LR_bend = digi.getBend();
223  bits.clct1_slope = digi.getSlope();
224 }
uint16_t getQuality() const
return quality of a pattern (number of layers hit!)
Definition: CSCCLCTDigi.h:56
uint16_t getKeyStrip(const uint16_t n=2) const
Definition: CSCCLCTDigi.cc:107
bool getEighthStripBit() const
get single eighth strip bit
Definition: CSCCLCTDigi.h:114
int16_t getCompCode() const
Definition: CSCCLCTDigi.h:171
bool getQuartStripBit() const
get single quart strip bit
Definition: CSCCLCTDigi.h:108
uint16_t getFullBX() const
return 12-bit full BX.
Definition: CSCCLCTDigi.h:165
uint16_t getBend() const
Definition: CSCCLCTDigi.h:93
bool isValid() const
check CLCT validity (1 - valid CLCT)
Definition: CSCCLCTDigi.h:50
struct CSCTMBHeader2020_CCLUT::@496 bits
uint16_t getSlope() const
return the slope
Definition: CSCCLCTDigi.h:74
uint16_t getRun3Pattern() const
return pattern
Definition: CSCCLCTDigi.h:68

◆ addCorrelatedLCT0()

void CSCTMBHeader2020_CCLUT::addCorrelatedLCT0 ( const CSCCorrelatedLCTDigi digi)
overridevirtual

Implements CSCVTMBHeaderFormat.

Definition at line 226 of file CSCTMBHeader2020_CCLUT.cc.

References bits, CSCCorrelatedLCTDigi::getBend(), CSCCorrelatedLCTDigi::getBX(), CSCCorrelatedLCTDigi::getBX0(), CSCCorrelatedLCTDigi::getEighthStripBit(), CSCCorrelatedLCTDigi::getHMT(), CSCCorrelatedLCTDigi::getKeyWG(), CSCCorrelatedLCTDigi::getQuality(), CSCCorrelatedLCTDigi::getQuartStripBit(), CSCCorrelatedLCTDigi::getRun3Pattern(), CSCCorrelatedLCTDigi::getSlope(), CSCCorrelatedLCTDigi::getStrip(), CSCCorrelatedLCTDigi::isValid(), and testProducerWithPsetDescEmpty_cfi::x1.

226  {
227  bits.MPC_Muon0_lct_vpf = digi.isValid();
228  bits.MPC_Muon0_alct_key_wire = digi.getKeyWG();
229  bits.MPC_Muon0_clct_key_halfstrip = digi.getStrip(2) & 0xFF;
230  bits.MPC_Muon0_clct_QuarterStrip = digi.getQuartStripBit() & 0x1;
231  bits.MPC_Muon0_clct_EighthStrip = digi.getEighthStripBit() & 0x1;
232  bits.MPC_Muon0_lct_quality = digi.getQuality() & 0x7;
233 
234  // To restore 5-bits Run3 CLCT Pattern ID first assume and set pattern ID = LCT0 Run3 pattern
235  uint16_t run3_pattern = digi.getRun3Pattern();
236  bits.MPC_Muon_clct_pattern_low = run3_pattern & 0xF;
237  bits.MPC_Muon_clct_pattern_bit5 = (run3_pattern >> 4) & 0x1;
238  bits.MPC_Muon0_clct_bend_low = digi.getSlope() & 0x7;
239  bits.MPC_Muon0_clct_bend_bit4 = (digi.getSlope() >> 3) & 0x1;
240  bits.MPC_Muon0_clct_LR = digi.getBend() & 0x1;
241  bits.MPC_Muon_HMT_bit0 = digi.getHMT() & 0x1;
242  bits.MPC_Muon_HMT_high = (digi.getHMT() >> 1) & 0x7;
243  bits.MPC_Muon_alct_bxn = digi.getBX();
244  bits.MPC_Muon0_clct_bx0 = digi.getBX0();
245 }
uint16_t getSlope() const
return the slope
uint16_t getBX() const
return BX
bool isValid() const
return valid pattern bit
bool getEighthStripBit() const
get single eighth strip bit
uint16_t getQuality() const
return the Quality
uint16_t getStrip(uint16_t n=2) const
return the key halfstrip from 0,159
bool getQuartStripBit() const
get single quart strip bit
uint16_t getKeyWG() const
return the key wire group. counts from 0.
struct CSCTMBHeader2020_CCLUT::@496 bits
uint16_t getRun3Pattern() const
return the Run-3 pattern ID

◆ addCorrelatedLCT1()

void CSCTMBHeader2020_CCLUT::addCorrelatedLCT1 ( const CSCCorrelatedLCTDigi digi)
overridevirtual

Implements CSCVTMBHeaderFormat.

Definition at line 247 of file CSCTMBHeader2020_CCLUT.cc.

References bits, CSCCorrelatedLCTDigi::getBend(), CSCCorrelatedLCTDigi::getBX(), CSCCorrelatedLCTDigi::getBX0(), CSCCorrelatedLCTDigi::getEighthStripBit(), CSCCorrelatedLCTDigi::getHMT(), CSCCorrelatedLCTDigi::getKeyWG(), CSCCorrelatedLCTDigi::getQuality(), CSCCorrelatedLCTDigi::getQuartStripBit(), CSCCorrelatedLCTDigi::getRun3Pattern(), CSCCorrelatedLCTDigi::getSlope(), CSCCorrelatedLCTDigi::getStrip(), CSCCorrelatedLCTDigi::isValid(), and testProducerWithPsetDescEmpty_cfi::x1.

247  {
248  bits.MPC_Muon1_lct_vpf = digi.isValid();
249  bits.MPC_Muon1_alct_key_wire = digi.getKeyWG();
250  bits.MPC_Muon1_clct_key_halfstrip = digi.getStrip(2) & 0xFF;
251  bits.MPC_Muon1_clct_QuarterStrip = digi.getQuartStripBit() & 0x1;
252  bits.MPC_Muon1_clct_EighthStrip = digi.getEighthStripBit() & 0x1;
253  bits.MPC_Muon1_lct_quality = digi.getQuality() & 0x7;
254 
255  // To restore 5-bits Run3 CLCT Pattern ID assume that LCT0 pattern ID is already processed
256  // and combine LCT1 Run3 pattern to set final 5-bit pattern ID
257  if (digi.isValid()) {
258  uint16_t clct_pattern_id = bits.MPC_Muon_clct_pattern_low | (bits.MPC_Muon_clct_pattern_bit5 << 4);
259  uint16_t run3_pattern = digi.getRun3Pattern();
260  clct_pattern_id = (clct_pattern_id + (run3_pattern + 1) * 5) % 30;
261  bits.MPC_Muon_clct_pattern_low = clct_pattern_id & 0xF;
262  bits.MPC_Muon_clct_pattern_bit5 = (clct_pattern_id >> 4) & 0x1;
263  }
264  bits.MPC_Muon1_clct_bend_low = digi.getSlope() & 0x7;
265  bits.MPC_Muon1_clct_bend_bit4 = (digi.getSlope() >> 3) & 0x1;
266  bits.MPC_Muon1_clct_LR = digi.getBend() & 0x1;
267  bits.MPC_Muon_HMT_bit0 = digi.getHMT() & 0x1;
268  bits.MPC_Muon_HMT_high = (digi.getHMT() >> 1) & 0x7;
269  bits.MPC_Muon_alct_bxn = digi.getBX();
270  bits.MPC_Muon1_clct_bx0 = digi.getBX0();
271 }
uint16_t getSlope() const
return the slope
uint16_t getBX() const
return BX
bool isValid() const
return valid pattern bit
bool getEighthStripBit() const
get single eighth strip bit
uint16_t getQuality() const
return the Quality
uint16_t getStrip(uint16_t n=2) const
return the key halfstrip from 0,159
bool getQuartStripBit() const
get single quart strip bit
uint16_t getKeyWG() const
return the key wire group. counts from 0.
struct CSCTMBHeader2020_CCLUT::@496 bits
uint16_t getRun3Pattern() const
return the Run-3 pattern ID

◆ addShower()

void CSCTMBHeader2020_CCLUT::addShower ( const CSCShowerDigi digi)
overridevirtual

Implements CSCVTMBHeaderFormat.

Definition at line 273 of file CSCTMBHeader2020_CCLUT.cc.

References bits, CSCShowerDigi::bitsInTime(), and CSCShowerDigi::bitsOutOfTime().

273  {
274  uint16_t hmt_bits = (digi.bitsInTime() & 0x3) + ((digi.bitsOutOfTime() & 0x3) << 2);
275  bits.MPC_Muon_HMT_bit0 = hmt_bits & 0x1;
276  bits.MPC_Muon_HMT_high = (hmt_bits >> 1) & 0x7;
277 }
uint16_t bitsOutOfTime() const
Definition: CSCShowerDigi.h:33
uint16_t bitsInTime() const
Definition: CSCShowerDigi.h:32
struct CSCTMBHeader2020_CCLUT::@496 bits

◆ alctHMT()

uint16_t CSCTMBHeader2020_CCLUT::alctHMT ( ) const
inlineoverridevirtual

Implements CSCVTMBHeaderFormat.

Definition at line 39 of file CSCTMBHeader2020_CCLUT.h.

References bits.

39 { return bits.anode_hmt; }
struct CSCTMBHeader2020_CCLUT::@496 bits

◆ ALCTMatchTime()

uint16_t CSCTMBHeader2020_CCLUT::ALCTMatchTime ( ) const
inlineoverridevirtual

Implements CSCVTMBHeaderFormat.

Definition at line 13 of file CSCTMBHeader2020_CCLUT.h.

References bits.

13 { return bits.matchWin; }
struct CSCTMBHeader2020_CCLUT::@496 bits

◆ ALCTOnly()

uint16_t CSCTMBHeader2020_CCLUT::ALCTOnly ( ) const
inlineoverridevirtual

Implements CSCVTMBHeaderFormat.

Definition at line 15 of file CSCTMBHeader2020_CCLUT.h.

References bits.

15 { return bits.alctOnly; }
struct CSCTMBHeader2020_CCLUT::@496 bits

◆ anodeShowerDigi()

CSCShowerDigi CSCTMBHeader2020_CCLUT::anodeShowerDigi ( uint32_t  idlayer) const
overridevirtual

returns anode HMT Shower digi

Implements CSCVTMBHeaderFormat.

Definition at line 169 of file CSCTMBHeader2020_CCLUT.cc.

References bits, and mps_fire::result.

169  {
170  uint16_t cscid = 0;
171  CSCShowerDigi result(bits.anode_hmt & 0x3, 0, cscid); // 2-bits intime, no out of time
172  return result;
173 }
struct CSCTMBHeader2020_CCLUT::@496 bits

◆ Bxn0Diff()

uint16_t CSCTMBHeader2020_CCLUT::Bxn0Diff ( ) const
inlineoverridevirtual

Implements CSCVTMBHeaderFormat.

Definition at line 17 of file CSCTMBHeader2020_CCLUT.h.

17 { return 0; }

◆ Bxn1Diff()

uint16_t CSCTMBHeader2020_CCLUT::Bxn1Diff ( ) const
inlineoverridevirtual

Implements CSCVTMBHeaderFormat.

Definition at line 18 of file CSCTMBHeader2020_CCLUT.h.

18 { return 0; }

◆ BXNCount()

uint16_t CSCTMBHeader2020_CCLUT::BXNCount ( ) const
inlineoverridevirtual

Implements CSCVTMBHeaderFormat.

Definition at line 12 of file CSCTMBHeader2020_CCLUT.h.

References bits.

12 { return bits.bxnCount; }
struct CSCTMBHeader2020_CCLUT::@496 bits

◆ cathodeShowerDigi()

CSCShowerDigi CSCTMBHeader2020_CCLUT::cathodeShowerDigi ( uint32_t  idlayer) const
overridevirtual

returns cathode HMT Shower digi

Implements CSCVTMBHeaderFormat.

Definition at line 175 of file CSCTMBHeader2020_CCLUT.cc.

References bits, and mps_fire::result.

175  {
176  uint16_t cscid = 0;
177  CSCShowerDigi result(bits.cathode_hmt & 0x3, 0, cscid); // 2-bits intime, no out of time
178  return result;
179 }
struct CSCTMBHeader2020_CCLUT::@496 bits

◆ check()

bool CSCTMBHeader2020_CCLUT::check ( ) const
inlineoverridevirtual

Implements CSCVTMBHeaderFormat.

Definition at line 71 of file CSCTMBHeader2020_CCLUT.h.

References bits.

71 { return bits.e0bline == 0x6e0b; }
struct CSCTMBHeader2020_CCLUT::@496 bits

◆ clct0_ComparatorCode()

uint16_t CSCTMBHeader2020_CCLUT::clct0_ComparatorCode ( ) const
inlineoverridevirtual

== Run 3 CSC-GEM Trigger Format

Implements CSCVTMBHeaderFormat.

Definition at line 30 of file CSCTMBHeader2020_CCLUT.h.

References bits.

30 { return bits.clct0_comparator_code; }
struct CSCTMBHeader2020_CCLUT::@496 bits

◆ clct0_xky()

uint16_t CSCTMBHeader2020_CCLUT::clct0_xky ( ) const
inlineoverridevirtual

Implements CSCVTMBHeaderFormat.

Definition at line 32 of file CSCTMBHeader2020_CCLUT.h.

References bits.

32 { return bits.clct0_xky; }
struct CSCTMBHeader2020_CCLUT::@496 bits

◆ clct1_ComparatorCode()

uint16_t CSCTMBHeader2020_CCLUT::clct1_ComparatorCode ( ) const
inlineoverridevirtual

Implements CSCVTMBHeaderFormat.

Definition at line 31 of file CSCTMBHeader2020_CCLUT.h.

References bits.

31 { return bits.clct1_comparator_code; }
struct CSCTMBHeader2020_CCLUT::@496 bits

◆ clct1_xky()

uint16_t CSCTMBHeader2020_CCLUT::clct1_xky ( ) const
inlineoverridevirtual

Implements CSCVTMBHeaderFormat.

Definition at line 33 of file CSCTMBHeader2020_CCLUT.h.

References bits.

33 { return bits.clct1_xky; }
struct CSCTMBHeader2020_CCLUT::@496 bits

◆ CLCTDigis()

std::vector< CSCCLCTDigi > CSCTMBHeader2020_CCLUT::CLCTDigis ( uint32_t  idlayer)
overridevirtual

returns CLCT digis

CLCT0 LR bend and slope are from dedicated header fields

Implements CSCVTMBHeaderFormat.

Definition at line 33 of file CSCTMBHeader2020_CCLUT.cc.

References bits, mps_fire::result, run2_pattern_lookup_tbl, CSCCLCTDigi::Run3, slope, digitizers_cfi::strip, and testProducerWithPsetDescEmpty_cfi::x1.

33  {
34  std::vector<CSCCLCTDigi> result;
35  unsigned halfstrip = bits.clct0_key_low + (bits.clct0_key_high << 7);
36  unsigned strip = halfstrip % 32;
37  // CLCT0 1/4 strip bit
38  bool quartstrip = (bits.clct0_xky >> 1) & 0x1;
39  // CLCT1 1/8 strip bit
40  bool eighthstrip = bits.clct0_xky & 0x1;
41  unsigned cfeb = halfstrip / 32;
42 
44  unsigned run3_pattern = bits.clct0_shape & 0x7; // 3-bit Run3 CLCT PatternID
45  unsigned bend = bits.clct0_LR_bend;
46  unsigned slope = bits.clct0_slope;
47  unsigned run2_pattern = run2_pattern_lookup_tbl[bend][slope];
48 
49  CSCCLCTDigi digi0(bits.clct0_valid,
50  bits.clct0_quality,
51  run2_pattern,
52  1,
53  bend,
54  strip,
55  cfeb,
56  bits.clct_bxn,
57  1,
58  bits.bxnPreTrigger,
59  bits.clct0_comparator_code,
61  quartstrip,
62  eighthstrip,
63  run3_pattern,
64  slope);
65 
66  halfstrip = bits.clct1_key_low + (bits.clct1_key_high << 7);
67  strip = halfstrip % 32;
68  // CLCT0 1/4 strip bit
69  quartstrip = (bits.clct1_xky >> 1) & 0x1;
70  // CLCT1 1/8 strip bit
71  eighthstrip = bits.clct1_xky & 0x1;
72  cfeb = halfstrip / 32;
73 
74  // CLCT LR bend and slope are from dedicated header fields
75  run3_pattern = bits.clct1_shape & 0x7; // 3-bit Run3 CLCT PatternID
76  bend = bits.clct1_LR_bend;
77  slope = bits.clct1_slope;
78  run2_pattern = run2_pattern_lookup_tbl[bend][slope];
79 
80  CSCCLCTDigi digi1(bits.clct1_valid,
81  bits.clct1_quality,
82  run2_pattern,
83  1,
84  bend,
85  strip,
86  cfeb,
87  bits.clct_bxn,
88  2,
89  bits.bxnPreTrigger,
90  bits.clct1_comparator_code,
92  quartstrip,
93  eighthstrip,
94  run3_pattern,
95  slope);
96 
97  result.push_back(digi0);
98  result.push_back(digi1);
99  return result;
100 }
static const double slope[3]
const unsigned run2_pattern_lookup_tbl[2][16]
pattern IDs 30,31 are reserved
struct CSCTMBHeader2020_CCLUT::@496 bits

◆ clctHMT()

uint16_t CSCTMBHeader2020_CCLUT::clctHMT ( ) const
inlineoverridevirtual

Implements CSCVTMBHeaderFormat.

Definition at line 40 of file CSCTMBHeader2020_CCLUT.h.

References bits.

40 { return bits.cathode_hmt; }
struct CSCTMBHeader2020_CCLUT::@496 bits

◆ CLCTOnly()

uint16_t CSCTMBHeader2020_CCLUT::CLCTOnly ( ) const
inlineoverridevirtual

Implements CSCVTMBHeaderFormat.

Definition at line 14 of file CSCTMBHeader2020_CCLUT.h.

References bits.

14 { return bits.clctOnly; }
struct CSCTMBHeader2020_CCLUT::@496 bits

◆ CorrelatedLCTDigis()

std::vector< CSCCorrelatedLCTDigi > CSCTMBHeader2020_CCLUT::CorrelatedLCTDigis ( uint32_t  idlayer) const
overridevirtual

returns CorrelatedLCT digis

for the zeroth MPC word:

for the first MPC word:

Implements CSCVTMBHeaderFormat.

Definition at line 103 of file CSCTMBHeader2020_CCLUT.cc.

References bits, mps_fire::result, run2_pattern_lookup_tbl, CSCCorrelatedLCTDigi::Run3, run3_pattern_lookup_tbl, CSCCorrelatedLCTDigi::setHMT(), slope, and digitizers_cfi::strip.

103  {
104  std::vector<CSCCorrelatedLCTDigi> result;
106  unsigned strip = bits.MPC_Muon0_clct_key_halfstrip; //this goes from 0-223
107  unsigned slope = (bits.MPC_Muon0_clct_bend_low & 0x7) | (bits.MPC_Muon0_clct_bend_bit4 << 3);
108  unsigned hmt = bits.MPC_Muon_HMT_bit0 | (bits.MPC_Muon_HMT_high << 1); // HighMultiplicityTrigger
109  unsigned clct_pattern_id = bits.MPC_Muon_clct_pattern_low | (bits.MPC_Muon_clct_pattern_bit5 << 4);
110 
111  std::pair<unsigned, unsigned> run3_pattern_pair = run3_pattern_lookup_tbl[clct_pattern_id % 30];
112  unsigned run2_pattern = run2_pattern_lookup_tbl[bits.MPC_Muon0_clct_LR][slope];
113  unsigned run3_pattern = run3_pattern_pair.second & 0x7;
114 
115  CSCCorrelatedLCTDigi digi(1,
116  bits.MPC_Muon0_lct_vpf,
117  bits.MPC_Muon0_lct_quality,
118  bits.MPC_Muon0_alct_key_wire,
119  strip,
120  run2_pattern,
121  bits.MPC_Muon0_clct_LR,
122  bits.MPC_Muon_alct_bxn,
123  0,
124  bits.MPC_Muon0_clct_bx0,
125  0,
126  0,
128  bits.MPC_Muon0_clct_QuarterStrip,
129  bits.MPC_Muon0_clct_EighthStrip,
130  run3_pattern,
131  slope);
132  digi.setHMT(hmt);
133  result.push_back(digi);
135  strip = bits.MPC_Muon1_clct_key_halfstrip; //this goes from 0-223
136  slope = (bits.MPC_Muon1_clct_bend_low & 0x7) | (bits.MPC_Muon1_clct_bend_bit4 << 3);
137  run2_pattern = run2_pattern_lookup_tbl[bits.MPC_Muon1_clct_LR][slope];
138  run3_pattern = run3_pattern_pair.first & 0x7;
139 
140  digi = CSCCorrelatedLCTDigi(2,
141  bits.MPC_Muon1_lct_vpf,
142  bits.MPC_Muon1_lct_quality,
143  bits.MPC_Muon1_alct_key_wire,
144  strip,
145  run2_pattern,
146  bits.MPC_Muon1_clct_LR,
147  bits.MPC_Muon_alct_bxn,
148  0,
149  bits.MPC_Muon1_clct_bx0,
150  0,
151  0,
153  bits.MPC_Muon1_clct_QuarterStrip,
154  bits.MPC_Muon1_clct_EighthStrip,
155  run3_pattern,
156  slope);
157  digi.setHMT(hmt);
158  result.push_back(digi);
159  return result;
160 }
static const double slope[3]
const std::vector< std::pair< unsigned, unsigned > > run3_pattern_lookup_tbl
const unsigned run2_pattern_lookup_tbl[2][16]
pattern IDs 30,31 are reserved
struct CSCTMBHeader2020_CCLUT::@496 bits

◆ data()

unsigned short* CSCTMBHeader2020_CCLUT::data ( )
inlineoverridevirtual

returns the first data word

Implements CSCVTMBHeaderFormat.

Definition at line 70 of file CSCTMBHeader2020_CCLUT.h.

References bits.

Referenced by CSCTMBHeader2020_CCLUT().

70 { return (unsigned short*)(&bits); }
struct CSCTMBHeader2020_CCLUT::@496 bits

◆ firmwareRevision()

uint16_t CSCTMBHeader2020_CCLUT::firmwareRevision ( ) const
inlineoverridevirtual

Implements CSCVTMBHeaderFormat.

Definition at line 23 of file CSCTMBHeader2020_CCLUT.h.

References bits.

23 { return bits.firmRevCode; }
struct CSCTMBHeader2020_CCLUT::@496 bits

◆ gem_enabled_fibers()

uint16_t CSCTMBHeader2020_CCLUT::gem_enabled_fibers ( ) const
inlineoverridevirtual

Implements CSCVTMBHeaderFormat.

Definition at line 41 of file CSCTMBHeader2020_CCLUT.h.

41 { return 0; }

◆ gem_fifo_pretrig()

uint16_t CSCTMBHeader2020_CCLUT::gem_fifo_pretrig ( ) const
inlineoverridevirtual

Implements CSCVTMBHeaderFormat.

Definition at line 43 of file CSCTMBHeader2020_CCLUT.h.

43 { return 0; }

◆ gem_fifo_tbins()

uint16_t CSCTMBHeader2020_CCLUT::gem_fifo_tbins ( ) const
inlineoverridevirtual

Implements CSCVTMBHeaderFormat.

Definition at line 42 of file CSCTMBHeader2020_CCLUT.h.

42 { return 0; }

◆ gem_sync_dataword()

uint16_t CSCTMBHeader2020_CCLUT::gem_sync_dataword ( ) const
inlineoverridevirtual

Implements CSCVTMBHeaderFormat.

Definition at line 45 of file CSCTMBHeader2020_CCLUT.h.

45 { return 0; }

◆ gem_timing_dataword()

uint16_t CSCTMBHeader2020_CCLUT::gem_timing_dataword ( ) const
inlineoverridevirtual

Implements CSCVTMBHeaderFormat.

Definition at line 46 of file CSCTMBHeader2020_CCLUT.h.

46 { return 0; }

◆ gem_zero_suppress()

uint16_t CSCTMBHeader2020_CCLUT::gem_zero_suppress ( ) const
inlineoverridevirtual

Implements CSCVTMBHeaderFormat.

Definition at line 44 of file CSCTMBHeader2020_CCLUT.h.

44 { return 0; }

◆ hmt_ALCTMatchTime()

uint16_t CSCTMBHeader2020_CCLUT::hmt_ALCTMatchTime ( ) const
inlineoverridevirtual

Implements CSCVTMBHeaderFormat.

Definition at line 38 of file CSCTMBHeader2020_CCLUT.h.

References bits.

38 { return bits.hmt_match_win; }
struct CSCTMBHeader2020_CCLUT::@496 bits

◆ hmt_nhits()

uint16_t CSCTMBHeader2020_CCLUT::hmt_nhits ( ) const
inlineoverridevirtual

Implements CSCVTMBHeaderFormat.

Definition at line 34 of file CSCTMBHeader2020_CCLUT.h.

References bits, and testProducerWithPsetDescEmpty_cfi::x1.

34  {
35  return ((bits.hmt_nhits_bit0 & 0x1) + ((bits.hmt_nhits_bit1 & 0x1) << 1) +
36  ((bits.hmt_nhits_bits_high & 0x1F) << 2));
37  }
struct CSCTMBHeader2020_CCLUT::@496 bits

◆ L1ANumber()

uint16_t CSCTMBHeader2020_CCLUT::L1ANumber ( ) const
inlineoverridevirtual

Implements CSCVTMBHeaderFormat.

Definition at line 19 of file CSCTMBHeader2020_CCLUT.h.

References bits.

19 { return bits.l1aNumber; }
struct CSCTMBHeader2020_CCLUT::@496 bits

◆ NCFEBs()

uint16_t CSCTMBHeader2020_CCLUT::NCFEBs ( ) const
inlineoverridevirtual

Implements CSCVTMBHeaderFormat.

Definition at line 21 of file CSCTMBHeader2020_CCLUT.h.

References bits.

21 { return bits.nCFEBs; }
struct CSCTMBHeader2020_CCLUT::@496 bits

◆ NHeaderFrames()

unsigned short int CSCTMBHeader2020_CCLUT::NHeaderFrames ( ) const
inlineoverridevirtual

Implements CSCVTMBHeaderFormat.

Definition at line 68 of file CSCTMBHeader2020_CCLUT.h.

References bits.

68 { return bits.nHeaderFrames; }
struct CSCTMBHeader2020_CCLUT::@496 bits

◆ NTBins()

uint16_t CSCTMBHeader2020_CCLUT::NTBins ( ) const
inlineoverridevirtual

Implements CSCVTMBHeaderFormat.

Definition at line 20 of file CSCTMBHeader2020_CCLUT.h.

References bits.

20 { return bits.nTBins; }
struct CSCTMBHeader2020_CCLUT::@496 bits

◆ print()

void CSCTMBHeader2020_CCLUT::print ( std::ostream &  os) const
overridevirtual

Implements CSCVTMBHeaderFormat.

Definition at line 289 of file CSCTMBHeader2020_CCLUT.cc.

References bits, and TauDecayModes::dec.

289  {
290  os << "...............(O)TMB2020 CCLUT/HMT Header.................."
291  << "\n";
292  os << std::hex << "BOC LINE " << bits.b0cline << " EOB " << bits.e0bline << "\n";
293  os << std::hex << "FW revision: 0x" << bits.firmRevCode << "\n";
294  os << std::dec << "fifoMode = " << bits.fifoMode << ", nTBins = " << bits.nTBins << "\n";
295  os << "boardID = " << bits.boardID << ", cscID = " << bits.cscID << "\n";
296  os << "l1aNumber = " << bits.l1aNumber << ", bxnCount = " << bits.bxnCount << "\n";
297  os << "trigSourceVect = " << bits.trigSourceVect << ", run3_trig_df = " << bits.run3_trig_df << ", activeCFEBs = 0x"
298  << std::hex << (bits.activeCFEBs | (bits.activeCFEBs_2 << 5)) << ", readCFEBs = 0x" << std::hex
299  << (bits.readCFEBs | (bits.readCFEBs_2 << 5)) << std::dec << "\n";
300  os << "bxnPreTrigger = " << bits.bxnPreTrigger << "\n";
301  os << "tmbMatch = " << bits.tmbMatch << " alctOnly = " << bits.alctOnly << " clctOnly = " << bits.clctOnly << "\n";
302 
303  os << "readoutCounter: " << std::dec << bits.readoutCounter << ", buf_q_ovf: " << bits.stackOvf
304  << ", sync_err: " << bits.syncError << ", has_buf: " << bits.hasBuf << ", buf_stalled: " << bits.bufFull << "\n";
305  os << "r_wr_buf_adr: 0x" << std::hex << bits.r_wr_buf_adr << ", r_wr_buf_ready: " << bits.r_wr_buf_ready
306  << ", wr_buf_ready: " << bits.wr_buf_ready << ", buf_q_full: " << bits.buf_q_full
307  << ", buf_q_empty: " << bits.buf_q_empty << ",\nr_buf_fence_dist: 0x" << bits.r_buf_fence_dist
308  << ", buf_q_ovf_err: " << bits.buf_q_ovf_err << ", buf_q_udf_err: " << bits.buf_q_udf_err
309  << ", buf_q_adr_err: " << bits.buf_q_adr_err << ", buf_stalled: " << bits.buf_stalled << ",\nbuf_fence_cnt: 0x"
310  << bits.buf_fence_cnt << ", reverse_hs_csc: " << bits.reverse_hs_csc
311  << ", reverse_hs_me1a: " << bits.reverse_hs_me1a << ", reverse_hs_me1b: " << bits.reverse_hs_me1b << "\n";
312  os << "CLCT Words:\n"
313  << " bits.clct0_valid = " << bits.clct0_valid << " bits.clct0_shape = " << bits.clct0_shape
314  << " bits.clct0_quality = " << bits.clct0_quality
315  << " halfstrip = " << (bits.clct0_key_low + (bits.clct0_key_high << 7)) << "\n";
316  os << " bits.clct0_xky = " << bits.clct0_xky << " bits.clct0_comparator_code = " << bits.clct0_comparator_code
317  << " bits.clct0_LR_bend = " << bits.clct0_LR_bend << " bits.clct0_slope = " << bits.clct0_slope << "\n";
318 
319  os << " bits.clct1_valid = " << bits.clct1_valid << " bits.clct1_shape = " << bits.clct1_shape
320  << " bits.clct1_quality = " << bits.clct1_quality
321  << " halfstrip = " << (bits.clct1_key_low + (bits.clct1_key_high << 7)) << "\n";
322  os << " bits.clct1_xky = " << bits.clct1_xky << " bits.clct1_comparator_code = " << bits.clct1_comparator_code
323  << " bits.clct1_LR_bend = " << bits.clct1_LR_bend << " bits.clct1_slope = " << bits.clct1_slope << "\n";
324 
325  os << "MPC Words:\n"
326  << " LCT0 valid = " << bits.MPC_Muon0_lct_vpf << " key WG = " << bits.MPC_Muon0_alct_key_wire
327  << " key halfstrip = " << bits.MPC_Muon0_clct_key_halfstrip
328  << " 1/4strip flag = " << bits.MPC_Muon0_clct_QuarterStrip
329  << " 1/8strip flag = " << bits.MPC_Muon0_clct_EighthStrip << "\n"
330  << " quality = " << bits.MPC_Muon0_lct_quality
331  << " slope/bend = " << ((bits.MPC_Muon0_clct_bend_low & 0x7) | (bits.MPC_Muon0_clct_bend_bit4 << 3))
332  << " L/R bend = " << bits.MPC_Muon0_clct_LR << "\n";
333 
334  os << " LCT1 valid = " << bits.MPC_Muon1_lct_vpf << " key WG = " << bits.MPC_Muon1_alct_key_wire
335  << " key halfstrip = " << bits.MPC_Muon1_clct_key_halfstrip
336  << " 1/4strip flag = " << bits.MPC_Muon1_clct_QuarterStrip
337  << " 1/8strip flag = " << bits.MPC_Muon1_clct_EighthStrip << "\n"
338  << " quality = " << bits.MPC_Muon1_lct_quality
339  << " slope/bend = " << ((bits.MPC_Muon1_clct_bend_low & 0x7) | (bits.MPC_Muon1_clct_bend_bit4 << 3))
340  << " L/R bend = " << bits.MPC_Muon1_clct_LR << "\n";
341 
342  os << " clct_5bit_pattern_id = " << (bits.MPC_Muon_clct_pattern_low | (bits.MPC_Muon_clct_pattern_bit5 << 4))
343  << " HMT = " << (bits.MPC_Muon_HMT_bit0 | (bits.MPC_Muon_HMT_high << 1)) << ", alctHMT = " << bits.anode_hmt
344  << ", clctHMT = " << bits.cathode_hmt << "\n";
345 }
struct CSCTMBHeader2020_CCLUT::@496 bits

◆ run3_CLCT_patternID()

uint16_t CSCTMBHeader2020_CCLUT::run3_CLCT_patternID ( ) const
inlineoverridevirtual

Implements CSCVTMBHeaderFormat.

Definition at line 48 of file CSCTMBHeader2020_CCLUT.h.

References bits.

48  {
49  return (bits.MPC_Muon_clct_pattern_low | (bits.MPC_Muon_clct_pattern_bit5 << 4));
50  }
struct CSCTMBHeader2020_CCLUT::@496 bits

◆ setEventInformation()

void CSCTMBHeader2020_CCLUT::setEventInformation ( const CSCDMBHeader dmbHeader)
overridevirtual

Implements CSCVTMBHeaderFormat.

Definition at line 26 of file CSCTMBHeader2020_CCLUT.cc.

References bits, CSCDMBHeader::bxn(), CSCDMBHeader::dmbID(), and CSCDMBHeader::l1a().

26  {
27  bits.cscID = dmbHeader.dmbID();
28  bits.l1aNumber = dmbHeader.l1a();
29  bits.bxnCount = dmbHeader.bxn();
30 }
unsigned bxn() const
Definition: CSCDMBHeader.h:37
unsigned l1a() const
Definition: CSCDMBHeader.h:39
unsigned dmbID() const
Definition: CSCDMBHeader.h:36
struct CSCTMBHeader2020_CCLUT::@496 bits

◆ setNCFEBs()

void CSCTMBHeader2020_CCLUT::setNCFEBs ( uint16_t  ncfebs)
inlineoverridevirtual

Implements CSCVTMBHeaderFormat.

Definition at line 22 of file CSCTMBHeader2020_CCLUT.h.

References bits.

22 { bits.nCFEBs = ncfebs & 0x7F; }
struct CSCTMBHeader2020_CCLUT::@496 bits

◆ showerDigi()

CSCShowerDigi CSCTMBHeader2020_CCLUT::showerDigi ( uint32_t  idlayer) const
overridevirtual

returns lct HMT Shower digi

Implements CSCVTMBHeaderFormat.

Definition at line 162 of file CSCTMBHeader2020_CCLUT.cc.

References bits, and mps_fire::result.

162  {
163  unsigned hmt_bits = bits.MPC_Muon_HMT_bit0 | (bits.MPC_Muon_HMT_high << 1); // HighMultiplicityTrigger bits
164  uint16_t cscid = 0; // ??? What is 4-bits CSC Id in CSshowerDigi
165  CSCShowerDigi result(hmt_bits & 0x3, (hmt_bits >> 2) & 0x3, cscid); // 2-bits intime, 2-bits out of time
166  return result;
167 }
struct CSCTMBHeader2020_CCLUT::@496 bits

◆ sizeInWords()

unsigned short int CSCTMBHeader2020_CCLUT::sizeInWords ( ) const
inlineoverridevirtual

in 16-bit words. Add olne because we include beginning(b0c) and end (e0c) flags

Implements CSCVTMBHeaderFormat.

Definition at line 66 of file CSCTMBHeader2020_CCLUT.h.

References NWORDS.

Referenced by CSCTMBHeader2020_CCLUT().

◆ swapCLCTs()

void CSCTMBHeader2020_CCLUT::swapCLCTs ( CSCCLCTDigi digi1,
CSCCLCTDigi digi2 
)

◆ syncError()

uint16_t CSCTMBHeader2020_CCLUT::syncError ( ) const
inlineoverridevirtual

Implements CSCVTMBHeaderFormat.

Definition at line 24 of file CSCTMBHeader2020_CCLUT.h.

References bits.

24 { return bits.syncError; }
struct CSCTMBHeader2020_CCLUT::@496 bits

◆ syncErrorCLCT()

uint16_t CSCTMBHeader2020_CCLUT::syncErrorCLCT ( ) const
inlineoverridevirtual

Implements CSCVTMBHeaderFormat.

Definition at line 25 of file CSCTMBHeader2020_CCLUT.h.

References bits.

25 { return bits.clct_sync_err; }
struct CSCTMBHeader2020_CCLUT::@496 bits

◆ syncErrorMPC0()

uint16_t CSCTMBHeader2020_CCLUT::syncErrorMPC0 ( ) const
inlineoverridevirtual

Implements CSCVTMBHeaderFormat.

Definition at line 26 of file CSCTMBHeader2020_CCLUT.h.

26 { return 0; }

◆ syncErrorMPC1()

uint16_t CSCTMBHeader2020_CCLUT::syncErrorMPC1 ( ) const
inlineoverridevirtual

Implements CSCVTMBHeaderFormat.

Definition at line 27 of file CSCTMBHeader2020_CCLUT.h.

27 { return 0; }

◆ TMBMatch()

uint16_t CSCTMBHeader2020_CCLUT::TMBMatch ( ) const
inlineoverridevirtual

Implements CSCVTMBHeaderFormat.

Definition at line 16 of file CSCTMBHeader2020_CCLUT.h.

References bits.

16 { return bits.tmbMatch; }
struct CSCTMBHeader2020_CCLUT::@496 bits

Member Data Documentation

◆ activeCFEBs

unsigned CSCTMBHeader2020_CCLUT::activeCFEBs

Definition at line 118 of file CSCTMBHeader2020_CCLUT.h.

◆ activeCFEBs_2

unsigned CSCTMBHeader2020_CCLUT::activeCFEBs_2

Definition at line 151 of file CSCTMBHeader2020_CCLUT.h.

◆ aff_source

unsigned CSCTMBHeader2020_CCLUT::aff_source

Definition at line 118 of file CSCTMBHeader2020_CCLUT.h.

◆ alct0Amu

unsigned CSCTMBHeader2020_CCLUT::alct0Amu

Definition at line 128 of file CSCTMBHeader2020_CCLUT.h.

◆ alct0Key

unsigned CSCTMBHeader2020_CCLUT::alct0Key

Definition at line 128 of file CSCTMBHeader2020_CCLUT.h.

◆ alct0Quality

unsigned CSCTMBHeader2020_CCLUT::alct0Quality

Definition at line 128 of file CSCTMBHeader2020_CCLUT.h.

◆ alct0Valid

unsigned CSCTMBHeader2020_CCLUT::alct0Valid

Definition at line 128 of file CSCTMBHeader2020_CCLUT.h.

◆ alct1Amu

unsigned CSCTMBHeader2020_CCLUT::alct1Amu

Definition at line 129 of file CSCTMBHeader2020_CCLUT.h.

◆ alct1Key

unsigned CSCTMBHeader2020_CCLUT::alct1Key

Definition at line 129 of file CSCTMBHeader2020_CCLUT.h.

◆ alct1Quality

unsigned CSCTMBHeader2020_CCLUT::alct1Quality

Definition at line 129 of file CSCTMBHeader2020_CCLUT.h.

◆ alct1Valid

unsigned CSCTMBHeader2020_CCLUT::alct1Valid

Definition at line 129 of file CSCTMBHeader2020_CCLUT.h.

◆ alct_delay

unsigned CSCTMBHeader2020_CCLUT::alct_delay

Definition at line 116 of file CSCTMBHeader2020_CCLUT.h.

◆ alct_ecc_err

unsigned CSCTMBHeader2020_CCLUT::alct_ecc_err

Definition at line 131 of file CSCTMBHeader2020_CCLUT.h.

◆ alctCfg

unsigned CSCTMBHeader2020_CCLUT::alctCfg

Definition at line 131 of file CSCTMBHeader2020_CCLUT.h.

◆ alctCounterHigh

unsigned CSCTMBHeader2020_CCLUT::alctCounterHigh

Definition at line 110 of file CSCTMBHeader2020_CCLUT.h.

◆ alctCounterLow

unsigned CSCTMBHeader2020_CCLUT::alctCounterLow

Definition at line 108 of file CSCTMBHeader2020_CCLUT.h.

◆ alctOnly

unsigned CSCTMBHeader2020_CCLUT::alctOnly

Definition at line 120 of file CSCTMBHeader2020_CCLUT.h.

◆ anode_hmt

unsigned CSCTMBHeader2020_CCLUT::anode_hmt

Definition at line 153 of file CSCTMBHeader2020_CCLUT.h.

◆ b0cline

unsigned CSCTMBHeader2020_CCLUT::b0cline

Definition at line 90 of file CSCTMBHeader2020_CCLUT.h.

◆ bcb_read_enable

unsigned CSCTMBHeader2020_CCLUT::bcb_read_enable

Definition at line 129 of file CSCTMBHeader2020_CCLUT.h.

◆ bd_status

unsigned CSCTMBHeader2020_CCLUT::bd_status

Definition at line 97 of file CSCTMBHeader2020_CCLUT.h.

◆ bits

struct { ... } CSCTMBHeader2020_CCLUT::bits

◆ boardID

unsigned CSCTMBHeader2020_CCLUT::boardID

Definition at line 95 of file CSCTMBHeader2020_CCLUT.h.

◆ buf_fence_cnt

unsigned CSCTMBHeader2020_CCLUT::buf_fence_cnt

Definition at line 149 of file CSCTMBHeader2020_CCLUT.h.

◆ buf_fence_cnt_is_peak

unsigned CSCTMBHeader2020_CCLUT::buf_fence_cnt_is_peak

Definition at line 151 of file CSCTMBHeader2020_CCLUT.h.

◆ buf_q_adr_err

unsigned CSCTMBHeader2020_CCLUT::buf_q_adr_err

Definition at line 147 of file CSCTMBHeader2020_CCLUT.h.

◆ buf_q_empty

unsigned CSCTMBHeader2020_CCLUT::buf_q_empty

Definition at line 146 of file CSCTMBHeader2020_CCLUT.h.

◆ buf_q_full

unsigned CSCTMBHeader2020_CCLUT::buf_q_full

Definition at line 146 of file CSCTMBHeader2020_CCLUT.h.

◆ buf_q_ovf_err

unsigned CSCTMBHeader2020_CCLUT::buf_q_ovf_err

Definition at line 147 of file CSCTMBHeader2020_CCLUT.h.

◆ buf_q_udf_err

unsigned CSCTMBHeader2020_CCLUT::buf_q_udf_err

Definition at line 147 of file CSCTMBHeader2020_CCLUT.h.

◆ buf_stalled

unsigned CSCTMBHeader2020_CCLUT::buf_stalled

Definition at line 147 of file CSCTMBHeader2020_CCLUT.h.

◆ bufFull

unsigned CSCTMBHeader2020_CCLUT::bufFull

Definition at line 96 of file CSCTMBHeader2020_CCLUT.h.

◆ bx0_match

unsigned CSCTMBHeader2020_CCLUT::bx0_match

Definition at line 131 of file CSCTMBHeader2020_CCLUT.h.

◆ bxnCount

unsigned CSCTMBHeader2020_CCLUT::bxnCount

Definition at line 91 of file CSCTMBHeader2020_CCLUT.h.

◆ bxnPreTrigger

unsigned CSCTMBHeader2020_CCLUT::bxnPreTrigger

Definition at line 100 of file CSCTMBHeader2020_CCLUT.h.

◆ cathode_hmt

unsigned CSCTMBHeader2020_CCLUT::cathode_hmt

Definition at line 153 of file CSCTMBHeader2020_CCLUT.h.

◆ cfeb_badbits_blocked

unsigned CSCTMBHeader2020_CCLUT::cfeb_badbits_blocked

Definition at line 131 of file CSCTMBHeader2020_CCLUT.h.

◆ cfeb_badbits_found

unsigned CSCTMBHeader2020_CCLUT::cfeb_badbits_found

Definition at line 131 of file CSCTMBHeader2020_CCLUT.h.

◆ cfeb_badbits_found_2

unsigned CSCTMBHeader2020_CCLUT::cfeb_badbits_found_2

Definition at line 151 of file CSCTMBHeader2020_CCLUT.h.

◆ CFEBsEnabled

unsigned CSCTMBHeader2020_CCLUT::CFEBsEnabled

Definition at line 142 of file CSCTMBHeader2020_CCLUT.h.

◆ CFEBsEnabled_2

unsigned CSCTMBHeader2020_CCLUT::CFEBsEnabled_2

Definition at line 151 of file CSCTMBHeader2020_CCLUT.h.

◆ clct0_comparator_code

unsigned CSCTMBHeader2020_CCLUT::clct0_comparator_code

Definition at line 102 of file CSCTMBHeader2020_CCLUT.h.

◆ clct0_key_high

unsigned CSCTMBHeader2020_CCLUT::clct0_key_high

Definition at line 124 of file CSCTMBHeader2020_CCLUT.h.

◆ clct0_key_low

unsigned CSCTMBHeader2020_CCLUT::clct0_key_low

Definition at line 122 of file CSCTMBHeader2020_CCLUT.h.

◆ clct0_LR_bend

unsigned CSCTMBHeader2020_CCLUT::clct0_LR_bend

Definition at line 117 of file CSCTMBHeader2020_CCLUT.h.

◆ clct0_quality

unsigned CSCTMBHeader2020_CCLUT::clct0_quality

Definition at line 122 of file CSCTMBHeader2020_CCLUT.h.

◆ clct0_shape

unsigned CSCTMBHeader2020_CCLUT::clct0_shape

Definition at line 122 of file CSCTMBHeader2020_CCLUT.h.

◆ clct0_slope

unsigned CSCTMBHeader2020_CCLUT::clct0_slope

Definition at line 117 of file CSCTMBHeader2020_CCLUT.h.

◆ clct0_valid

unsigned CSCTMBHeader2020_CCLUT::clct0_valid

Definition at line 122 of file CSCTMBHeader2020_CCLUT.h.

◆ clct0_xky

unsigned CSCTMBHeader2020_CCLUT::clct0_xky

Definition at line 102 of file CSCTMBHeader2020_CCLUT.h.

◆ clct0Invalid

unsigned CSCTMBHeader2020_CCLUT::clct0Invalid

Definition at line 124 of file CSCTMBHeader2020_CCLUT.h.

◆ clct1_comparator_code

unsigned CSCTMBHeader2020_CCLUT::clct1_comparator_code

Definition at line 107 of file CSCTMBHeader2020_CCLUT.h.

◆ clct1_key_high

unsigned CSCTMBHeader2020_CCLUT::clct1_key_high

Definition at line 124 of file CSCTMBHeader2020_CCLUT.h.

◆ clct1_key_low

unsigned CSCTMBHeader2020_CCLUT::clct1_key_low

Definition at line 123 of file CSCTMBHeader2020_CCLUT.h.

◆ clct1_LR_bend

unsigned CSCTMBHeader2020_CCLUT::clct1_LR_bend

Definition at line 117 of file CSCTMBHeader2020_CCLUT.h.

◆ clct1_quality

unsigned CSCTMBHeader2020_CCLUT::clct1_quality

Definition at line 123 of file CSCTMBHeader2020_CCLUT.h.

◆ clct1_shape

unsigned CSCTMBHeader2020_CCLUT::clct1_shape

Definition at line 123 of file CSCTMBHeader2020_CCLUT.h.

◆ clct1_slope

unsigned CSCTMBHeader2020_CCLUT::clct1_slope

Definition at line 128 of file CSCTMBHeader2020_CCLUT.h.

◆ clct1_valid

unsigned CSCTMBHeader2020_CCLUT::clct1_valid

Definition at line 123 of file CSCTMBHeader2020_CCLUT.h.

◆ clct1_xky

unsigned CSCTMBHeader2020_CCLUT::clct1_xky

Definition at line 107 of file CSCTMBHeader2020_CCLUT.h.

◆ clct1Busy

unsigned CSCTMBHeader2020_CCLUT::clct1Busy

Definition at line 124 of file CSCTMBHeader2020_CCLUT.h.

◆ clct1Invalid

unsigned CSCTMBHeader2020_CCLUT::clct1Invalid

Definition at line 124 of file CSCTMBHeader2020_CCLUT.h.

◆ clct_bxn

unsigned CSCTMBHeader2020_CCLUT::clct_bxn

Definition at line 124 of file CSCTMBHeader2020_CCLUT.h.

◆ clct_sync_err

unsigned CSCTMBHeader2020_CCLUT::clct_sync_err

Definition at line 124 of file CSCTMBHeader2020_CCLUT.h.

◆ clct_width

unsigned CSCTMBHeader2020_CCLUT::clct_width

Definition at line 116 of file CSCTMBHeader2020_CCLUT.h.

◆ clctCounterHigh

unsigned CSCTMBHeader2020_CCLUT::clctCounterHigh

Definition at line 105 of file CSCTMBHeader2020_CCLUT.h.

◆ clctCounterLow

unsigned CSCTMBHeader2020_CCLUT::clctCounterLow

Definition at line 103 of file CSCTMBHeader2020_CCLUT.h.

◆ clctOnly

unsigned CSCTMBHeader2020_CCLUT::clctOnly

Definition at line 120 of file CSCTMBHeader2020_CCLUT.h.

◆ clock_lock_lost

unsigned CSCTMBHeader2020_CCLUT::clock_lock_lost

Definition at line 100 of file CSCTMBHeader2020_CCLUT.h.

◆ cscID

unsigned CSCTMBHeader2020_CCLUT::cscID

Definition at line 95 of file CSCTMBHeader2020_CCLUT.h.

◆ dduCode1

unsigned CSCTMBHeader2020_CCLUT::dduCode1

Definition at line 91 of file CSCTMBHeader2020_CCLUT.h.

◆ dduCode2

unsigned CSCTMBHeader2020_CCLUT::dduCode2

Definition at line 92 of file CSCTMBHeader2020_CCLUT.h.

◆ dduCode3

unsigned CSCTMBHeader2020_CCLUT::dduCode3

Definition at line 93 of file CSCTMBHeader2020_CCLUT.h.

◆ dmbThresh

unsigned CSCTMBHeader2020_CCLUT::dmbThresh

Definition at line 116 of file CSCTMBHeader2020_CCLUT.h.

◆ drift_delay

unsigned CSCTMBHeader2020_CCLUT::drift_delay

Definition at line 129 of file CSCTMBHeader2020_CCLUT.h.

◆ dupeALCT

unsigned CSCTMBHeader2020_CCLUT::dupeALCT

Definition at line 120 of file CSCTMBHeader2020_CCLUT.h.

◆ dupeCLCT

unsigned CSCTMBHeader2020_CCLUT::dupeCLCT

Definition at line 120 of file CSCTMBHeader2020_CCLUT.h.

◆ e0bline

unsigned CSCTMBHeader2020_CCLUT::e0bline

Definition at line 155 of file CSCTMBHeader2020_CCLUT.h.

◆ fifo_pretrig_rpc

unsigned CSCTMBHeader2020_CCLUT::fifo_pretrig_rpc

Definition at line 145 of file CSCTMBHeader2020_CCLUT.h.

◆ fifo_tbins_rpc

unsigned CSCTMBHeader2020_CCLUT::fifo_tbins_rpc

Definition at line 145 of file CSCTMBHeader2020_CCLUT.h.

◆ fifoMode

unsigned CSCTMBHeader2020_CCLUT::fifoMode

Definition at line 96 of file CSCTMBHeader2020_CCLUT.h.

◆ fifoPretrig

unsigned CSCTMBHeader2020_CCLUT::fifoPretrig

Definition at line 113 of file CSCTMBHeader2020_CCLUT.h.

◆ firmRevCode

unsigned CSCTMBHeader2020_CCLUT::firmRevCode

Definition at line 98 of file CSCTMBHeader2020_CCLUT.h.

◆ flag1

unsigned CSCTMBHeader2020_CCLUT::flag1

Definition at line 91 of file CSCTMBHeader2020_CCLUT.h.

◆ flag10

unsigned CSCTMBHeader2020_CCLUT::flag10

Definition at line 102 of file CSCTMBHeader2020_CCLUT.h.

◆ flag11

unsigned CSCTMBHeader2020_CCLUT::flag11

Definition at line 103 of file CSCTMBHeader2020_CCLUT.h.

◆ flag12

unsigned CSCTMBHeader2020_CCLUT::flag12

Definition at line 105 of file CSCTMBHeader2020_CCLUT.h.

◆ flag13

unsigned CSCTMBHeader2020_CCLUT::flag13

Definition at line 106 of file CSCTMBHeader2020_CCLUT.h.

◆ flag14

unsigned CSCTMBHeader2020_CCLUT::flag14

Definition at line 107 of file CSCTMBHeader2020_CCLUT.h.

◆ flag15

unsigned CSCTMBHeader2020_CCLUT::flag15

Definition at line 108 of file CSCTMBHeader2020_CCLUT.h.

◆ flag16

unsigned CSCTMBHeader2020_CCLUT::flag16

Definition at line 110 of file CSCTMBHeader2020_CCLUT.h.

◆ flag17

unsigned CSCTMBHeader2020_CCLUT::flag17

Definition at line 111 of file CSCTMBHeader2020_CCLUT.h.

◆ flag18

unsigned CSCTMBHeader2020_CCLUT::flag18

Definition at line 112 of file CSCTMBHeader2020_CCLUT.h.

◆ flag19

unsigned CSCTMBHeader2020_CCLUT::flag19

Definition at line 113 of file CSCTMBHeader2020_CCLUT.h.

◆ flag2

unsigned CSCTMBHeader2020_CCLUT::flag2

Definition at line 92 of file CSCTMBHeader2020_CCLUT.h.

◆ flag20

unsigned CSCTMBHeader2020_CCLUT::flag20

Definition at line 115 of file CSCTMBHeader2020_CCLUT.h.

◆ flag21

unsigned CSCTMBHeader2020_CCLUT::flag21

Definition at line 116 of file CSCTMBHeader2020_CCLUT.h.

◆ flag22

unsigned CSCTMBHeader2020_CCLUT::flag22

Definition at line 117 of file CSCTMBHeader2020_CCLUT.h.

◆ flag23

unsigned CSCTMBHeader2020_CCLUT::flag23

Definition at line 118 of file CSCTMBHeader2020_CCLUT.h.

◆ flag24

unsigned CSCTMBHeader2020_CCLUT::flag24

Definition at line 120 of file CSCTMBHeader2020_CCLUT.h.

◆ flag25

unsigned CSCTMBHeader2020_CCLUT::flag25

Definition at line 122 of file CSCTMBHeader2020_CCLUT.h.

◆ flag26

unsigned CSCTMBHeader2020_CCLUT::flag26

Definition at line 123 of file CSCTMBHeader2020_CCLUT.h.

◆ flag27

unsigned CSCTMBHeader2020_CCLUT::flag27

Definition at line 124 of file CSCTMBHeader2020_CCLUT.h.

◆ flag28

unsigned CSCTMBHeader2020_CCLUT::flag28

Definition at line 128 of file CSCTMBHeader2020_CCLUT.h.

◆ flag29

unsigned CSCTMBHeader2020_CCLUT::flag29

Definition at line 129 of file CSCTMBHeader2020_CCLUT.h.

◆ flag3

unsigned CSCTMBHeader2020_CCLUT::flag3

Definition at line 93 of file CSCTMBHeader2020_CCLUT.h.

◆ flag30

unsigned CSCTMBHeader2020_CCLUT::flag30

Definition at line 131 of file CSCTMBHeader2020_CCLUT.h.

◆ flag31

unsigned CSCTMBHeader2020_CCLUT::flag31

Definition at line 133 of file CSCTMBHeader2020_CCLUT.h.

◆ flag32

unsigned CSCTMBHeader2020_CCLUT::flag32

Definition at line 136 of file CSCTMBHeader2020_CCLUT.h.

◆ flag33

unsigned CSCTMBHeader2020_CCLUT::flag33

Definition at line 138 of file CSCTMBHeader2020_CCLUT.h.

◆ flag34

unsigned CSCTMBHeader2020_CCLUT::flag34

Definition at line 140 of file CSCTMBHeader2020_CCLUT.h.

◆ flag35

unsigned CSCTMBHeader2020_CCLUT::flag35

Definition at line 142 of file CSCTMBHeader2020_CCLUT.h.

◆ flag36

unsigned CSCTMBHeader2020_CCLUT::flag36

Definition at line 145 of file CSCTMBHeader2020_CCLUT.h.

◆ flag37

unsigned CSCTMBHeader2020_CCLUT::flag37

Definition at line 146 of file CSCTMBHeader2020_CCLUT.h.

◆ flag38

unsigned CSCTMBHeader2020_CCLUT::flag38

Definition at line 147 of file CSCTMBHeader2020_CCLUT.h.

◆ flag39

unsigned CSCTMBHeader2020_CCLUT::flag39

Definition at line 149 of file CSCTMBHeader2020_CCLUT.h.

◆ flag4

unsigned CSCTMBHeader2020_CCLUT::flag4

Definition at line 95 of file CSCTMBHeader2020_CCLUT.h.

◆ flag40

unsigned CSCTMBHeader2020_CCLUT::flag40

Definition at line 151 of file CSCTMBHeader2020_CCLUT.h.

◆ flag41

unsigned CSCTMBHeader2020_CCLUT::flag41

Definition at line 153 of file CSCTMBHeader2020_CCLUT.h.

◆ flag5

unsigned CSCTMBHeader2020_CCLUT::flag5

Definition at line 96 of file CSCTMBHeader2020_CCLUT.h.

◆ flag6

unsigned CSCTMBHeader2020_CCLUT::flag6

Definition at line 97 of file CSCTMBHeader2020_CCLUT.h.

◆ flag7

unsigned CSCTMBHeader2020_CCLUT::flag7

Definition at line 98 of file CSCTMBHeader2020_CCLUT.h.

◆ flag8

unsigned CSCTMBHeader2020_CCLUT::flag8

Definition at line 100 of file CSCTMBHeader2020_CCLUT.h.

◆ flag9

unsigned CSCTMBHeader2020_CCLUT::flag9

Definition at line 101 of file CSCTMBHeader2020_CCLUT.h.

◆ gem_enable

unsigned CSCTMBHeader2020_CCLUT::gem_enable

Definition at line 153 of file CSCTMBHeader2020_CCLUT.h.

◆ hasBuf

unsigned CSCTMBHeader2020_CCLUT::hasBuf

Definition at line 96 of file CSCTMBHeader2020_CCLUT.h.

◆ hitThresh

unsigned CSCTMBHeader2020_CCLUT::hitThresh

Definition at line 115 of file CSCTMBHeader2020_CCLUT.h.

◆ hmt_match_win

unsigned CSCTMBHeader2020_CCLUT::hmt_match_win

Definition at line 153 of file CSCTMBHeader2020_CCLUT.h.

◆ hmt_nhits_bit0

unsigned CSCTMBHeader2020_CCLUT::hmt_nhits_bit0

Definition at line 102 of file CSCTMBHeader2020_CCLUT.h.

◆ hmt_nhits_bit1

unsigned CSCTMBHeader2020_CCLUT::hmt_nhits_bit1

Definition at line 107 of file CSCTMBHeader2020_CCLUT.h.

◆ hmt_nhits_bits_high

unsigned CSCTMBHeader2020_CCLUT::hmt_nhits_bits_high

Definition at line 131 of file CSCTMBHeader2020_CCLUT.h.

◆ hs_layer_trig

unsigned CSCTMBHeader2020_CCLUT::hs_layer_trig

Definition at line 129 of file CSCTMBHeader2020_CCLUT.h.

◆ l1aNumber

unsigned CSCTMBHeader2020_CCLUT::l1aNumber

Definition at line 92 of file CSCTMBHeader2020_CCLUT.h.

◆ l1atype

unsigned CSCTMBHeader2020_CCLUT::l1atype

Definition at line 96 of file CSCTMBHeader2020_CCLUT.h.

◆ lctRankErr

unsigned CSCTMBHeader2020_CCLUT::lctRankErr

Definition at line 120 of file CSCTMBHeader2020_CCLUT.h.

◆ matchWin

unsigned CSCTMBHeader2020_CCLUT::matchWin

Definition at line 120 of file CSCTMBHeader2020_CCLUT.h.

◆ MPC_Muon0_alct_key_wire

unsigned CSCTMBHeader2020_CCLUT::MPC_Muon0_alct_key_wire

Definition at line 133 of file CSCTMBHeader2020_CCLUT.h.

◆ MPC_Muon0_clct_bend_bit4

unsigned CSCTMBHeader2020_CCLUT::MPC_Muon0_clct_bend_bit4

Definition at line 142 of file CSCTMBHeader2020_CCLUT.h.

◆ MPC_Muon0_clct_bend_low

unsigned CSCTMBHeader2020_CCLUT::MPC_Muon0_clct_bend_low

Definition at line 136 of file CSCTMBHeader2020_CCLUT.h.

◆ MPC_Muon0_clct_bx0

unsigned CSCTMBHeader2020_CCLUT::MPC_Muon0_clct_bx0

Definition at line 136 of file CSCTMBHeader2020_CCLUT.h.

◆ MPC_Muon0_clct_EighthStrip

unsigned CSCTMBHeader2020_CCLUT::MPC_Muon0_clct_EighthStrip

Definition at line 136 of file CSCTMBHeader2020_CCLUT.h.

◆ MPC_Muon0_clct_key_halfstrip

unsigned CSCTMBHeader2020_CCLUT::MPC_Muon0_clct_key_halfstrip

Definition at line 136 of file CSCTMBHeader2020_CCLUT.h.

◆ MPC_Muon0_clct_LR

unsigned CSCTMBHeader2020_CCLUT::MPC_Muon0_clct_LR

Definition at line 136 of file CSCTMBHeader2020_CCLUT.h.

◆ MPC_Muon0_clct_QuarterStrip

unsigned CSCTMBHeader2020_CCLUT::MPC_Muon0_clct_QuarterStrip

Definition at line 133 of file CSCTMBHeader2020_CCLUT.h.

◆ MPC_Muon0_lct_quality

unsigned CSCTMBHeader2020_CCLUT::MPC_Muon0_lct_quality

Definition at line 133 of file CSCTMBHeader2020_CCLUT.h.

◆ MPC_Muon0_lct_vpf

unsigned CSCTMBHeader2020_CCLUT::MPC_Muon0_lct_vpf

Definition at line 142 of file CSCTMBHeader2020_CCLUT.h.

◆ MPC_Muon1_alct_key_wire

unsigned CSCTMBHeader2020_CCLUT::MPC_Muon1_alct_key_wire

Definition at line 138 of file CSCTMBHeader2020_CCLUT.h.

◆ MPC_Muon1_clct_bend_bit4

unsigned CSCTMBHeader2020_CCLUT::MPC_Muon1_clct_bend_bit4

Definition at line 142 of file CSCTMBHeader2020_CCLUT.h.

◆ MPC_Muon1_clct_bend_low

unsigned CSCTMBHeader2020_CCLUT::MPC_Muon1_clct_bend_low

Definition at line 140 of file CSCTMBHeader2020_CCLUT.h.

◆ MPC_Muon1_clct_bx0

unsigned CSCTMBHeader2020_CCLUT::MPC_Muon1_clct_bx0

Definition at line 140 of file CSCTMBHeader2020_CCLUT.h.

◆ MPC_Muon1_clct_EighthStrip

unsigned CSCTMBHeader2020_CCLUT::MPC_Muon1_clct_EighthStrip

Definition at line 140 of file CSCTMBHeader2020_CCLUT.h.

◆ MPC_Muon1_clct_key_halfstrip

unsigned CSCTMBHeader2020_CCLUT::MPC_Muon1_clct_key_halfstrip

Definition at line 140 of file CSCTMBHeader2020_CCLUT.h.

◆ MPC_Muon1_clct_LR

unsigned CSCTMBHeader2020_CCLUT::MPC_Muon1_clct_LR

Definition at line 140 of file CSCTMBHeader2020_CCLUT.h.

◆ MPC_Muon1_clct_QuarterStrip

unsigned CSCTMBHeader2020_CCLUT::MPC_Muon1_clct_QuarterStrip

Definition at line 138 of file CSCTMBHeader2020_CCLUT.h.

◆ MPC_Muon1_lct_quality

unsigned CSCTMBHeader2020_CCLUT::MPC_Muon1_lct_quality

Definition at line 138 of file CSCTMBHeader2020_CCLUT.h.

◆ MPC_Muon1_lct_vpf

unsigned CSCTMBHeader2020_CCLUT::MPC_Muon1_lct_vpf

Definition at line 142 of file CSCTMBHeader2020_CCLUT.h.

◆ MPC_Muon_alct_bxn

unsigned CSCTMBHeader2020_CCLUT::MPC_Muon_alct_bxn

Definition at line 136 of file CSCTMBHeader2020_CCLUT.h.

◆ MPC_Muon_clct_pattern_bit5

unsigned CSCTMBHeader2020_CCLUT::MPC_Muon_clct_pattern_bit5

Definition at line 138 of file CSCTMBHeader2020_CCLUT.h.

◆ MPC_Muon_clct_pattern_low

unsigned CSCTMBHeader2020_CCLUT::MPC_Muon_clct_pattern_low

Definition at line 133 of file CSCTMBHeader2020_CCLUT.h.

◆ MPC_Muon_HMT_bit0

unsigned CSCTMBHeader2020_CCLUT::MPC_Muon_HMT_bit0

Definition at line 140 of file CSCTMBHeader2020_CCLUT.h.

◆ MPC_Muon_HMT_high

unsigned CSCTMBHeader2020_CCLUT::MPC_Muon_HMT_high

Definition at line 138 of file CSCTMBHeader2020_CCLUT.h.

◆ MPCAccept

unsigned CSCTMBHeader2020_CCLUT::MPCAccept

Definition at line 142 of file CSCTMBHeader2020_CCLUT.h.

◆ MPCDelay

unsigned CSCTMBHeader2020_CCLUT::MPCDelay

Definition at line 142 of file CSCTMBHeader2020_CCLUT.h.

◆ mxcfeb

unsigned CSCTMBHeader2020_CCLUT::mxcfeb

Definition at line 151 of file CSCTMBHeader2020_CCLUT.h.

◆ nCFEBs

unsigned CSCTMBHeader2020_CCLUT::nCFEBs

Definition at line 113 of file CSCTMBHeader2020_CCLUT.h.

◆ nHeaderFrames

unsigned CSCTMBHeader2020_CCLUT::nHeaderFrames

Definition at line 96 of file CSCTMBHeader2020_CCLUT.h.

◆ noALCT

unsigned CSCTMBHeader2020_CCLUT::noALCT

Definition at line 120 of file CSCTMBHeader2020_CCLUT.h.

◆ nphThresh

unsigned CSCTMBHeader2020_CCLUT::nphThresh

Definition at line 115 of file CSCTMBHeader2020_CCLUT.h.

◆ NRPCs

unsigned CSCTMBHeader2020_CCLUT::NRPCs

Definition at line 145 of file CSCTMBHeader2020_CCLUT.h.

◆ nTBins

unsigned CSCTMBHeader2020_CCLUT::nTBins

Definition at line 113 of file CSCTMBHeader2020_CCLUT.h.

◆ oneALCT

unsigned CSCTMBHeader2020_CCLUT::oneALCT

Definition at line 120 of file CSCTMBHeader2020_CCLUT.h.

◆ oneCLCT

unsigned CSCTMBHeader2020_CCLUT::oneCLCT

Definition at line 120 of file CSCTMBHeader2020_CCLUT.h.

◆ parity_err_cfeb_ram

unsigned CSCTMBHeader2020_CCLUT::parity_err_cfeb_ram

Definition at line 124 of file CSCTMBHeader2020_CCLUT.h.

◆ parity_err_cfeb_ram_2

unsigned CSCTMBHeader2020_CCLUT::parity_err_cfeb_ram_2

Definition at line 151 of file CSCTMBHeader2020_CCLUT.h.

◆ parity_err_rpc

unsigned CSCTMBHeader2020_CCLUT::parity_err_rpc

Definition at line 124 of file CSCTMBHeader2020_CCLUT.h.

◆ parity_err_summary

unsigned CSCTMBHeader2020_CCLUT::parity_err_summary

Definition at line 124 of file CSCTMBHeader2020_CCLUT.h.

◆ pid_thresh_postdrift

unsigned CSCTMBHeader2020_CCLUT::pid_thresh_postdrift

Definition at line 115 of file CSCTMBHeader2020_CCLUT.h.

◆ pidThresh

unsigned CSCTMBHeader2020_CCLUT::pidThresh

Definition at line 115 of file CSCTMBHeader2020_CCLUT.h.

◆ pop_l1a_match_win

unsigned CSCTMBHeader2020_CCLUT::pop_l1a_match_win

Definition at line 118 of file CSCTMBHeader2020_CCLUT.h.

◆ preTrigCounter

unsigned CSCTMBHeader2020_CCLUT::preTrigCounter

Definition at line 101 of file CSCTMBHeader2020_CCLUT.h.

◆ r_buf_fence_dist

unsigned CSCTMBHeader2020_CCLUT::r_buf_fence_dist

Definition at line 147 of file CSCTMBHeader2020_CCLUT.h.

◆ r_type

unsigned CSCTMBHeader2020_CCLUT::r_type

Definition at line 96 of file CSCTMBHeader2020_CCLUT.h.

◆ r_wr_buf_adr

unsigned CSCTMBHeader2020_CCLUT::r_wr_buf_adr

Definition at line 146 of file CSCTMBHeader2020_CCLUT.h.

◆ r_wr_buf_ready

unsigned CSCTMBHeader2020_CCLUT::r_wr_buf_ready

Definition at line 146 of file CSCTMBHeader2020_CCLUT.h.

◆ readCFEBs

unsigned CSCTMBHeader2020_CCLUT::readCFEBs

Definition at line 118 of file CSCTMBHeader2020_CCLUT.h.

◆ readCFEBs_2

unsigned CSCTMBHeader2020_CCLUT::readCFEBs_2

Definition at line 151 of file CSCTMBHeader2020_CCLUT.h.

◆ readoutCounter

unsigned CSCTMBHeader2020_CCLUT::readoutCounter

Definition at line 93 of file CSCTMBHeader2020_CCLUT.h.

◆ reverse_hs_csc

unsigned CSCTMBHeader2020_CCLUT::reverse_hs_csc

Definition at line 149 of file CSCTMBHeader2020_CCLUT.h.

◆ reverse_hs_me1a

unsigned CSCTMBHeader2020_CCLUT::reverse_hs_me1a

Definition at line 149 of file CSCTMBHeader2020_CCLUT.h.

◆ reverse_hs_me1b

unsigned CSCTMBHeader2020_CCLUT::reverse_hs_me1b

Definition at line 149 of file CSCTMBHeader2020_CCLUT.h.

◆ RPCEnable

unsigned CSCTMBHeader2020_CCLUT::RPCEnable

Definition at line 145 of file CSCTMBHeader2020_CCLUT.h.

◆ RPCList

unsigned CSCTMBHeader2020_CCLUT::RPCList

Definition at line 145 of file CSCTMBHeader2020_CCLUT.h.

◆ run3_trig_df

unsigned CSCTMBHeader2020_CCLUT::run3_trig_df

Definition at line 153 of file CSCTMBHeader2020_CCLUT.h.

◆ runID

unsigned CSCTMBHeader2020_CCLUT::runID

Definition at line 95 of file CSCTMBHeader2020_CCLUT.h.

◆ scopeExists

unsigned CSCTMBHeader2020_CCLUT::scopeExists

Definition at line 113 of file CSCTMBHeader2020_CCLUT.h.

◆ stackOvf

unsigned CSCTMBHeader2020_CCLUT::stackOvf

Definition at line 95 of file CSCTMBHeader2020_CCLUT.h.

◆ staggerCSC

unsigned CSCTMBHeader2020_CCLUT::staggerCSC

Definition at line 115 of file CSCTMBHeader2020_CCLUT.h.

◆ syncError

unsigned CSCTMBHeader2020_CCLUT::syncError

Definition at line 95 of file CSCTMBHeader2020_CCLUT.h.

◆ tmb_alct_only_ro

unsigned CSCTMBHeader2020_CCLUT::tmb_alct_only_ro

Definition at line 153 of file CSCTMBHeader2020_CCLUT.h.

◆ tmb_clct0_discard

unsigned CSCTMBHeader2020_CCLUT::tmb_clct0_discard

Definition at line 100 of file CSCTMBHeader2020_CCLUT.h.

◆ tmb_clct1_discard

unsigned CSCTMBHeader2020_CCLUT::tmb_clct1_discard

Definition at line 100 of file CSCTMBHeader2020_CCLUT.h.

◆ tmb_clct_only_ro

unsigned CSCTMBHeader2020_CCLUT::tmb_clct_only_ro

Definition at line 153 of file CSCTMBHeader2020_CCLUT.h.

◆ tmb_match_ro

unsigned CSCTMBHeader2020_CCLUT::tmb_match_ro

Definition at line 153 of file CSCTMBHeader2020_CCLUT.h.

◆ tmb_non_trig_keep

unsigned CSCTMBHeader2020_CCLUT::tmb_non_trig_keep

Definition at line 153 of file CSCTMBHeader2020_CCLUT.h.

◆ tmb_trig_keep

unsigned CSCTMBHeader2020_CCLUT::tmb_trig_keep

Definition at line 153 of file CSCTMBHeader2020_CCLUT.h.

◆ tmb_trig_pulse

unsigned CSCTMBHeader2020_CCLUT::tmb_trig_pulse

Definition at line 151 of file CSCTMBHeader2020_CCLUT.h.

◆ tmbMatch

unsigned CSCTMBHeader2020_CCLUT::tmbMatch

Definition at line 120 of file CSCTMBHeader2020_CCLUT.h.

◆ triadPersist

unsigned CSCTMBHeader2020_CCLUT::triadPersist

Definition at line 116 of file CSCTMBHeader2020_CCLUT.h.

◆ trig_source_vec

unsigned CSCTMBHeader2020_CCLUT::trig_source_vec

Definition at line 151 of file CSCTMBHeader2020_CCLUT.h.

◆ trigCounter

unsigned CSCTMBHeader2020_CCLUT::trigCounter

Definition at line 106 of file CSCTMBHeader2020_CCLUT.h.

◆ trigSourceVect

unsigned CSCTMBHeader2020_CCLUT::trigSourceVect

Definition at line 117 of file CSCTMBHeader2020_CCLUT.h.

◆ twoALCT

unsigned CSCTMBHeader2020_CCLUT::twoALCT

Definition at line 120 of file CSCTMBHeader2020_CCLUT.h.

◆ twoCLCT

unsigned CSCTMBHeader2020_CCLUT::twoCLCT

Definition at line 120 of file CSCTMBHeader2020_CCLUT.h.

◆ uptimeCounterHigh

unsigned CSCTMBHeader2020_CCLUT::uptimeCounterHigh

Definition at line 112 of file CSCTMBHeader2020_CCLUT.h.

◆ uptimeCounterLow

unsigned CSCTMBHeader2020_CCLUT::uptimeCounterLow

Definition at line 111 of file CSCTMBHeader2020_CCLUT.h.

◆ vmeExists

unsigned CSCTMBHeader2020_CCLUT::vmeExists

Definition at line 113 of file CSCTMBHeader2020_CCLUT.h.

◆ wr_buf_ready

unsigned CSCTMBHeader2020_CCLUT::wr_buf_ready

Definition at line 146 of file CSCTMBHeader2020_CCLUT.h.