CMS 3D CMS Logo

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

#include <CSCTMBHeader2020_TMB.h>

Inheritance diagram for CSCTMBHeader2020_TMB:
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_TMB ()
 
 CSCTMBHeader2020_TMB (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 setALCTMatchTime (uint16_t alctmatchtime) 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   alct_pretrig_win: 4
 
   unsigned   alctBXN: 5
 
   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_key_high: 1
 
   unsigned   clct0_key_low: 7
 
   unsigned   clct0_quality: 3
 
   unsigned   clct0_shape: 4
 
   unsigned   clct0_valid: 1
 
   unsigned   clct0Invalid: 1
 
   unsigned   clct1_key_high: 1
 
   unsigned   clct1_key_low: 7
 
   unsigned   clct1_quality: 3
 
   unsigned   clct1_shape: 4
 
   unsigned   clct1_valid: 1
 
   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   hasBuf: 1
 
   unsigned   hitThresh: 3
 
   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   preTrigCounterHigh: 15
 
   unsigned   preTrigCounterLow: 15
 
   unsigned   r_buf_fence_dist: 11
 
   unsigned   r_nlayers_hit_vec: 6
 
   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   runID: 4
 
   unsigned   scopeExists: 1
 
   unsigned   stackOvf: 1
 
   unsigned   staggerCSC: 1
 
   unsigned   syncError: 1
 
   unsigned   tmb_alct_only_ro: 1
 
   unsigned   tmb_allow_alct: 1
 
   unsigned   tmb_allow_alct_ro: 1
 
   unsigned   tmb_allow_clct: 1
 
   unsigned   tmb_allow_clct_ro: 1
 
   unsigned   tmb_allow_match: 1
 
   unsigned   tmb_allow_match_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   trigCounterHigh: 15
 
   unsigned   trigCounterLow: 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_TMB.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
NWORDS 

Definition at line 7 of file CSCTMBHeader2020_TMB.h.

Constructor & Destructor Documentation

◆ CSCTMBHeader2020_TMB() [1/2]

CSCTMBHeader2020_TMB::CSCTMBHeader2020_TMB ( )

copper TMB hybrid fw Run2 CLCT + Run3 MPC/LCT data format + anode-only HMT (March 2022)

Definition at line 18 of file CSCTMBHeader2020_TMB.cc.

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

18  {
19  bzero(data(), sizeInWords() * 2);
20  bits.nHeaderFrames = 42;
21  bits.e0bline = 0x6E0B;
22  bits.b0cline = 0xDB0C;
23  bits.firmRevCode = 0x801;
24  bits.nTBins = 12;
25  bits.nCFEBs = 5;
26 }
struct CSCTMBHeader2020_TMB::@502 bits
unsigned short * data() override
returns the first data word
unsigned short int sizeInWords() const override

◆ CSCTMBHeader2020_TMB() [2/2]

CSCTMBHeader2020_TMB::CSCTMBHeader2020_TMB ( const unsigned short *  buf)

Definition at line 28 of file CSCTMBHeader2020_TMB.cc.

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

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

Member Function Documentation

◆ addALCT0()

void CSCTMBHeader2020_TMB::addALCT0 ( const CSCALCTDigi digi)
overridevirtual

Implements CSCVTMBHeaderFormat.

Definition at line 151 of file CSCTMBHeader2020_TMB.cc.

References Exception.

151  {
152  throw cms::Exception("In CSC TMBHeaderFormat 2007, ALCTs belong in ALCT header");
153 }

◆ addALCT1()

void CSCTMBHeader2020_TMB::addALCT1 ( const CSCALCTDigi digi)
overridevirtual

Implements CSCVTMBHeaderFormat.

Definition at line 155 of file CSCTMBHeader2020_TMB.cc.

References Exception.

155  {
156  throw cms::Exception("In CSC TMBHeaderFormat 2007, ALCTs belong in ALCT header");
157 }

◆ addAnodeShower()

void CSCTMBHeader2020_TMB::addAnodeShower ( const CSCShowerDigi digi)
overridevirtual

Implements CSCVTMBHeaderFormat.

Definition at line 263 of file CSCTMBHeader2020_TMB.cc.

References bits, and CSCShowerDigi::bitsInTime().

263  {
264  uint16_t hmt_bits = digi.bitsInTime() & 0x3;
265  bits.anode_hmt = hmt_bits;
266 }
struct CSCTMBHeader2020_TMB::@502 bits
uint16_t bitsInTime() const
Definition: CSCShowerDigi.h:32

◆ addCathodeShower()

void CSCTMBHeader2020_TMB::addCathodeShower ( const CSCShowerDigi digi)
overridevirtual

For TMB hybrid fw cathode HMT bits are 0

Implements CSCVTMBHeaderFormat.

Definition at line 268 of file CSCTMBHeader2020_TMB.cc.

References bits.

268  {
270  /* uint16_t hmt_bits = digi.bitsInTime() & 0x3;
271  bits.cathode_hmt = hmt_bits;
272  */
273  bits.cathode_hmt = 0;
274 }
struct CSCTMBHeader2020_TMB::@502 bits

◆ addCLCT0()

void CSCTMBHeader2020_TMB::addCLCT0 ( const CSCCLCTDigi digi)
overridevirtual

for data packing

Implements CSCVTMBHeaderFormat.

Definition at line 159 of file CSCTMBHeader2020_TMB.cc.

References bits, CSCCLCTDigi::getBX(), CSCCLCTDigi::getFullBX(), CSCCLCTDigi::getKeyStrip(), CSCCLCTDigi::getPattern(), CSCCLCTDigi::getQuality(), CSCCLCTDigi::isValid(), topSingleLeptonDQM_PU_cfi::pattern, and testProducerWithPsetDescEmpty_cfi::x1.

159  {
160  unsigned halfStrip = digi.getKeyStrip();
161  unsigned pattern = digi.getPattern();
162  bits.clct0_valid = digi.isValid();
163  bits.clct0_quality = digi.getQuality();
164  bits.clct0_shape = pattern;
165  // first 7 bits of halfstrip
166  bits.clct0_key_low = halfStrip & (0x7F);
167  // most-significant (8th) bit
168  bits.clct0_key_high = (halfStrip >> 7) & (0x1);
169  bits.clct_bxn = digi.getBX();
170  bits.bxnPreTrigger = digi.getFullBX();
171 }
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
struct CSCTMBHeader2020_TMB::@502 bits
uint16_t getFullBX() const
return 12-bit full BX.
Definition: CSCCLCTDigi.h:165
bool isValid() const
check CLCT validity (1 - valid CLCT)
Definition: CSCCLCTDigi.h:50
uint16_t getBX() const
return BX
Definition: CSCCLCTDigi.h:123
uint16_t getPattern() const
return pattern
Definition: CSCCLCTDigi.h:62

◆ addCLCT1()

void CSCTMBHeader2020_TMB::addCLCT1 ( const CSCCLCTDigi digi)
overridevirtual

Implements CSCVTMBHeaderFormat.

Definition at line 173 of file CSCTMBHeader2020_TMB.cc.

References bits, CSCCLCTDigi::getFullBX(), CSCCLCTDigi::getKeyStrip(), CSCCLCTDigi::getPattern(), CSCCLCTDigi::getQuality(), CSCCLCTDigi::isValid(), topSingleLeptonDQM_PU_cfi::pattern, and testProducerWithPsetDescEmpty_cfi::x1.

173  {
174  unsigned halfStrip = digi.getKeyStrip();
175  unsigned pattern = digi.getPattern();
176  bits.clct1_valid = digi.isValid();
177  bits.clct1_quality = digi.getQuality();
178  bits.clct1_shape = pattern;
179  // first 7 bits of halfstrip
180  bits.clct1_key_low = halfStrip & (0x7F);
181  // most-significant (8th) bit
182  bits.clct1_key_high = (halfStrip >> 7) & (0x1);
183  // There is just one BX field common for CLCT0 and CLCT1 (since both
184  // are latched at the same BX); set it in addCLCT0().
185  bits.bxnPreTrigger = digi.getFullBX();
186 }
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
struct CSCTMBHeader2020_TMB::@502 bits
uint16_t getFullBX() const
return 12-bit full BX.
Definition: CSCCLCTDigi.h:165
bool isValid() const
check CLCT validity (1 - valid CLCT)
Definition: CSCCLCTDigi.h:50
uint16_t getPattern() const
return pattern
Definition: CSCCLCTDigi.h:62

◆ addCorrelatedLCT0()

void CSCTMBHeader2020_TMB::addCorrelatedLCT0 ( const CSCCorrelatedLCTDigi digi)
overridevirtual

For TMB hybrid fw 1/4 and 1/8 strip flags are 0

For TMB hybrid fw 5-bits clct_pattern and run3_pattern are 0

For TMB hybrid fw use run2 pattern ID to fill run3 4-bits bend/slope field

Implements CSCVTMBHeaderFormat.

Definition at line 188 of file CSCTMBHeader2020_TMB.cc.

References bits, CSCCorrelatedLCTDigi::getBend(), CSCCorrelatedLCTDigi::getBX(), CSCCorrelatedLCTDigi::getBX0(), CSCCorrelatedLCTDigi::getHMT(), CSCCorrelatedLCTDigi::getKeyWG(), CSCCorrelatedLCTDigi::getPattern(), CSCCorrelatedLCTDigi::getQuality(), CSCCorrelatedLCTDigi::getStrip(), CSCCorrelatedLCTDigi::isValid(), and testProducerWithPsetDescEmpty_cfi::x1.

188  {
189  bits.MPC_Muon0_lct_vpf = digi.isValid();
190  bits.MPC_Muon0_alct_key_wire = digi.getKeyWG();
191  bits.MPC_Muon0_clct_key_halfstrip = digi.getStrip(2) & 0xFF;
193  /*
194  bits.MPC_Muon0_clct_QuarterStrip = digi.getQuartStripBit() & 0x1;
195  bits.MPC_Muon0_clct_EighthStrip = digi.getEighthStripBit() & 0x1;
196  */
197  bits.MPC_Muon0_clct_QuarterStrip = 0;
198  bits.MPC_Muon0_clct_EighthStrip = 0;
199  bits.MPC_Muon0_lct_quality = digi.getQuality() & 0x7;
200 
202  /*
203  // To restore 5-bits Run3 CLCT Pattern ID first assume and set pattern ID = LCT0 Run3 pattern
204  uint16_t run3_pattern = digi.getRun3Pattern();
205  bits.MPC_Muon_clct_pattern_low = run3_pattern & 0xF;
206  bits.MPC_Muon_clct_pattern_bit5 = (run3_pattern >> 4) & 0x1;
207  */
208  bits.MPC_Muon_clct_pattern_low = 0;
209  bits.MPC_Muon_clct_pattern_bit5 = 0;
211  bits.MPC_Muon0_clct_bend_low = digi.getPattern() & 0x7;
212  bits.MPC_Muon0_clct_bend_bit4 = (digi.getPattern() >> 3) & 0x1;
213  bits.MPC_Muon0_clct_LR = digi.getBend() & 0x1;
214  bits.MPC_Muon_HMT_bit0 = digi.getHMT() & 0x1;
215  bits.MPC_Muon_HMT_high = (digi.getHMT() >> 1) & 0x7;
216  bits.MPC_Muon_alct_bxn = digi.getBX();
217  bits.MPC_Muon0_clct_bx0 = digi.getBX0();
218 }
uint16_t getPattern() const
return the Run-2 pattern ID
struct CSCTMBHeader2020_TMB::@502 bits
uint16_t getBX() const
return BX
bool isValid() const
return valid pattern bit
uint16_t getQuality() const
return the Quality
uint16_t getStrip(uint16_t n=2) const
return the key halfstrip from 0,159
uint16_t getKeyWG() const
return the key wire group. counts from 0.

◆ addCorrelatedLCT1()

void CSCTMBHeader2020_TMB::addCorrelatedLCT1 ( const CSCCorrelatedLCTDigi digi)
overridevirtual

For TMB hybrid fw 1/4 and 1/8 strip flags are 0

For TMB hybrid fw 5-bits clct_pattern and run3_pattern are 0

For TMB hybrid fw use run2 pattern ID to fill run3 4-bits bend/slope field

Implements CSCVTMBHeaderFormat.

Definition at line 220 of file CSCTMBHeader2020_TMB.cc.

References bits, CSCCorrelatedLCTDigi::getBend(), CSCCorrelatedLCTDigi::getBX(), CSCCorrelatedLCTDigi::getBX0(), CSCCorrelatedLCTDigi::getHMT(), CSCCorrelatedLCTDigi::getKeyWG(), CSCCorrelatedLCTDigi::getPattern(), CSCCorrelatedLCTDigi::getQuality(), CSCCorrelatedLCTDigi::getStrip(), CSCCorrelatedLCTDigi::isValid(), and testProducerWithPsetDescEmpty_cfi::x1.

220  {
221  bits.MPC_Muon1_lct_vpf = digi.isValid();
222  bits.MPC_Muon1_alct_key_wire = digi.getKeyWG();
223  bits.MPC_Muon1_clct_key_halfstrip = digi.getStrip(2) & 0xFF;
225  /*
226  bits.MPC_Muon1_clct_QuarterStrip = digi.getQuartStripBit() & 0x1;
227  bits.MPC_Muon1_clct_EighthStrip = digi.getEighthStripBit() & 0x1;
228  */
229  bits.MPC_Muon1_clct_QuarterStrip = 0;
230  bits.MPC_Muon1_clct_EighthStrip = 0;
231  bits.MPC_Muon1_lct_quality = digi.getQuality() & 0x7;
232 
234  /*
235  // To restore 5-bits Run3 CLCT Pattern ID assume that LCT0 pattern ID is already processed
236  // and combine LCT1 Run3 pattern to set final 5-bit pattern ID
237  if (digi.isValid()) {
238  uint16_t clct_pattern_id = bits.MPC_Muon_clct_pattern_low | (bits.MPC_Muon_clct_pattern_bit5 << 4);
239  uint16_t run3_pattern = digi.getRun3Pattern();
240  clct_pattern_id = (clct_pattern_id + (run3_pattern + 1) * 5) % 30;
241  bits.MPC_Muon_clct_pattern_low = clct_pattern_id & 0xF;
242  bits.MPC_Muon_clct_pattern_bit5 = (clct_pattern_id >> 4) & 0x1;
243  }
244  */
245  bits.MPC_Muon_clct_pattern_low = 0;
246  bits.MPC_Muon_clct_pattern_bit5 = 0;
248  bits.MPC_Muon1_clct_bend_low = digi.getPattern() & 0x7;
249  bits.MPC_Muon1_clct_bend_bit4 = (digi.getPattern() >> 3) & 0x1;
250  bits.MPC_Muon1_clct_LR = digi.getBend() & 0x1;
251  bits.MPC_Muon_HMT_bit0 = digi.getHMT() & 0x1;
252  bits.MPC_Muon_HMT_high = (digi.getHMT() >> 1) & 0x7;
253  bits.MPC_Muon_alct_bxn = digi.getBX();
254  bits.MPC_Muon1_clct_bx0 = digi.getBX0();
255 }
uint16_t getPattern() const
return the Run-2 pattern ID
struct CSCTMBHeader2020_TMB::@502 bits
uint16_t getBX() const
return BX
bool isValid() const
return valid pattern bit
uint16_t getQuality() const
return the Quality
uint16_t getStrip(uint16_t n=2) const
return the key halfstrip from 0,159
uint16_t getKeyWG() const
return the key wire group. counts from 0.

◆ addShower()

void CSCTMBHeader2020_TMB::addShower ( const CSCShowerDigi digi)
overridevirtual

Implements CSCVTMBHeaderFormat.

Definition at line 257 of file CSCTMBHeader2020_TMB.cc.

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

257  {
258  uint16_t hmt_bits = (digi.bitsInTime() & 0x3) + ((digi.bitsOutOfTime() & 0x3) << 2);
259  bits.MPC_Muon_HMT_bit0 = hmt_bits & 0x1;
260  bits.MPC_Muon_HMT_high = (hmt_bits >> 1) & 0x7;
261 }
uint16_t bitsOutOfTime() const
Definition: CSCShowerDigi.h:33
struct CSCTMBHeader2020_TMB::@502 bits
uint16_t bitsInTime() const
Definition: CSCShowerDigi.h:32

◆ alctHMT()

uint16_t CSCTMBHeader2020_TMB::alctHMT ( ) const
inlineoverridevirtual

Implements CSCVTMBHeaderFormat.

Definition at line 37 of file CSCTMBHeader2020_TMB.h.

References bits.

37 { return bits.anode_hmt; }
struct CSCTMBHeader2020_TMB::@502 bits

◆ ALCTMatchTime()

uint16_t CSCTMBHeader2020_TMB::ALCTMatchTime ( ) const
inlineoverridevirtual

Implements CSCVTMBHeaderFormat.

Definition at line 13 of file CSCTMBHeader2020_TMB.h.

References bits.

13 { return bits.matchWin; }
struct CSCTMBHeader2020_TMB::@502 bits

◆ ALCTOnly()

uint16_t CSCTMBHeader2020_TMB::ALCTOnly ( ) const
inlineoverridevirtual

Implements CSCVTMBHeaderFormat.

Definition at line 16 of file CSCTMBHeader2020_TMB.h.

References bits.

16 { return bits.alctOnly; }
struct CSCTMBHeader2020_TMB::@502 bits

◆ anodeShowerDigi()

CSCShowerDigi CSCTMBHeader2020_TMB::anodeShowerDigi ( uint32_t  idlayer) const
overridevirtual

returns anode HMT Shower digi

Implements CSCVTMBHeaderFormat.

Definition at line 139 of file CSCTMBHeader2020_TMB.cc.

References bits, and mps_fire::result.

139  {
140  uint16_t cscid = 0;
141  CSCShowerDigi result(bits.anode_hmt & 0x3, 0, cscid); // 2-bits intime, no out of time
142  return result;
143 }
struct CSCTMBHeader2020_TMB::@502 bits

◆ Bxn0Diff()

uint16_t CSCTMBHeader2020_TMB::Bxn0Diff ( ) const
inlineoverridevirtual

Implements CSCVTMBHeaderFormat.

Definition at line 18 of file CSCTMBHeader2020_TMB.h.

18 { return 0; }

◆ Bxn1Diff()

uint16_t CSCTMBHeader2020_TMB::Bxn1Diff ( ) const
inlineoverridevirtual

Implements CSCVTMBHeaderFormat.

Definition at line 19 of file CSCTMBHeader2020_TMB.h.

19 { return 0; }

◆ BXNCount()

uint16_t CSCTMBHeader2020_TMB::BXNCount ( ) const
inlineoverridevirtual

Implements CSCVTMBHeaderFormat.

Definition at line 12 of file CSCTMBHeader2020_TMB.h.

References bits.

12 { return bits.bxnCount; }
struct CSCTMBHeader2020_TMB::@502 bits

◆ cathodeShowerDigi()

CSCShowerDigi CSCTMBHeader2020_TMB::cathodeShowerDigi ( uint32_t  idlayer) const
overridevirtual

returns cathode HMT Shower digi

Implements CSCVTMBHeaderFormat.

Definition at line 145 of file CSCTMBHeader2020_TMB.cc.

References bits, and mps_fire::result.

145  {
146  uint16_t cscid = 0;
147  CSCShowerDigi result(bits.cathode_hmt & 0x3, 0, cscid); // 2-bits intime, no out of time
148  return result;
149 }
struct CSCTMBHeader2020_TMB::@502 bits

◆ check()

bool CSCTMBHeader2020_TMB::check ( ) const
inlineoverridevirtual

Implements CSCVTMBHeaderFormat.

Definition at line 65 of file CSCTMBHeader2020_TMB.h.

References bits.

65 { return bits.e0bline == 0x6e0b; }
struct CSCTMBHeader2020_TMB::@502 bits

◆ clct0_ComparatorCode()

uint16_t CSCTMBHeader2020_TMB::clct0_ComparatorCode ( ) const
inlineoverridevirtual

== Run 3 CSC-GEM Trigger Format

Implements CSCVTMBHeaderFormat.

Definition at line 31 of file CSCTMBHeader2020_TMB.h.

31 { return 0; }

◆ clct0_xky()

uint16_t CSCTMBHeader2020_TMB::clct0_xky ( ) const
inlineoverridevirtual

Implements CSCVTMBHeaderFormat.

Definition at line 33 of file CSCTMBHeader2020_TMB.h.

33 { return 0; }

◆ clct1_ComparatorCode()

uint16_t CSCTMBHeader2020_TMB::clct1_ComparatorCode ( ) const
inlineoverridevirtual

Implements CSCVTMBHeaderFormat.

Definition at line 32 of file CSCTMBHeader2020_TMB.h.

32 { return 0; }

◆ clct1_xky()

uint16_t CSCTMBHeader2020_TMB::clct1_xky ( ) const
inlineoverridevirtual

Implements CSCVTMBHeaderFormat.

Definition at line 34 of file CSCTMBHeader2020_TMB.h.

34 { return 0; }

◆ CLCTDigis()

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

returns CLCT digis

Implements CSCVTMBHeaderFormat.

Definition at line 37 of file CSCTMBHeader2020_TMB.cc.

References bits, topSingleLeptonDQM_PU_cfi::pattern, mps_fire::result, and digitizers_cfi::strip.

37  {
38  std::vector<CSCCLCTDigi> result;
39  unsigned halfstrip = bits.clct0_key_low + (bits.clct0_key_high << 7);
40  unsigned strip = halfstrip % 32;
41  unsigned cfeb = halfstrip / 32;
42  unsigned pattern = bits.clct0_shape;
43  unsigned bend = pattern & 0x1;
44 
45  CSCCLCTDigi digi0(
46  bits.clct0_valid, bits.clct0_quality, pattern, 1, bend, strip, cfeb, bits.clct_bxn, 1, bits.bxnPreTrigger);
47 
48  halfstrip = bits.clct1_key_low + (bits.clct1_key_high << 7);
49  strip = halfstrip % 32;
50  cfeb = halfstrip / 32;
51  pattern = bits.clct1_shape;
52  bend = pattern & 0x1;
53 
54  CSCCLCTDigi digi1(
55  bits.clct1_valid, bits.clct1_quality, pattern, 1, bend, strip, cfeb, bits.clct_bxn, 2, bits.bxnPreTrigger);
56  result.push_back(digi0);
57  result.push_back(digi1);
58  return result;
59 }
struct CSCTMBHeader2020_TMB::@502 bits

◆ clctHMT()

uint16_t CSCTMBHeader2020_TMB::clctHMT ( ) const
inlineoverridevirtual

Implements CSCVTMBHeaderFormat.

Definition at line 38 of file CSCTMBHeader2020_TMB.h.

References bits.

38 { return bits.cathode_hmt; }
struct CSCTMBHeader2020_TMB::@502 bits

◆ CLCTOnly()

uint16_t CSCTMBHeader2020_TMB::CLCTOnly ( ) const
inlineoverridevirtual

Implements CSCVTMBHeaderFormat.

Definition at line 15 of file CSCTMBHeader2020_TMB.h.

References bits.

15 { return bits.clctOnly; }
struct CSCTMBHeader2020_TMB::@502 bits

◆ CorrelatedLCTDigis()

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

returns CorrelatedLCT digis

For TMB Hybrid fw slope is 0 instead of Run3 (bits.MPC_Muon0_clct_bend_low & 0x7) | (bits.MPC_Muon0_clct_bend_bit4 << 3); 1/4 and 1/8 strips flags are 0







For TMB Hybrid fw run3 pattern is set to 0

For TMB Hybrid fw run2_pattern is directly set in Run3 4-bits bend/slope

1/4 strip flag

1/8 strip flag

for the first MPC word:

For TMB Hybrid fw run2_pattern is directly set in Run3 4-bits bend/slope

1/4 strip flag

1/8 strip flag

Implements CSCVTMBHeaderFormat.

Definition at line 62 of file CSCTMBHeader2020_TMB.cc.

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

62  {
63  std::vector<CSCCorrelatedLCTDigi> result;
64  unsigned strip = bits.MPC_Muon0_clct_key_halfstrip; //this goes from 0-223
65 
68  unsigned slope = 0;
69  unsigned hmt = bits.MPC_Muon_HMT_bit0 | (bits.MPC_Muon_HMT_high << 1); // HighMultiplicityTrigger
70  /* /// Run3 format, when full-featured Run3 copper TMB firmware will be available
71  unsigned clct_pattern_id = bits.MPC_Muon_clct_pattern_low | (bits.MPC_Muon_clct_pattern_bit5 << 4);
72  std::pair<unsigned, unsigned> run3_pattern_pair = run3_pattern_lookup_tbl[clct_pattern_id % 30];
73  unsigned run2_pattern = run2_pattern_lookup_tbl[bits.MPC_Muon0_clct_LR][slope];
74  unsigned run3_pattern = run3_pattern_pair.second & 0x7;
75  */
77  unsigned run3_pattern = 0;
79  unsigned run2_pattern = (bits.MPC_Muon0_clct_bend_low & 0x7) | (bits.MPC_Muon0_clct_bend_bit4 << 3);
80 
81  CSCCorrelatedLCTDigi digi(1,
82  bits.MPC_Muon0_lct_vpf,
83  bits.MPC_Muon0_lct_quality,
84  bits.MPC_Muon0_alct_key_wire,
85  strip,
86  run2_pattern,
87  bits.MPC_Muon0_clct_LR,
88  bits.MPC_Muon_alct_bxn,
89  0,
90  bits.MPC_Muon0_clct_bx0,
91  0,
92  0,
94  false,
95  false,
96  run3_pattern,
97  slope);
98  digi.setHMT(hmt);
99  result.push_back(digi);
101  strip = bits.MPC_Muon1_clct_key_halfstrip; //this goes from 0-223
102  /* /// Run3 format, when full-featured Run3 copper TMB firmware will be available
103  slope = (bits.MPC_Muon1_clct_bend_low & 0x7) | (bits.MPC_Muon1_clct_bend_bit4 << 3);
104  run2_pattern = run2_pattern_lookup_tbl[bits.MPC_Muon1_clct_LR][slope];
105  run3_pattern = run3_pattern_pair.first & 0x7;
106  run2_pattern = (bits.MPC_Muon1_clct_bend_low & 0x7) | (bits.MPC_Muon1_clct_bend_bit4 << 3);
107  */
109  run2_pattern = (bits.MPC_Muon1_clct_bend_low & 0x7) | (bits.MPC_Muon1_clct_bend_bit4 << 3);
110  digi = CSCCorrelatedLCTDigi(2,
111  bits.MPC_Muon1_lct_vpf,
112  bits.MPC_Muon1_lct_quality,
113  bits.MPC_Muon1_alct_key_wire,
114  strip,
115  run2_pattern,
116  bits.MPC_Muon1_clct_LR,
117  bits.MPC_Muon_alct_bxn,
118  0,
119  bits.MPC_Muon1_clct_bx0,
120  0,
121  0,
123  false,
124  false,
125  run3_pattern,
126  slope);
127  digi.setHMT(hmt);
128  result.push_back(digi);
129  return result;
130 }
static const double slope[3]
struct CSCTMBHeader2020_TMB::@502 bits

◆ data()

unsigned short* CSCTMBHeader2020_TMB::data ( )
inlineoverridevirtual

returns the first data word

Implements CSCVTMBHeaderFormat.

Definition at line 64 of file CSCTMBHeader2020_TMB.h.

References bits.

Referenced by CSCTMBHeader2020_TMB().

64 { return (unsigned short*)(&bits); }
struct CSCTMBHeader2020_TMB::@502 bits

◆ firmwareRevision()

uint16_t CSCTMBHeader2020_TMB::firmwareRevision ( ) const
inlineoverridevirtual

Implements CSCVTMBHeaderFormat.

Definition at line 24 of file CSCTMBHeader2020_TMB.h.

References bits.

24 { return bits.firmRevCode; }
struct CSCTMBHeader2020_TMB::@502 bits

◆ gem_enabled_fibers()

uint16_t CSCTMBHeader2020_TMB::gem_enabled_fibers ( ) const
inlineoverridevirtual

Implements CSCVTMBHeaderFormat.

Definition at line 39 of file CSCTMBHeader2020_TMB.h.

39 { return 0; }

◆ gem_fifo_pretrig()

uint16_t CSCTMBHeader2020_TMB::gem_fifo_pretrig ( ) const
inlineoverridevirtual

Implements CSCVTMBHeaderFormat.

Definition at line 41 of file CSCTMBHeader2020_TMB.h.

41 { return 0; }

◆ gem_fifo_tbins()

uint16_t CSCTMBHeader2020_TMB::gem_fifo_tbins ( ) const
inlineoverridevirtual

Implements CSCVTMBHeaderFormat.

Definition at line 40 of file CSCTMBHeader2020_TMB.h.

40 { return 0; }

◆ gem_sync_dataword()

uint16_t CSCTMBHeader2020_TMB::gem_sync_dataword ( ) const
inlineoverridevirtual

Implements CSCVTMBHeaderFormat.

Definition at line 43 of file CSCTMBHeader2020_TMB.h.

43 { return 0; }

◆ gem_timing_dataword()

uint16_t CSCTMBHeader2020_TMB::gem_timing_dataword ( ) const
inlineoverridevirtual

Implements CSCVTMBHeaderFormat.

Definition at line 44 of file CSCTMBHeader2020_TMB.h.

44 { return 0; }

◆ gem_zero_suppress()

uint16_t CSCTMBHeader2020_TMB::gem_zero_suppress ( ) const
inlineoverridevirtual

Implements CSCVTMBHeaderFormat.

Definition at line 42 of file CSCTMBHeader2020_TMB.h.

42 { return 0; }

◆ hmt_ALCTMatchTime()

uint16_t CSCTMBHeader2020_TMB::hmt_ALCTMatchTime ( ) const
inlineoverridevirtual

Implements CSCVTMBHeaderFormat.

Definition at line 36 of file CSCTMBHeader2020_TMB.h.

36 { return 0; }

◆ hmt_nhits()

uint16_t CSCTMBHeader2020_TMB::hmt_nhits ( ) const
inlineoverridevirtual

Implements CSCVTMBHeaderFormat.

Definition at line 35 of file CSCTMBHeader2020_TMB.h.

35 { return 0; }

◆ L1ANumber()

uint16_t CSCTMBHeader2020_TMB::L1ANumber ( ) const
inlineoverridevirtual

Implements CSCVTMBHeaderFormat.

Definition at line 20 of file CSCTMBHeader2020_TMB.h.

References bits.

20 { return bits.l1aNumber; }
struct CSCTMBHeader2020_TMB::@502 bits

◆ NCFEBs()

uint16_t CSCTMBHeader2020_TMB::NCFEBs ( ) const
inlineoverridevirtual

Implements CSCVTMBHeaderFormat.

Definition at line 22 of file CSCTMBHeader2020_TMB.h.

References bits.

22 { return bits.nCFEBs; }
struct CSCTMBHeader2020_TMB::@502 bits

◆ NHeaderFrames()

unsigned short int CSCTMBHeader2020_TMB::NHeaderFrames ( ) const
inlineoverridevirtual

Implements CSCVTMBHeaderFormat.

Definition at line 62 of file CSCTMBHeader2020_TMB.h.

References bits.

62 { return bits.nHeaderFrames; }
struct CSCTMBHeader2020_TMB::@502 bits

◆ NTBins()

uint16_t CSCTMBHeader2020_TMB::NTBins ( ) const
inlineoverridevirtual

Implements CSCVTMBHeaderFormat.

Definition at line 21 of file CSCTMBHeader2020_TMB.h.

References bits.

21 { return bits.nTBins; }
struct CSCTMBHeader2020_TMB::@502 bits

◆ print()

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

Implements CSCVTMBHeaderFormat.

Definition at line 276 of file CSCTMBHeader2020_TMB.cc.

References bits, and TauDecayModes::dec.

276  {
277  os << "...............(O)TMB2020 TMB Run3 Header.................."
278  << "\n";
279  os << std::hex << "BOC LINE " << bits.b0cline << " EOB " << bits.e0bline << "\n";
280  os << std::hex << "FW revision: 0x" << bits.firmRevCode << "\n";
281  os << std::dec << "fifoMode = " << bits.fifoMode << ", nTBins = " << bits.nTBins << "\n";
282  os << "boardID = " << bits.boardID << ", cscID = " << bits.cscID << "\n";
283  os << "l1aNumber = " << bits.l1aNumber << ", bxnCount = " << bits.bxnCount << "\n";
284  os << "trigSourceVect = " << bits.trigSourceVect << ", activeCFEBs = 0x" << std::hex
285  << (bits.activeCFEBs | (bits.activeCFEBs_2 << 5)) << ", readCFEBs = 0x" << std::hex
286  << (bits.readCFEBs | (bits.readCFEBs_2 << 5)) << std::dec << "\n";
287  os << "bxnPreTrigger = " << bits.bxnPreTrigger << "\n";
288  os << "tmbMatch = " << bits.tmbMatch << " alctOnly = " << bits.alctOnly << " clctOnly = " << bits.clctOnly << "\n";
289 
290  os << "CLCT Words:\n"
291  << " bits.clct0_valid = " << bits.clct0_valid << " bits.clct0_shape = " << bits.clct0_shape
292  << " bits.clct0_quality = " << bits.clct0_quality
293  << " halfstrip = " << (bits.clct0_key_low + (bits.clct0_key_high << 7)) << "\n";
294 
295  os << " bits.clct1_valid = " << bits.clct1_valid << " bits.clct1_shape = " << bits.clct1_shape
296  << " bits.clct1_quality = " << bits.clct1_quality
297  << " halfstrip = " << (bits.clct1_key_low + (bits.clct1_key_high << 7)) << "\n";
298 
299  os << "MPC Words:\n"
300  << " LCT0 valid = " << bits.MPC_Muon0_lct_vpf << " key WG = " << bits.MPC_Muon0_alct_key_wire
301  << " key halfstrip = " << bits.MPC_Muon0_clct_key_halfstrip
302  << " 1/4strip flag = " << bits.MPC_Muon0_clct_QuarterStrip
303  << " 1/8strip flag = " << bits.MPC_Muon0_clct_EighthStrip << "\n"
304  << " quality = " << bits.MPC_Muon0_lct_quality
305  << " slope/bend = " << ((bits.MPC_Muon0_clct_bend_low & 0x7) | (bits.MPC_Muon0_clct_bend_bit4 << 3))
306  << " L/R bend = " << bits.MPC_Muon0_clct_LR << "\n";
307 
308  os << " LCT1 valid = " << bits.MPC_Muon1_lct_vpf << " key WG = " << bits.MPC_Muon1_alct_key_wire
309  << " key halfstrip = " << bits.MPC_Muon1_clct_key_halfstrip
310  << " 1/4strip flag = " << bits.MPC_Muon1_clct_QuarterStrip
311  << " 1/8strip flag = " << bits.MPC_Muon1_clct_EighthStrip << "\n"
312  << " quality = " << bits.MPC_Muon1_lct_quality
313  << " slope/bend = " << ((bits.MPC_Muon1_clct_bend_low & 0x7) | (bits.MPC_Muon1_clct_bend_bit4 << 3))
314  << " L/R bend = " << bits.MPC_Muon1_clct_LR << "\n";
315 
316  os << " clct_5bit_pattern_id = " << (bits.MPC_Muon_clct_pattern_low | (bits.MPC_Muon_clct_pattern_bit5 << 4))
317  << " HMT = " << (bits.MPC_Muon_HMT_bit0 | (bits.MPC_Muon_HMT_high << 1)) << ", alctHMT = " << bits.anode_hmt
318  << ", clctHMT = " << bits.cathode_hmt << "\n";
319 }
struct CSCTMBHeader2020_TMB::@502 bits

◆ run3_CLCT_patternID()

uint16_t CSCTMBHeader2020_TMB::run3_CLCT_patternID ( ) const
inlineoverridevirtual

Implements CSCVTMBHeaderFormat.

Definition at line 45 of file CSCTMBHeader2020_TMB.h.

45 { return 0; }

◆ setALCTMatchTime()

void CSCTMBHeader2020_TMB::setALCTMatchTime ( uint16_t  alctmatchtime)
inlineoverridevirtual

Implements CSCVTMBHeaderFormat.

Definition at line 14 of file CSCTMBHeader2020_TMB.h.

References bits.

14 { bits.matchWin = alctmatchtime & 0xF; }
struct CSCTMBHeader2020_TMB::@502 bits

◆ setEventInformation()

void CSCTMBHeader2020_TMB::setEventInformation ( const CSCDMBHeader dmbHeader)
overridevirtual

Implements CSCVTMBHeaderFormat.

Definition at line 30 of file CSCTMBHeader2020_TMB.cc.

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

30  {
31  bits.cscID = dmbHeader.dmbID();
32  bits.l1aNumber = dmbHeader.l1a();
33  bits.bxnCount = dmbHeader.bxn();
34 }
unsigned bxn() const
Definition: CSCDMBHeader.h:37
struct CSCTMBHeader2020_TMB::@502 bits
unsigned l1a() const
Definition: CSCDMBHeader.h:39
unsigned dmbID() const
Definition: CSCDMBHeader.h:36

◆ setNCFEBs()

void CSCTMBHeader2020_TMB::setNCFEBs ( uint16_t  ncfebs)
inlineoverridevirtual

Implements CSCVTMBHeaderFormat.

Definition at line 23 of file CSCTMBHeader2020_TMB.h.

References bits.

23 { bits.nCFEBs = ncfebs & 0x7F; }
struct CSCTMBHeader2020_TMB::@502 bits

◆ showerDigi()

CSCShowerDigi CSCTMBHeader2020_TMB::showerDigi ( uint32_t  idlayer) const
overridevirtual

returns lct HMT Shower digi

Implements CSCVTMBHeaderFormat.

Definition at line 132 of file CSCTMBHeader2020_TMB.cc.

References bits, and mps_fire::result.

132  {
133  unsigned hmt_bits = bits.MPC_Muon_HMT_bit0 | (bits.MPC_Muon_HMT_high << 1); // HighMultiplicityTrigger bits
134  uint16_t cscid = 0; // ??? What is 4-bits CSC Id in CSshowerDigi
135  CSCShowerDigi result(hmt_bits & 0x3, (hmt_bits >> 2) & 0x3, cscid); // 2-bits intime, 2-bits out of time
136  return result;
137 }
struct CSCTMBHeader2020_TMB::@502 bits

◆ sizeInWords()

unsigned short int CSCTMBHeader2020_TMB::sizeInWords ( ) const
inlineoverridevirtual

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

Implements CSCVTMBHeaderFormat.

Definition at line 60 of file CSCTMBHeader2020_TMB.h.

References NWORDS.

Referenced by CSCTMBHeader2020_TMB().

◆ swapCLCTs()

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

◆ syncError()

uint16_t CSCTMBHeader2020_TMB::syncError ( ) const
inlineoverridevirtual

Implements CSCVTMBHeaderFormat.

Definition at line 25 of file CSCTMBHeader2020_TMB.h.

References bits.

25 { return bits.syncError; }
struct CSCTMBHeader2020_TMB::@502 bits

◆ syncErrorCLCT()

uint16_t CSCTMBHeader2020_TMB::syncErrorCLCT ( ) const
inlineoverridevirtual

Implements CSCVTMBHeaderFormat.

Definition at line 26 of file CSCTMBHeader2020_TMB.h.

References bits.

26 { return bits.clct_sync_err; }
struct CSCTMBHeader2020_TMB::@502 bits

◆ syncErrorMPC0()

uint16_t CSCTMBHeader2020_TMB::syncErrorMPC0 ( ) const
inlineoverridevirtual

Implements CSCVTMBHeaderFormat.

Definition at line 27 of file CSCTMBHeader2020_TMB.h.

27 { return 0; }

◆ syncErrorMPC1()

uint16_t CSCTMBHeader2020_TMB::syncErrorMPC1 ( ) const
inlineoverridevirtual

Implements CSCVTMBHeaderFormat.

Definition at line 28 of file CSCTMBHeader2020_TMB.h.

28 { return 0; }

◆ TMBMatch()

uint16_t CSCTMBHeader2020_TMB::TMBMatch ( ) const
inlineoverridevirtual

Implements CSCVTMBHeaderFormat.

Definition at line 17 of file CSCTMBHeader2020_TMB.h.

References bits.

17 { return bits.tmbMatch; }
struct CSCTMBHeader2020_TMB::@502 bits

Member Data Documentation

◆ activeCFEBs

unsigned CSCTMBHeader2020_TMB::activeCFEBs

Definition at line 112 of file CSCTMBHeader2020_TMB.h.

◆ activeCFEBs_2

unsigned CSCTMBHeader2020_TMB::activeCFEBs_2

Definition at line 145 of file CSCTMBHeader2020_TMB.h.

◆ aff_source

unsigned CSCTMBHeader2020_TMB::aff_source

Definition at line 112 of file CSCTMBHeader2020_TMB.h.

◆ alct0Amu

unsigned CSCTMBHeader2020_TMB::alct0Amu

Definition at line 122 of file CSCTMBHeader2020_TMB.h.

◆ alct0Key

unsigned CSCTMBHeader2020_TMB::alct0Key

Definition at line 122 of file CSCTMBHeader2020_TMB.h.

◆ alct0Quality

unsigned CSCTMBHeader2020_TMB::alct0Quality

Definition at line 122 of file CSCTMBHeader2020_TMB.h.

◆ alct0Valid

unsigned CSCTMBHeader2020_TMB::alct0Valid

Definition at line 122 of file CSCTMBHeader2020_TMB.h.

◆ alct1Amu

unsigned CSCTMBHeader2020_TMB::alct1Amu

Definition at line 123 of file CSCTMBHeader2020_TMB.h.

◆ alct1Key

unsigned CSCTMBHeader2020_TMB::alct1Key

Definition at line 123 of file CSCTMBHeader2020_TMB.h.

◆ alct1Quality

unsigned CSCTMBHeader2020_TMB::alct1Quality

Definition at line 123 of file CSCTMBHeader2020_TMB.h.

◆ alct1Valid

unsigned CSCTMBHeader2020_TMB::alct1Valid

Definition at line 123 of file CSCTMBHeader2020_TMB.h.

◆ alct_delay

unsigned CSCTMBHeader2020_TMB::alct_delay

Definition at line 110 of file CSCTMBHeader2020_TMB.h.

◆ alct_ecc_err

unsigned CSCTMBHeader2020_TMB::alct_ecc_err

Definition at line 125 of file CSCTMBHeader2020_TMB.h.

◆ alct_pretrig_win

unsigned CSCTMBHeader2020_TMB::alct_pretrig_win

Definition at line 122 of file CSCTMBHeader2020_TMB.h.

◆ alctBXN

unsigned CSCTMBHeader2020_TMB::alctBXN

Definition at line 125 of file CSCTMBHeader2020_TMB.h.

◆ alctCfg

unsigned CSCTMBHeader2020_TMB::alctCfg

Definition at line 125 of file CSCTMBHeader2020_TMB.h.

◆ alctCounterHigh

unsigned CSCTMBHeader2020_TMB::alctCounterHigh

Definition at line 104 of file CSCTMBHeader2020_TMB.h.

◆ alctCounterLow

unsigned CSCTMBHeader2020_TMB::alctCounterLow

Definition at line 102 of file CSCTMBHeader2020_TMB.h.

◆ alctOnly

unsigned CSCTMBHeader2020_TMB::alctOnly

Definition at line 114 of file CSCTMBHeader2020_TMB.h.

◆ anode_hmt

unsigned CSCTMBHeader2020_TMB::anode_hmt

Definition at line 147 of file CSCTMBHeader2020_TMB.h.

◆ b0cline

unsigned CSCTMBHeader2020_TMB::b0cline

Definition at line 84 of file CSCTMBHeader2020_TMB.h.

◆ bcb_read_enable

unsigned CSCTMBHeader2020_TMB::bcb_read_enable

Definition at line 123 of file CSCTMBHeader2020_TMB.h.

◆ bd_status

unsigned CSCTMBHeader2020_TMB::bd_status

Definition at line 91 of file CSCTMBHeader2020_TMB.h.

◆ bits

struct { ... } CSCTMBHeader2020_TMB::bits

◆ boardID

unsigned CSCTMBHeader2020_TMB::boardID

Definition at line 89 of file CSCTMBHeader2020_TMB.h.

◆ buf_fence_cnt

unsigned CSCTMBHeader2020_TMB::buf_fence_cnt

Definition at line 143 of file CSCTMBHeader2020_TMB.h.

◆ buf_fence_cnt_is_peak

unsigned CSCTMBHeader2020_TMB::buf_fence_cnt_is_peak

Definition at line 145 of file CSCTMBHeader2020_TMB.h.

◆ buf_q_adr_err

unsigned CSCTMBHeader2020_TMB::buf_q_adr_err

Definition at line 141 of file CSCTMBHeader2020_TMB.h.

◆ buf_q_empty

unsigned CSCTMBHeader2020_TMB::buf_q_empty

Definition at line 140 of file CSCTMBHeader2020_TMB.h.

◆ buf_q_full

unsigned CSCTMBHeader2020_TMB::buf_q_full

Definition at line 140 of file CSCTMBHeader2020_TMB.h.

◆ buf_q_ovf_err

unsigned CSCTMBHeader2020_TMB::buf_q_ovf_err

Definition at line 141 of file CSCTMBHeader2020_TMB.h.

◆ buf_q_udf_err

unsigned CSCTMBHeader2020_TMB::buf_q_udf_err

Definition at line 141 of file CSCTMBHeader2020_TMB.h.

◆ buf_stalled

unsigned CSCTMBHeader2020_TMB::buf_stalled

Definition at line 141 of file CSCTMBHeader2020_TMB.h.

◆ bufFull

unsigned CSCTMBHeader2020_TMB::bufFull

Definition at line 90 of file CSCTMBHeader2020_TMB.h.

◆ bx0_match

unsigned CSCTMBHeader2020_TMB::bx0_match

Definition at line 125 of file CSCTMBHeader2020_TMB.h.

◆ bxnCount

unsigned CSCTMBHeader2020_TMB::bxnCount

Definition at line 85 of file CSCTMBHeader2020_TMB.h.

◆ bxnPreTrigger

unsigned CSCTMBHeader2020_TMB::bxnPreTrigger

Definition at line 94 of file CSCTMBHeader2020_TMB.h.

◆ cathode_hmt

unsigned CSCTMBHeader2020_TMB::cathode_hmt

Definition at line 147 of file CSCTMBHeader2020_TMB.h.

◆ cfeb_badbits_blocked

unsigned CSCTMBHeader2020_TMB::cfeb_badbits_blocked

Definition at line 125 of file CSCTMBHeader2020_TMB.h.

◆ cfeb_badbits_found

unsigned CSCTMBHeader2020_TMB::cfeb_badbits_found

Definition at line 125 of file CSCTMBHeader2020_TMB.h.

◆ cfeb_badbits_found_2

unsigned CSCTMBHeader2020_TMB::cfeb_badbits_found_2

Definition at line 145 of file CSCTMBHeader2020_TMB.h.

◆ CFEBsEnabled

unsigned CSCTMBHeader2020_TMB::CFEBsEnabled

Definition at line 136 of file CSCTMBHeader2020_TMB.h.

◆ CFEBsEnabled_2

unsigned CSCTMBHeader2020_TMB::CFEBsEnabled_2

Definition at line 145 of file CSCTMBHeader2020_TMB.h.

◆ clct0_key_high

unsigned CSCTMBHeader2020_TMB::clct0_key_high

Definition at line 118 of file CSCTMBHeader2020_TMB.h.

◆ clct0_key_low

unsigned CSCTMBHeader2020_TMB::clct0_key_low

Definition at line 116 of file CSCTMBHeader2020_TMB.h.

◆ clct0_quality

unsigned CSCTMBHeader2020_TMB::clct0_quality

Definition at line 116 of file CSCTMBHeader2020_TMB.h.

◆ clct0_shape

unsigned CSCTMBHeader2020_TMB::clct0_shape

Definition at line 116 of file CSCTMBHeader2020_TMB.h.

◆ clct0_valid

unsigned CSCTMBHeader2020_TMB::clct0_valid

Definition at line 116 of file CSCTMBHeader2020_TMB.h.

◆ clct0Invalid

unsigned CSCTMBHeader2020_TMB::clct0Invalid

Definition at line 118 of file CSCTMBHeader2020_TMB.h.

◆ clct1_key_high

unsigned CSCTMBHeader2020_TMB::clct1_key_high

Definition at line 118 of file CSCTMBHeader2020_TMB.h.

◆ clct1_key_low

unsigned CSCTMBHeader2020_TMB::clct1_key_low

Definition at line 117 of file CSCTMBHeader2020_TMB.h.

◆ clct1_quality

unsigned CSCTMBHeader2020_TMB::clct1_quality

Definition at line 117 of file CSCTMBHeader2020_TMB.h.

◆ clct1_shape

unsigned CSCTMBHeader2020_TMB::clct1_shape

Definition at line 117 of file CSCTMBHeader2020_TMB.h.

◆ clct1_valid

unsigned CSCTMBHeader2020_TMB::clct1_valid

Definition at line 117 of file CSCTMBHeader2020_TMB.h.

◆ clct1Busy

unsigned CSCTMBHeader2020_TMB::clct1Busy

Definition at line 118 of file CSCTMBHeader2020_TMB.h.

◆ clct1Invalid

unsigned CSCTMBHeader2020_TMB::clct1Invalid

Definition at line 118 of file CSCTMBHeader2020_TMB.h.

◆ clct_bxn

unsigned CSCTMBHeader2020_TMB::clct_bxn

Definition at line 118 of file CSCTMBHeader2020_TMB.h.

◆ clct_sync_err

unsigned CSCTMBHeader2020_TMB::clct_sync_err

Definition at line 118 of file CSCTMBHeader2020_TMB.h.

◆ clct_width

unsigned CSCTMBHeader2020_TMB::clct_width

Definition at line 110 of file CSCTMBHeader2020_TMB.h.

◆ clctCounterHigh

unsigned CSCTMBHeader2020_TMB::clctCounterHigh

Definition at line 99 of file CSCTMBHeader2020_TMB.h.

◆ clctCounterLow

unsigned CSCTMBHeader2020_TMB::clctCounterLow

Definition at line 97 of file CSCTMBHeader2020_TMB.h.

◆ clctOnly

unsigned CSCTMBHeader2020_TMB::clctOnly

Definition at line 114 of file CSCTMBHeader2020_TMB.h.

◆ clock_lock_lost

unsigned CSCTMBHeader2020_TMB::clock_lock_lost

Definition at line 94 of file CSCTMBHeader2020_TMB.h.

◆ cscID

unsigned CSCTMBHeader2020_TMB::cscID

Definition at line 89 of file CSCTMBHeader2020_TMB.h.

◆ dduCode1

unsigned CSCTMBHeader2020_TMB::dduCode1

Definition at line 85 of file CSCTMBHeader2020_TMB.h.

◆ dduCode2

unsigned CSCTMBHeader2020_TMB::dduCode2

Definition at line 86 of file CSCTMBHeader2020_TMB.h.

◆ dduCode3

unsigned CSCTMBHeader2020_TMB::dduCode3

Definition at line 87 of file CSCTMBHeader2020_TMB.h.

◆ dmbThresh

unsigned CSCTMBHeader2020_TMB::dmbThresh

Definition at line 110 of file CSCTMBHeader2020_TMB.h.

◆ drift_delay

unsigned CSCTMBHeader2020_TMB::drift_delay

Definition at line 123 of file CSCTMBHeader2020_TMB.h.

◆ dupeALCT

unsigned CSCTMBHeader2020_TMB::dupeALCT

Definition at line 114 of file CSCTMBHeader2020_TMB.h.

◆ dupeCLCT

unsigned CSCTMBHeader2020_TMB::dupeCLCT

Definition at line 114 of file CSCTMBHeader2020_TMB.h.

◆ e0bline

unsigned CSCTMBHeader2020_TMB::e0bline

Definition at line 150 of file CSCTMBHeader2020_TMB.h.

◆ fifo_pretrig_rpc

unsigned CSCTMBHeader2020_TMB::fifo_pretrig_rpc

Definition at line 139 of file CSCTMBHeader2020_TMB.h.

◆ fifo_tbins_rpc

unsigned CSCTMBHeader2020_TMB::fifo_tbins_rpc

Definition at line 139 of file CSCTMBHeader2020_TMB.h.

◆ fifoMode

unsigned CSCTMBHeader2020_TMB::fifoMode

Definition at line 90 of file CSCTMBHeader2020_TMB.h.

◆ fifoPretrig

unsigned CSCTMBHeader2020_TMB::fifoPretrig

Definition at line 107 of file CSCTMBHeader2020_TMB.h.

◆ firmRevCode

unsigned CSCTMBHeader2020_TMB::firmRevCode

Definition at line 92 of file CSCTMBHeader2020_TMB.h.

◆ flag1

unsigned CSCTMBHeader2020_TMB::flag1

Definition at line 85 of file CSCTMBHeader2020_TMB.h.

◆ flag10

unsigned CSCTMBHeader2020_TMB::flag10

Definition at line 96 of file CSCTMBHeader2020_TMB.h.

◆ flag11

unsigned CSCTMBHeader2020_TMB::flag11

Definition at line 97 of file CSCTMBHeader2020_TMB.h.

◆ flag12

unsigned CSCTMBHeader2020_TMB::flag12

Definition at line 99 of file CSCTMBHeader2020_TMB.h.

◆ flag13

unsigned CSCTMBHeader2020_TMB::flag13

Definition at line 100 of file CSCTMBHeader2020_TMB.h.

◆ flag14

unsigned CSCTMBHeader2020_TMB::flag14

Definition at line 101 of file CSCTMBHeader2020_TMB.h.

◆ flag15

unsigned CSCTMBHeader2020_TMB::flag15

Definition at line 102 of file CSCTMBHeader2020_TMB.h.

◆ flag16

unsigned CSCTMBHeader2020_TMB::flag16

Definition at line 104 of file CSCTMBHeader2020_TMB.h.

◆ flag17

unsigned CSCTMBHeader2020_TMB::flag17

Definition at line 105 of file CSCTMBHeader2020_TMB.h.

◆ flag18

unsigned CSCTMBHeader2020_TMB::flag18

Definition at line 106 of file CSCTMBHeader2020_TMB.h.

◆ flag19

unsigned CSCTMBHeader2020_TMB::flag19

Definition at line 107 of file CSCTMBHeader2020_TMB.h.

◆ flag2

unsigned CSCTMBHeader2020_TMB::flag2

Definition at line 86 of file CSCTMBHeader2020_TMB.h.

◆ flag20

unsigned CSCTMBHeader2020_TMB::flag20

Definition at line 109 of file CSCTMBHeader2020_TMB.h.

◆ flag21

unsigned CSCTMBHeader2020_TMB::flag21

Definition at line 110 of file CSCTMBHeader2020_TMB.h.

◆ flag22

unsigned CSCTMBHeader2020_TMB::flag22

Definition at line 111 of file CSCTMBHeader2020_TMB.h.

◆ flag23

unsigned CSCTMBHeader2020_TMB::flag23

Definition at line 112 of file CSCTMBHeader2020_TMB.h.

◆ flag24

unsigned CSCTMBHeader2020_TMB::flag24

Definition at line 114 of file CSCTMBHeader2020_TMB.h.

◆ flag25

unsigned CSCTMBHeader2020_TMB::flag25

Definition at line 116 of file CSCTMBHeader2020_TMB.h.

◆ flag26

unsigned CSCTMBHeader2020_TMB::flag26

Definition at line 117 of file CSCTMBHeader2020_TMB.h.

◆ flag27

unsigned CSCTMBHeader2020_TMB::flag27

Definition at line 118 of file CSCTMBHeader2020_TMB.h.

◆ flag28

unsigned CSCTMBHeader2020_TMB::flag28

Definition at line 122 of file CSCTMBHeader2020_TMB.h.

◆ flag29

unsigned CSCTMBHeader2020_TMB::flag29

Definition at line 123 of file CSCTMBHeader2020_TMB.h.

◆ flag3

unsigned CSCTMBHeader2020_TMB::flag3

Definition at line 87 of file CSCTMBHeader2020_TMB.h.

◆ flag30

unsigned CSCTMBHeader2020_TMB::flag30

Definition at line 125 of file CSCTMBHeader2020_TMB.h.

◆ flag31

unsigned CSCTMBHeader2020_TMB::flag31

Definition at line 127 of file CSCTMBHeader2020_TMB.h.

◆ flag32

unsigned CSCTMBHeader2020_TMB::flag32

Definition at line 130 of file CSCTMBHeader2020_TMB.h.

◆ flag33

unsigned CSCTMBHeader2020_TMB::flag33

Definition at line 132 of file CSCTMBHeader2020_TMB.h.

◆ flag34

unsigned CSCTMBHeader2020_TMB::flag34

Definition at line 134 of file CSCTMBHeader2020_TMB.h.

◆ flag35

unsigned CSCTMBHeader2020_TMB::flag35

Definition at line 136 of file CSCTMBHeader2020_TMB.h.

◆ flag36

unsigned CSCTMBHeader2020_TMB::flag36

Definition at line 139 of file CSCTMBHeader2020_TMB.h.

◆ flag37

unsigned CSCTMBHeader2020_TMB::flag37

Definition at line 140 of file CSCTMBHeader2020_TMB.h.

◆ flag38

unsigned CSCTMBHeader2020_TMB::flag38

Definition at line 141 of file CSCTMBHeader2020_TMB.h.

◆ flag39

unsigned CSCTMBHeader2020_TMB::flag39

Definition at line 143 of file CSCTMBHeader2020_TMB.h.

◆ flag4

unsigned CSCTMBHeader2020_TMB::flag4

Definition at line 89 of file CSCTMBHeader2020_TMB.h.

◆ flag40

unsigned CSCTMBHeader2020_TMB::flag40

Definition at line 145 of file CSCTMBHeader2020_TMB.h.

◆ flag41

unsigned CSCTMBHeader2020_TMB::flag41

Definition at line 147 of file CSCTMBHeader2020_TMB.h.

◆ flag5

unsigned CSCTMBHeader2020_TMB::flag5

Definition at line 90 of file CSCTMBHeader2020_TMB.h.

◆ flag6

unsigned CSCTMBHeader2020_TMB::flag6

Definition at line 91 of file CSCTMBHeader2020_TMB.h.

◆ flag7

unsigned CSCTMBHeader2020_TMB::flag7

Definition at line 92 of file CSCTMBHeader2020_TMB.h.

◆ flag8

unsigned CSCTMBHeader2020_TMB::flag8

Definition at line 94 of file CSCTMBHeader2020_TMB.h.

◆ flag9

unsigned CSCTMBHeader2020_TMB::flag9

Definition at line 95 of file CSCTMBHeader2020_TMB.h.

◆ hasBuf

unsigned CSCTMBHeader2020_TMB::hasBuf

Definition at line 90 of file CSCTMBHeader2020_TMB.h.

◆ hitThresh

unsigned CSCTMBHeader2020_TMB::hitThresh

Definition at line 109 of file CSCTMBHeader2020_TMB.h.

◆ hs_layer_trig

unsigned CSCTMBHeader2020_TMB::hs_layer_trig

Definition at line 123 of file CSCTMBHeader2020_TMB.h.

◆ l1aNumber

unsigned CSCTMBHeader2020_TMB::l1aNumber

Definition at line 86 of file CSCTMBHeader2020_TMB.h.

◆ l1atype

unsigned CSCTMBHeader2020_TMB::l1atype

Definition at line 90 of file CSCTMBHeader2020_TMB.h.

◆ lctRankErr

unsigned CSCTMBHeader2020_TMB::lctRankErr

Definition at line 114 of file CSCTMBHeader2020_TMB.h.

◆ matchWin

unsigned CSCTMBHeader2020_TMB::matchWin

Definition at line 114 of file CSCTMBHeader2020_TMB.h.

◆ MPC_Muon0_alct_key_wire

unsigned CSCTMBHeader2020_TMB::MPC_Muon0_alct_key_wire

Definition at line 127 of file CSCTMBHeader2020_TMB.h.

◆ MPC_Muon0_clct_bend_bit4

unsigned CSCTMBHeader2020_TMB::MPC_Muon0_clct_bend_bit4

Definition at line 136 of file CSCTMBHeader2020_TMB.h.

◆ MPC_Muon0_clct_bend_low

unsigned CSCTMBHeader2020_TMB::MPC_Muon0_clct_bend_low

Definition at line 130 of file CSCTMBHeader2020_TMB.h.

◆ MPC_Muon0_clct_bx0

unsigned CSCTMBHeader2020_TMB::MPC_Muon0_clct_bx0

Definition at line 130 of file CSCTMBHeader2020_TMB.h.

◆ MPC_Muon0_clct_EighthStrip

unsigned CSCTMBHeader2020_TMB::MPC_Muon0_clct_EighthStrip

Definition at line 130 of file CSCTMBHeader2020_TMB.h.

◆ MPC_Muon0_clct_key_halfstrip

unsigned CSCTMBHeader2020_TMB::MPC_Muon0_clct_key_halfstrip

Definition at line 130 of file CSCTMBHeader2020_TMB.h.

◆ MPC_Muon0_clct_LR

unsigned CSCTMBHeader2020_TMB::MPC_Muon0_clct_LR

Definition at line 130 of file CSCTMBHeader2020_TMB.h.

◆ MPC_Muon0_clct_QuarterStrip

unsigned CSCTMBHeader2020_TMB::MPC_Muon0_clct_QuarterStrip

Definition at line 127 of file CSCTMBHeader2020_TMB.h.

◆ MPC_Muon0_lct_quality

unsigned CSCTMBHeader2020_TMB::MPC_Muon0_lct_quality

Definition at line 127 of file CSCTMBHeader2020_TMB.h.

◆ MPC_Muon0_lct_vpf

unsigned CSCTMBHeader2020_TMB::MPC_Muon0_lct_vpf

Definition at line 136 of file CSCTMBHeader2020_TMB.h.

◆ MPC_Muon1_alct_key_wire

unsigned CSCTMBHeader2020_TMB::MPC_Muon1_alct_key_wire

Definition at line 132 of file CSCTMBHeader2020_TMB.h.

◆ MPC_Muon1_clct_bend_bit4

unsigned CSCTMBHeader2020_TMB::MPC_Muon1_clct_bend_bit4

Definition at line 136 of file CSCTMBHeader2020_TMB.h.

◆ MPC_Muon1_clct_bend_low

unsigned CSCTMBHeader2020_TMB::MPC_Muon1_clct_bend_low

Definition at line 134 of file CSCTMBHeader2020_TMB.h.

◆ MPC_Muon1_clct_bx0

unsigned CSCTMBHeader2020_TMB::MPC_Muon1_clct_bx0

Definition at line 134 of file CSCTMBHeader2020_TMB.h.

◆ MPC_Muon1_clct_EighthStrip

unsigned CSCTMBHeader2020_TMB::MPC_Muon1_clct_EighthStrip

Definition at line 134 of file CSCTMBHeader2020_TMB.h.

◆ MPC_Muon1_clct_key_halfstrip

unsigned CSCTMBHeader2020_TMB::MPC_Muon1_clct_key_halfstrip

Definition at line 134 of file CSCTMBHeader2020_TMB.h.

◆ MPC_Muon1_clct_LR

unsigned CSCTMBHeader2020_TMB::MPC_Muon1_clct_LR

Definition at line 134 of file CSCTMBHeader2020_TMB.h.

◆ MPC_Muon1_clct_QuarterStrip

unsigned CSCTMBHeader2020_TMB::MPC_Muon1_clct_QuarterStrip

Definition at line 132 of file CSCTMBHeader2020_TMB.h.

◆ MPC_Muon1_lct_quality

unsigned CSCTMBHeader2020_TMB::MPC_Muon1_lct_quality

Definition at line 132 of file CSCTMBHeader2020_TMB.h.

◆ MPC_Muon1_lct_vpf

unsigned CSCTMBHeader2020_TMB::MPC_Muon1_lct_vpf

Definition at line 136 of file CSCTMBHeader2020_TMB.h.

◆ MPC_Muon_alct_bxn

unsigned CSCTMBHeader2020_TMB::MPC_Muon_alct_bxn

Definition at line 130 of file CSCTMBHeader2020_TMB.h.

◆ MPC_Muon_clct_pattern_bit5

unsigned CSCTMBHeader2020_TMB::MPC_Muon_clct_pattern_bit5

Definition at line 132 of file CSCTMBHeader2020_TMB.h.

◆ MPC_Muon_clct_pattern_low

unsigned CSCTMBHeader2020_TMB::MPC_Muon_clct_pattern_low

Definition at line 127 of file CSCTMBHeader2020_TMB.h.

◆ MPC_Muon_HMT_bit0

unsigned CSCTMBHeader2020_TMB::MPC_Muon_HMT_bit0

Definition at line 134 of file CSCTMBHeader2020_TMB.h.

◆ MPC_Muon_HMT_high

unsigned CSCTMBHeader2020_TMB::MPC_Muon_HMT_high

Definition at line 132 of file CSCTMBHeader2020_TMB.h.

◆ MPCAccept

unsigned CSCTMBHeader2020_TMB::MPCAccept

Definition at line 136 of file CSCTMBHeader2020_TMB.h.

◆ MPCDelay

unsigned CSCTMBHeader2020_TMB::MPCDelay

Definition at line 136 of file CSCTMBHeader2020_TMB.h.

◆ mxcfeb

unsigned CSCTMBHeader2020_TMB::mxcfeb

Definition at line 145 of file CSCTMBHeader2020_TMB.h.

◆ nCFEBs

unsigned CSCTMBHeader2020_TMB::nCFEBs

Definition at line 107 of file CSCTMBHeader2020_TMB.h.

◆ nHeaderFrames

unsigned CSCTMBHeader2020_TMB::nHeaderFrames

Definition at line 90 of file CSCTMBHeader2020_TMB.h.

◆ noALCT

unsigned CSCTMBHeader2020_TMB::noALCT

Definition at line 114 of file CSCTMBHeader2020_TMB.h.

◆ nphThresh

unsigned CSCTMBHeader2020_TMB::nphThresh

Definition at line 109 of file CSCTMBHeader2020_TMB.h.

◆ NRPCs

unsigned CSCTMBHeader2020_TMB::NRPCs

Definition at line 139 of file CSCTMBHeader2020_TMB.h.

◆ nTBins

unsigned CSCTMBHeader2020_TMB::nTBins

Definition at line 107 of file CSCTMBHeader2020_TMB.h.

◆ oneALCT

unsigned CSCTMBHeader2020_TMB::oneALCT

Definition at line 114 of file CSCTMBHeader2020_TMB.h.

◆ oneCLCT

unsigned CSCTMBHeader2020_TMB::oneCLCT

Definition at line 114 of file CSCTMBHeader2020_TMB.h.

◆ parity_err_cfeb_ram

unsigned CSCTMBHeader2020_TMB::parity_err_cfeb_ram

Definition at line 118 of file CSCTMBHeader2020_TMB.h.

◆ parity_err_cfeb_ram_2

unsigned CSCTMBHeader2020_TMB::parity_err_cfeb_ram_2

Definition at line 145 of file CSCTMBHeader2020_TMB.h.

◆ parity_err_rpc

unsigned CSCTMBHeader2020_TMB::parity_err_rpc

Definition at line 118 of file CSCTMBHeader2020_TMB.h.

◆ parity_err_summary

unsigned CSCTMBHeader2020_TMB::parity_err_summary

Definition at line 118 of file CSCTMBHeader2020_TMB.h.

◆ pid_thresh_postdrift

unsigned CSCTMBHeader2020_TMB::pid_thresh_postdrift

Definition at line 109 of file CSCTMBHeader2020_TMB.h.

◆ pidThresh

unsigned CSCTMBHeader2020_TMB::pidThresh

Definition at line 109 of file CSCTMBHeader2020_TMB.h.

◆ pop_l1a_match_win

unsigned CSCTMBHeader2020_TMB::pop_l1a_match_win

Definition at line 112 of file CSCTMBHeader2020_TMB.h.

◆ preTrigCounterHigh

unsigned CSCTMBHeader2020_TMB::preTrigCounterHigh

Definition at line 96 of file CSCTMBHeader2020_TMB.h.

◆ preTrigCounterLow

unsigned CSCTMBHeader2020_TMB::preTrigCounterLow

Definition at line 95 of file CSCTMBHeader2020_TMB.h.

◆ r_buf_fence_dist

unsigned CSCTMBHeader2020_TMB::r_buf_fence_dist

Definition at line 141 of file CSCTMBHeader2020_TMB.h.

◆ r_nlayers_hit_vec

unsigned CSCTMBHeader2020_TMB::r_nlayers_hit_vec

Definition at line 111 of file CSCTMBHeader2020_TMB.h.

◆ r_type

unsigned CSCTMBHeader2020_TMB::r_type

Definition at line 90 of file CSCTMBHeader2020_TMB.h.

◆ r_wr_buf_adr

unsigned CSCTMBHeader2020_TMB::r_wr_buf_adr

Definition at line 140 of file CSCTMBHeader2020_TMB.h.

◆ r_wr_buf_ready

unsigned CSCTMBHeader2020_TMB::r_wr_buf_ready

Definition at line 140 of file CSCTMBHeader2020_TMB.h.

◆ readCFEBs

unsigned CSCTMBHeader2020_TMB::readCFEBs

Definition at line 112 of file CSCTMBHeader2020_TMB.h.

◆ readCFEBs_2

unsigned CSCTMBHeader2020_TMB::readCFEBs_2

Definition at line 145 of file CSCTMBHeader2020_TMB.h.

◆ readoutCounter

unsigned CSCTMBHeader2020_TMB::readoutCounter

Definition at line 87 of file CSCTMBHeader2020_TMB.h.

◆ reverse_hs_csc

unsigned CSCTMBHeader2020_TMB::reverse_hs_csc

Definition at line 143 of file CSCTMBHeader2020_TMB.h.

◆ reverse_hs_me1a

unsigned CSCTMBHeader2020_TMB::reverse_hs_me1a

Definition at line 143 of file CSCTMBHeader2020_TMB.h.

◆ reverse_hs_me1b

unsigned CSCTMBHeader2020_TMB::reverse_hs_me1b

Definition at line 143 of file CSCTMBHeader2020_TMB.h.

◆ RPCEnable

unsigned CSCTMBHeader2020_TMB::RPCEnable

Definition at line 139 of file CSCTMBHeader2020_TMB.h.

◆ RPCList

unsigned CSCTMBHeader2020_TMB::RPCList

Definition at line 139 of file CSCTMBHeader2020_TMB.h.

◆ runID

unsigned CSCTMBHeader2020_TMB::runID

Definition at line 89 of file CSCTMBHeader2020_TMB.h.

◆ scopeExists

unsigned CSCTMBHeader2020_TMB::scopeExists

Definition at line 107 of file CSCTMBHeader2020_TMB.h.

◆ stackOvf

unsigned CSCTMBHeader2020_TMB::stackOvf

Definition at line 89 of file CSCTMBHeader2020_TMB.h.

◆ staggerCSC

unsigned CSCTMBHeader2020_TMB::staggerCSC

Definition at line 109 of file CSCTMBHeader2020_TMB.h.

◆ syncError

unsigned CSCTMBHeader2020_TMB::syncError

Definition at line 89 of file CSCTMBHeader2020_TMB.h.

◆ tmb_alct_only_ro

unsigned CSCTMBHeader2020_TMB::tmb_alct_only_ro

Definition at line 147 of file CSCTMBHeader2020_TMB.h.

◆ tmb_allow_alct

unsigned CSCTMBHeader2020_TMB::tmb_allow_alct

Definition at line 147 of file CSCTMBHeader2020_TMB.h.

◆ tmb_allow_alct_ro

unsigned CSCTMBHeader2020_TMB::tmb_allow_alct_ro

Definition at line 147 of file CSCTMBHeader2020_TMB.h.

◆ tmb_allow_clct

unsigned CSCTMBHeader2020_TMB::tmb_allow_clct

Definition at line 147 of file CSCTMBHeader2020_TMB.h.

◆ tmb_allow_clct_ro

unsigned CSCTMBHeader2020_TMB::tmb_allow_clct_ro

Definition at line 147 of file CSCTMBHeader2020_TMB.h.

◆ tmb_allow_match

unsigned CSCTMBHeader2020_TMB::tmb_allow_match

Definition at line 147 of file CSCTMBHeader2020_TMB.h.

◆ tmb_allow_match_ro

unsigned CSCTMBHeader2020_TMB::tmb_allow_match_ro

Definition at line 147 of file CSCTMBHeader2020_TMB.h.

◆ tmb_clct0_discard

unsigned CSCTMBHeader2020_TMB::tmb_clct0_discard

Definition at line 94 of file CSCTMBHeader2020_TMB.h.

◆ tmb_clct1_discard

unsigned CSCTMBHeader2020_TMB::tmb_clct1_discard

Definition at line 94 of file CSCTMBHeader2020_TMB.h.

◆ tmb_clct_only_ro

unsigned CSCTMBHeader2020_TMB::tmb_clct_only_ro

Definition at line 147 of file CSCTMBHeader2020_TMB.h.

◆ tmb_match_ro

unsigned CSCTMBHeader2020_TMB::tmb_match_ro

Definition at line 147 of file CSCTMBHeader2020_TMB.h.

◆ tmb_non_trig_keep

unsigned CSCTMBHeader2020_TMB::tmb_non_trig_keep

Definition at line 147 of file CSCTMBHeader2020_TMB.h.

◆ tmb_trig_keep

unsigned CSCTMBHeader2020_TMB::tmb_trig_keep

Definition at line 147 of file CSCTMBHeader2020_TMB.h.

◆ tmb_trig_pulse

unsigned CSCTMBHeader2020_TMB::tmb_trig_pulse

Definition at line 145 of file CSCTMBHeader2020_TMB.h.

◆ tmbMatch

unsigned CSCTMBHeader2020_TMB::tmbMatch

Definition at line 114 of file CSCTMBHeader2020_TMB.h.

◆ triadPersist

unsigned CSCTMBHeader2020_TMB::triadPersist

Definition at line 110 of file CSCTMBHeader2020_TMB.h.

◆ trig_source_vec

unsigned CSCTMBHeader2020_TMB::trig_source_vec

Definition at line 145 of file CSCTMBHeader2020_TMB.h.

◆ trigCounterHigh

unsigned CSCTMBHeader2020_TMB::trigCounterHigh

Definition at line 101 of file CSCTMBHeader2020_TMB.h.

◆ trigCounterLow

unsigned CSCTMBHeader2020_TMB::trigCounterLow

Definition at line 100 of file CSCTMBHeader2020_TMB.h.

◆ trigSourceVect

unsigned CSCTMBHeader2020_TMB::trigSourceVect

Definition at line 111 of file CSCTMBHeader2020_TMB.h.

◆ twoALCT

unsigned CSCTMBHeader2020_TMB::twoALCT

Definition at line 114 of file CSCTMBHeader2020_TMB.h.

◆ twoCLCT

unsigned CSCTMBHeader2020_TMB::twoCLCT

Definition at line 114 of file CSCTMBHeader2020_TMB.h.

◆ uptimeCounterHigh

unsigned CSCTMBHeader2020_TMB::uptimeCounterHigh

Definition at line 106 of file CSCTMBHeader2020_TMB.h.

◆ uptimeCounterLow

unsigned CSCTMBHeader2020_TMB::uptimeCounterLow

Definition at line 105 of file CSCTMBHeader2020_TMB.h.

◆ vmeExists

unsigned CSCTMBHeader2020_TMB::vmeExists

Definition at line 107 of file CSCTMBHeader2020_TMB.h.

◆ wr_buf_ready

unsigned CSCTMBHeader2020_TMB::wr_buf_ready

Definition at line 140 of file CSCTMBHeader2020_TMB.h.