CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Private Attributes
CSCCorrelatedLCTDigi Class Reference

#include <CSCCorrelatedLCTDigi.h>

Inheritance diagram for CSCCorrelatedLCTDigi:
csctf::TrackStub

Public Types

enum  LCTBXMask { kBXDataMask = 0x1 }
 
enum  Type {
  CLCTALCT, ALCTCLCT, ALCTCLCTGEM, ALCTCLCT2GEM,
  ALCT2GEM, CLCT2GEM, CLCTONLY, ALCTONLY
}
 SIMULATION ONLY ////. More...
 
enum  Version { Version::Legacy = 0, Version::Run3 }
 

Public Member Functions

void clear ()
 clear this LCT More...
 
 CSCCorrelatedLCTDigi (const uint16_t trknmb, const uint16_t valid, const uint16_t quality, const uint16_t keywire, const uint16_t strip, const uint16_t pattern, const uint16_t bend, const uint16_t bx, const uint16_t mpclink=0, const uint16_t bx0=0, const uint16_t syncErr=0, const uint16_t cscID=0, const Version version=Version::Legacy, const bool run3_quart_strip_bit=false, const bool run3_eighth_strip_bit=false, const uint16_t run3_pattern=0, const uint16_t run3_slope=0, const int type=ALCTCLCT)
 Constructors. More...
 
 CSCCorrelatedLCTDigi ()
 default (calls clear()) More...
 
const CSCALCTDigigetALCT () const
 
uint16_t getBend () const
 
uint16_t getBX () const
 return BX More...
 
uint16_t getBX0 () const
 
uint16_t getBXData () const
 return 1-bit BX as in data More...
 
const CSCCLCTDigigetCLCT () const
 
uint16_t getCLCTPattern () const
 
uint16_t getCSCID () const
 
bool getEighthStripBit () const
 get single eighth strip bit More...
 
float getFractionalSlope () const
 
float getFractionalStrip (uint16_t n=2) const
 return the fractional strip More...
 
const GEMPadDigigetGEM1 () const
 
const GEMPadDigigetGEM2 () const
 
uint16_t getHMT () const
 
uint16_t getKeyWG () const
 return the key wire group. counts from 0. More...
 
uint16_t getMPCLink () const
 return MPC link number, 0 means not sorted, 1-3 give MPC sorting rank More...
 
uint16_t getPattern () const
 return the Run-2 pattern ID More...
 
uint16_t getQuality () const
 return the Quality More...
 
bool getQuartStripBit () const
 get single quart strip bit More...
 
uint16_t getRun3Pattern () const
 return the Run-3 pattern ID More...
 
uint16_t getSlope () const
 return the slope More...
 
uint16_t getStrip (uint16_t n=2) const
 return the key halfstrip from 0,159 More...
 
uint16_t getStripType () const
 return strip type (obsolete since mid-2008) More...
 
uint16_t getSyncErr () const
 
uint16_t getTrknmb () const
 return track number More...
 
int getType () const
 
bool isRun3 () const
 Distinguish Run-1/2 from Run-3. More...
 
bool isValid () const
 return valid pattern bit More...
 
bool operator!= (const CSCCorrelatedLCTDigi &rhs) const
 
bool operator== (const CSCCorrelatedLCTDigi &) const
 Comparison. More...
 
void print () const
 Print content of correlated LCT digi. More...
 
void setALCT (const CSCALCTDigi &alct)
 
void setBend (const uint16_t b)
 set bend More...
 
void setBX (const uint16_t b)
 set bx More...
 
void setBX0 (const uint16_t b)
 set bx0 More...
 
void setCLCT (const CSCCLCTDigi &clct)
 
void setCSCID (const uint16_t c)
 set cscID More...
 
void setEighthStripBit (const bool eighthStripBit)
 set single eighth strip bit More...
 
void setGEM1 (const GEMPadDigi &gem)
 
void setGEM2 (const GEMPadDigi &gem)
 
void setHMT (const uint16_t h)
 set high-multiplicity bits More...
 
void setMPCLink (const uint16_t &link)
 Set mpc link number after MPC sorting. More...
 
void setPattern (const uint16_t p)
 set pattern More...
 
void setQuality (const uint16_t q)
 set quality code More...
 
void setQuartStripBit (const bool quartStripBit)
 set single quart strip bit More...
 
void setRun3 (const bool isRun3)
 
void setRun3Pattern (const uint16_t pattern)
 set Run-3 pattern More...
 
void setSlope (const uint16_t slope)
 set the slope More...
 
void setStrip (const uint16_t s)
 set strip More...
 
void setSyncErr (const uint16_t s)
 set syncErr More...
 
void setTrknmb (const uint16_t number)
 Set track number (1,2) after sorting LCTs. More...
 
void setType (int type)
 
void setValid (const uint16_t v)
 set valid More...
 
void setWireGroup (const uint16_t wiregroup)
 set wiregroup number More...
 

Private Attributes

CSCALCTDigi alct_
 
uint16_t bend
 
uint16_t bx
 
uint16_t bx0
 
CSCCLCTDigi clct_
 
uint16_t cscID
 
GEMPadDigi gem1_
 
GEMPadDigi gem2_
 
uint16_t hmt
 
uint16_t keywire
 
uint16_t mpclink
 
uint16_t pattern
 
uint16_t quality
 
bool run3_eighth_strip_bit_
 
uint16_t run3_pattern_
 
bool run3_quart_strip_bit_
 
uint16_t run3_slope_
 
uint16_t strip
 
uint16_t syncErr
 
uint16_t trknmb
 
int type_
 SIMULATION ONLY ////. More...
 
uint16_t valid
 
Version version_
 

Detailed Description

Digi for Correlated LCT trigger primitives.

Author
L. Gray, UF

Digi for Correlated LCT trigger primitives.

Author
L.Gray, UF

Definition at line 19 of file CSCCorrelatedLCTDigi.h.

Member Enumeration Documentation

◆ LCTBXMask

Enumerator
kBXDataMask 

Definition at line 23 of file CSCCorrelatedLCTDigi.h.

◆ Type

SIMULATION ONLY ////.

Enumerator
CLCTALCT 
ALCTCLCT 
ALCTCLCTGEM 
ALCTCLCT2GEM 
ALCT2GEM 
CLCT2GEM 
CLCTONLY 
ALCTONLY 

Definition at line 26 of file CSCCorrelatedLCTDigi.h.

26  {
27  CLCTALCT, // CLCT-centric
28  ALCTCLCT, // ALCT-centric
29  ALCTCLCTGEM, // ALCT-CLCT-1 GEM pad
30  ALCTCLCT2GEM, // ALCT-CLCT-2 GEM pads in coincidence
31  ALCT2GEM, // ALCT-2 GEM pads in coincidence
32  CLCT2GEM, // CLCT-2 GEM pads in coincidence
33  CLCTONLY, // Missing ALCT
34  ALCTONLY // Missing CLCT
35  };

◆ Version

Enumerator
Legacy 
Run3 

Definition at line 21 of file CSCCorrelatedLCTDigi.h.

21 { Legacy = 0, Run3 };

Constructor & Destructor Documentation

◆ CSCCorrelatedLCTDigi() [1/2]

CSCCorrelatedLCTDigi::CSCCorrelatedLCTDigi ( const uint16_t  trknmb,
const uint16_t  valid,
const uint16_t  quality,
const uint16_t  keywire,
const uint16_t  strip,
const uint16_t  pattern,
const uint16_t  bend,
const uint16_t  bx,
const uint16_t  mpclink = 0,
const uint16_t  bx0 = 0,
const uint16_t  syncErr = 0,
const uint16_t  cscID = 0,
const Version  version = Version::Legacy,
const bool  run3_quart_strip_bit = false,
const bool  run3_eighth_strip_bit = false,
const uint16_t  run3_pattern = 0,
const uint16_t  run3_slope = 0,
const int  type = ALCTCLCT 
)

Constructors.

Definition at line 14 of file CSCCorrelatedLCTDigi.cc.

32  : trknmb(itrknmb),
33  valid(ivalid),
34  quality(iquality),
35  keywire(ikeywire),
36  strip(istrip),
37  pattern(ipattern),
38  bend(ibend),
39  bx(ibx),
40  mpclink(impclink),
41  bx0(ibx0),
42  syncErr(isyncErr),
43  cscID(icscID),
44  hmt(0),
45  run3_quart_strip_bit_(run3_quart_strip_bit),
46  run3_eighth_strip_bit_(run3_eighth_strip_bit),
47  run3_pattern_(run3_pattern),
48  run3_slope_(run3_slope),
49  type_(type),
50  version_(version) {}
int type_
SIMULATION ONLY ////.

◆ CSCCorrelatedLCTDigi() [2/2]

CSCCorrelatedLCTDigi::CSCCorrelatedLCTDigi ( )

default (calls clear())

Default.

Definition at line 53 of file CSCCorrelatedLCTDigi.cc.

References clear().

53  {
54  clear(); // set contents to zero
55 }
void clear()
clear this LCT

Member Function Documentation

◆ clear()

void CSCCorrelatedLCTDigi::clear ( void  )

clear this LCT

Clears this LCT.

Definition at line 58 of file CSCCorrelatedLCTDigi.cc.

References alct_, bend, bx, bx0, clct_, CSCALCTDigi::clear(), CSCCLCTDigi::clear(), cscID, gem1_, gem2_, hmt, keywire, Legacy, mpclink, pattern, quality, run3_eighth_strip_bit_, run3_pattern_, run3_quart_strip_bit_, run3_slope_, strip, syncErr, trknmb, type_, valid, and version_.

Referenced by LCTContainer::clear(), CSCCorrelatedLCTDigi(), BeautifulSoup.Tag::setString(), and L1DummyProducer::SimpleDigi().

58  {
59  trknmb = 0;
60  valid = 0;
61  quality = 0;
62  keywire = 0;
63  strip = 0;
64  pattern = 0;
65  bend = 0;
66  bx = 0;
67  mpclink = 0;
68  bx0 = 0;
69  syncErr = 0;
70  cscID = 0;
71  hmt = 0;
73  // Run-3 variables
74  run3_quart_strip_bit_ = false;
75  run3_eighth_strip_bit_ = false;
76  run3_pattern_ = 0;
77  run3_slope_ = 0;
78  // clear the components
79  type_ = 1;
80  alct_.clear();
81  clct_.clear();
82  gem1_ = GEMPadDigi();
83  gem2_ = GEMPadDigi();
84 }
void clear()
clear this ALCT
Definition: CSCALCTDigi.cc:60
int type_
SIMULATION ONLY ////.
void clear()
clear this CLCT
Definition: CSCCLCTDigi.cc:73

◆ getALCT()

const CSCALCTDigi& CSCCorrelatedLCTDigi::getALCT ( ) const
inline

Definition at line 219 of file CSCCorrelatedLCTDigi.h.

References alct_.

Referenced by CSCStubMatcher::addGhostLCTs(), and L1TMuon::TriggerPrimitive::TriggerPrimitive().

219 { return alct_; }

◆ getBend()

uint16_t CSCCorrelatedLCTDigi::getBend ( ) const
inline

◆ getBX()

uint16_t CSCCorrelatedLCTDigi::getBX ( ) const
inline

◆ getBX0()

uint16_t CSCCorrelatedLCTDigi::getBX0 ( ) const
inline

◆ getBXData()

uint16_t CSCCorrelatedLCTDigi::getBXData ( ) const
inline

return 1-bit BX as in data

Definition at line 132 of file CSCCorrelatedLCTDigi.h.

References bx, and kBXDataMask.

◆ getCLCT()

const CSCCLCTDigi& CSCCorrelatedLCTDigi::getCLCT ( ) const
inline

Definition at line 220 of file CSCCorrelatedLCTDigi.h.

References clct_.

Referenced by CSCStubMatcher::addGhostLCTs(), and L1TMuon::TriggerPrimitive::TriggerPrimitive().

220 { return clct_; }

◆ getCLCTPattern()

uint16_t CSCCorrelatedLCTDigi::getCLCTPattern ( ) const

return CLCT pattern number (in use again Feb 2011) This function should not be used for Run-3

Definition at line 125 of file CSCCorrelatedLCTDigi.cc.

References isRun3(), SiStripPI::max, and pattern.

125  {
126  return (isRun3() ? std::numeric_limits<uint16_t>::max() : (pattern & 0xF));
127 }
bool isRun3() const
Distinguish Run-1/2 from Run-3.

◆ getCSCID()

uint16_t CSCCorrelatedLCTDigi::getCSCID ( ) const
inline

◆ getEighthStripBit()

bool CSCCorrelatedLCTDigi::getEighthStripBit ( ) const
inline

◆ getFractionalSlope()

float CSCCorrelatedLCTDigi::getFractionalSlope ( ) const

slope in number of half-strips/layer negative means left-bending positive means right-bending

Definition at line 102 of file CSCCorrelatedLCTDigi.cc.

References dqmMemoryStats::float, getBend(), getPattern(), getSlope(), isRun3(), and slope.

102  {
103  if (isRun3()) {
104  // 4-bit slope
105  float slope[17] = {
106  0.0, 0.125, 0.25, 0.375, 0.5, 0.625, 0.75, 0.875, 1.0, 1.125, 1.25, 1.375, 1.5, 1.625, 1.75, 2.0, 2.5};
107  return (2 * getBend() - 1) * slope[getSlope()];
108  } else {
109  int slope[11] = {0, 0, -8, 8, -6, 6, -4, 4, -2, 2, 0};
110  return float(slope[getPattern()] / 5.);
111  }
112 }
bool isRun3() const
Distinguish Run-1/2 from Run-3.
uint16_t getSlope() const
return the slope
uint16_t getPattern() const
return the Run-2 pattern ID
static const double slope[3]

◆ getFractionalStrip()

float CSCCorrelatedLCTDigi::getFractionalStrip ( uint16_t  n = 2) const

return the fractional strip

Definition at line 115 of file CSCCorrelatedLCTDigi.cc.

References getStrip(), and dqmiodumpmetadata::n.

Referenced by CSCStubMatcher::getGlobalPosition().

115  {
116  if (n == 8) {
117  return 0.125f * (getStrip(n) + 0.5);
118  } else if (n == 4) {
119  return 0.25f * (getStrip(n) + 0.5);
120  } else {
121  return 0.5f * (getStrip(n) + 0.5);
122  }
123 }
uint16_t getStrip(uint16_t n=2) const
return the key halfstrip from 0,159

◆ getGEM1()

const GEMPadDigi& CSCCorrelatedLCTDigi::getGEM1 ( ) const
inline

Definition at line 221 of file CSCCorrelatedLCTDigi.h.

References gem1_.

Referenced by LCTQualityControl::checkValid().

221 { return gem1_; }

◆ getGEM2()

const GEMPadDigi& CSCCorrelatedLCTDigi::getGEM2 ( ) const
inline

Definition at line 222 of file CSCCorrelatedLCTDigi.h.

References gem2_.

Referenced by LCTQualityControl::checkValid().

222 { return gem2_; }

◆ getHMT()

uint16_t CSCCorrelatedLCTDigi::getHMT ( ) const

Run-3 introduces high-multiplicity bits for CSCs. The allocation is different for ME1/1 and non-ME1/1 chambers. Both LCTs in a chamber are needed for the complete high-multiplicity trigger information

Definition at line 129 of file CSCCorrelatedLCTDigi.cc.

References hmt, isRun3(), and SiStripPI::max.

Referenced by CSCTMBHeader2020_TMB::addCorrelatedLCT0(), CSCTMBHeader2020_CCLUT::addCorrelatedLCT0(), CSCTMBHeader2020_GEM::addCorrelatedLCT0(), CSCTMBHeader2020_TMB::addCorrelatedLCT1(), CSCTMBHeader2020_CCLUT::addCorrelatedLCT1(), and CSCTMBHeader2020_GEM::addCorrelatedLCT1().

129 { return (isRun3() ? hmt : std::numeric_limits<uint16_t>::max()); }
bool isRun3() const
Distinguish Run-1/2 from Run-3.

◆ getKeyWG()

uint16_t CSCCorrelatedLCTDigi::getKeyWG ( ) const
inline

◆ getMPCLink()

uint16_t CSCCorrelatedLCTDigi::getMPCLink ( ) const
inline

return MPC link number, 0 means not sorted, 1-3 give MPC sorting rank

Definition at line 142 of file CSCCorrelatedLCTDigi.h.

References mpclink.

Referenced by LCTQualityControl::checkValid(), operator<<(), print(), and L1TMuon::TriggerPrimitive::TriggerPrimitive().

142 { return mpclink; }

◆ getPattern()

uint16_t CSCCorrelatedLCTDigi::getPattern ( ) const
inline

◆ getQuality()

uint16_t CSCCorrelatedLCTDigi::getQuality ( ) const
inline

◆ getQuartStripBit()

bool CSCCorrelatedLCTDigi::getQuartStripBit ( ) const
inline

◆ getRun3Pattern()

uint16_t CSCCorrelatedLCTDigi::getRun3Pattern ( ) const
inline

◆ getSlope()

uint16_t CSCCorrelatedLCTDigi::getSlope ( ) const
inline

◆ getStrip()

uint16_t CSCCorrelatedLCTDigi::getStrip ( uint16_t  n = 2) const

return the key halfstrip from 0,159

Definition at line 86 of file CSCCorrelatedLCTDigi.cc.

References getEighthStripBit(), getQuartStripBit(), dqmiodumpmetadata::n, and strip.

Referenced by CSCTMBHeader2006::addCorrelatedLCT0(), CSCTMBHeader2007_rev0x50c3::addCorrelatedLCT0(), CSCTMBHeader2020_Run2::addCorrelatedLCT0(), CSCTMBHeader2020_TMB::addCorrelatedLCT0(), CSCTMBHeader2013::addCorrelatedLCT0(), CSCTMBHeader2007::addCorrelatedLCT0(), CSCTMBHeader2020_CCLUT::addCorrelatedLCT0(), CSCTMBHeader2020_GEM::addCorrelatedLCT0(), CSCTMBHeader2007::addCorrelatedLCT1(), CSCTMBHeader2020_Run2::addCorrelatedLCT1(), CSCTMBHeader2020_TMB::addCorrelatedLCT1(), CSCTMBHeader2007_rev0x50c3::addCorrelatedLCT1(), CSCTMBHeader2013::addCorrelatedLCT1(), CSCTMBHeader2006::addCorrelatedLCT1(), CSCTMBHeader2020_CCLUT::addCorrelatedLCT1(), CSCTMBHeader2020_GEM::addCorrelatedLCT1(), CSCStubMatcher::addGhostLCTs(), L1TdeCSCTPG::areSameLCTs(), LCTQualityControl::checkValid(), getFractionalStrip(), OmtfAngleConverter::getGlobalEta(), AngleConverter::getGlobalEta(), CSCStubMatcher::getGlobalPosition(), AngleConverter::getProcessorPhi(), AngleConverterBase::getProcessorPhi(), operator<<(), print(), and L1TMuon::TriggerPrimitive::TriggerPrimitive().

86  {
87  // all 10 bits
88  if (n == 8) {
89  return 2 * getStrip(4) + getEighthStripBit();
90  }
91  // lowest 9 bits
92  else if (n == 4) {
93  return 2 * getStrip(2) + getQuartStripBit();
94  }
95  // lowest 8 bits
96  else {
97  return strip;
98  }
99 }
bool getEighthStripBit() const
get single eighth strip bit
uint16_t getStrip(uint16_t n=2) const
return the key halfstrip from 0,159
bool getQuartStripBit() const
get single quart strip bit

◆ getStripType()

uint16_t CSCCorrelatedLCTDigi::getStripType ( ) const
inline

return strip type (obsolete since mid-2008)

Definition at line 139 of file CSCCorrelatedLCTDigi.h.

References pattern.

Referenced by L1TdeCSCTPG::areSameLCTs().

139 { return ((pattern & 0x8) >> 3); }

◆ getSyncErr()

uint16_t CSCCorrelatedLCTDigi::getSyncErr ( ) const
inline

◆ getTrknmb()

uint16_t CSCCorrelatedLCTDigi::getTrknmb ( ) const
inline

◆ getType()

int CSCCorrelatedLCTDigi::getType ( ) const
inline

Definition at line 211 of file CSCCorrelatedLCTDigi.h.

References type_.

Referenced by LCTQualityControl::checkValid(), operator<<(), and print().

211 { return type_; }
int type_
SIMULATION ONLY ////.

◆ isRun3()

bool CSCCorrelatedLCTDigi::isRun3 ( ) const
inline

Distinguish Run-1/2 from Run-3.

Definition at line 207 of file CSCCorrelatedLCTDigi.h.

References Run3, and version_.

Referenced by getCLCTPattern(), getFractionalSlope(), getHMT(), operator<<(), setHMT(), and setRun3().

◆ isValid()

bool CSCCorrelatedLCTDigi::isValid ( void  ) const
inline

◆ operator!=()

bool CSCCorrelatedLCTDigi::operator!= ( const CSCCorrelatedLCTDigi rhs) const
inline

Definition at line 165 of file CSCCorrelatedLCTDigi.h.

References operator==().

165 { return !(this->operator==(rhs)); }
bool operator==(const CSCCorrelatedLCTDigi &) const
Comparison.

◆ operator==()

bool CSCCorrelatedLCTDigi::operator== ( const CSCCorrelatedLCTDigi rhs) const

Comparison.

Definition at line 136 of file CSCCorrelatedLCTDigi.cc.

References bend, bx, keywire, mpclink, pattern, quality, strip, trknmb, and valid.

Referenced by operator!=().

136  {
137  return ((trknmb == rhs.trknmb) && (quality == rhs.quality) && (keywire == rhs.keywire) && (strip == rhs.strip) &&
138  (pattern == rhs.pattern) && (bend == rhs.bend) && (bx == rhs.bx) && (valid == rhs.valid) &&
139  (mpclink == rhs.mpclink));
140 }

◆ print()

void CSCCorrelatedLCTDigi::print ( void  ) const

Print content of correlated LCT digi.

Debug.

Definition at line 143 of file CSCCorrelatedLCTDigi.cc.

References getBend(), getBX(), getKeyWG(), getMPCLink(), getPattern(), getQuality(), getStrip(), getTrknmb(), getType(), and isValid().

143  {
144  if (isValid()) {
145  edm::LogVerbatim("CSCDigi") << "CSC LCT #" << getTrknmb() << ": Valid = " << isValid()
146  << " Quality = " << getQuality() << " Key Wire = " << getKeyWG()
147  << " Strip = " << getStrip() << " Pattern = " << getPattern()
148  << " Bend = " << ((getBend() == 0) ? 'L' : 'R') << " BX = " << getBX()
149  << " MPC Link = " << getMPCLink() << " Type (SIM) = " << getType();
150  } else {
151  edm::LogVerbatim("CSCDigi") << "Not a valid correlated LCT.";
152  }
153 }
Log< level::Info, true > LogVerbatim
uint16_t getPattern() const
return the Run-2 pattern ID
uint16_t getMPCLink() const
return MPC link number, 0 means not sorted, 1-3 give MPC sorting rank
uint16_t getBX() const
return BX
bool isValid() const
return valid pattern bit
uint16_t getTrknmb() const
return track number
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.

◆ setALCT()

void CSCCorrelatedLCTDigi::setALCT ( const CSCALCTDigi alct)
inline

◆ setBend()

void CSCCorrelatedLCTDigi::setBend ( const uint16_t  b)
inline

set bend

Definition at line 189 of file CSCCorrelatedLCTDigi.h.

References b, and bend.

Referenced by CSCMotherboard::constructLCTs(), and CSCGEMMotherboard::constructLCTsGEM().

189 { bend = b; }
double b
Definition: hdecay.h:118

◆ setBX()

void CSCCorrelatedLCTDigi::setBX ( const uint16_t  b)
inline

set bx

Definition at line 192 of file CSCCorrelatedLCTDigi.h.

References b, and bx.

Referenced by CSCMotherboard::constructLCTs(), and CSCGEMMotherboard::constructLCTsGEM().

192 { bx = b; }
double b
Definition: hdecay.h:118

◆ setBX0()

void CSCCorrelatedLCTDigi::setBX0 ( const uint16_t  b)
inline

set bx0

Definition at line 195 of file CSCCorrelatedLCTDigi.h.

References b, and bx0.

Referenced by CSCMotherboard::constructLCTs(), and CSCGEMMotherboard::constructLCTsGEM().

195 { bx0 = b; }
double b
Definition: hdecay.h:118

◆ setCLCT()

void CSCCorrelatedLCTDigi::setCLCT ( const CSCCLCTDigi clct)
inline

◆ setCSCID()

void CSCCorrelatedLCTDigi::setCSCID ( const uint16_t  c)
inline

set cscID

Definition at line 201 of file CSCCorrelatedLCTDigi.h.

References c, and cscID.

Referenced by CSCMotherboard::constructLCTs(), and CSCGEMMotherboard::constructLCTsGEM().

◆ setEighthStripBit()

void CSCCorrelatedLCTDigi::setEighthStripBit ( const bool  eighthStripBit)
inline

◆ setGEM1()

void CSCCorrelatedLCTDigi::setGEM1 ( const GEMPadDigi gem)
inline

◆ setGEM2()

void CSCCorrelatedLCTDigi::setGEM2 ( const GEMPadDigi gem)
inline

◆ setHMT()

void CSCCorrelatedLCTDigi::setHMT ( const uint16_t  h)

set high-multiplicity bits

Definition at line 131 of file CSCCorrelatedLCTDigi.cc.

References h, hmt, isRun3(), and SiStripPI::max.

Referenced by CSCTMBHeader2020_TMB::CorrelatedLCTDigis(), CSCTMBHeader2020_CCLUT::CorrelatedLCTDigis(), and CSCTMBHeader2020_GEM::CorrelatedLCTDigis().

bool isRun3() const
Distinguish Run-1/2 from Run-3.
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Definition: Activities.doc:4

◆ setMPCLink()

void CSCCorrelatedLCTDigi::setMPCLink ( const uint16_t &  link)
inline

Set mpc link number after MPC sorting.

Definition at line 158 of file CSCCorrelatedLCTDigi.h.

References MainPageGenerator::link, and mpclink.

Referenced by CSCMotherboard::constructLCTs(), and CSCGEMMotherboard::constructLCTsGEM().

◆ setPattern()

void CSCCorrelatedLCTDigi::setPattern ( const uint16_t  p)
inline

◆ setQuality()

void CSCCorrelatedLCTDigi::setQuality ( const uint16_t  q)
inline

◆ setQuartStripBit()

void CSCCorrelatedLCTDigi::setQuartStripBit ( const bool  quartStripBit)
inline

◆ setRun3()

void CSCCorrelatedLCTDigi::setRun3 ( const bool  isRun3)

◆ setRun3Pattern()

void CSCCorrelatedLCTDigi::setRun3Pattern ( const uint16_t  pattern)
inline

◆ setSlope()

void CSCCorrelatedLCTDigi::setSlope ( const uint16_t  slope)
inline

set the slope

Definition at line 186 of file CSCCorrelatedLCTDigi.h.

References run3_slope_, and slope.

Referenced by CSCMotherboard::constructLCTs(), CSCGEMMotherboard::constructLCTsGEM(), and l1t::EMTFHit::CreateCSCCorrelatedLCTDigi().

186 { run3_slope_ = slope; }
static const double slope[3]

◆ setStrip()

void CSCCorrelatedLCTDigi::setStrip ( const uint16_t  s)
inline

◆ setSyncErr()

void CSCCorrelatedLCTDigi::setSyncErr ( const uint16_t  s)
inline

◆ setTrknmb()

void CSCCorrelatedLCTDigi::setTrknmb ( const uint16_t  number)
inline

◆ setType()

void CSCCorrelatedLCTDigi::setType ( int  type)
inline

◆ setValid()

void CSCCorrelatedLCTDigi::setValid ( const uint16_t  v)
inline

◆ setWireGroup()

void CSCCorrelatedLCTDigi::setWireGroup ( const uint16_t  wiregroup)
inline

set wiregroup number

Definition at line 168 of file CSCCorrelatedLCTDigi.h.

References keywire.

Referenced by CSCStubMatcher::addGhostLCTs(), CSCMotherboard::constructLCTs(), and CSCGEMMotherboard::constructLCTsGEM().

168 { keywire = wiregroup; }

Member Data Documentation

◆ alct_

CSCALCTDigi CSCCorrelatedLCTDigi::alct_
private

Definition at line 277 of file CSCCorrelatedLCTDigi.h.

Referenced by clear(), getALCT(), and setALCT().

◆ bend

uint16_t CSCCorrelatedLCTDigi::bend
private

Definition at line 249 of file CSCCorrelatedLCTDigi.h.

Referenced by clear(), getBend(), operator==(), and setBend().

◆ bx

uint16_t CSCCorrelatedLCTDigi::bx
private

Definition at line 250 of file CSCCorrelatedLCTDigi.h.

Referenced by clear(), getBX(), getBXData(), operator==(), and setBX().

◆ bx0

uint16_t CSCCorrelatedLCTDigi::bx0
private

Definition at line 252 of file CSCCorrelatedLCTDigi.h.

Referenced by clear(), getBX0(), and setBX0().

◆ clct_

CSCCLCTDigi CSCCorrelatedLCTDigi::clct_
private

Definition at line 278 of file CSCCorrelatedLCTDigi.h.

Referenced by clear(), getCLCT(), and setCLCT().

◆ cscID

uint16_t CSCCorrelatedLCTDigi::cscID
private

Definition at line 256 of file CSCCorrelatedLCTDigi.h.

Referenced by clear(), getCSCID(), and setCSCID().

◆ gem1_

GEMPadDigi CSCCorrelatedLCTDigi::gem1_
private

Definition at line 279 of file CSCCorrelatedLCTDigi.h.

Referenced by clear(), getGEM1(), and setGEM1().

◆ gem2_

GEMPadDigi CSCCorrelatedLCTDigi::gem2_
private

Definition at line 280 of file CSCCorrelatedLCTDigi.h.

Referenced by clear(), getGEM2(), and setGEM2().

◆ hmt

uint16_t CSCCorrelatedLCTDigi::hmt
private

Definition at line 264 of file CSCCorrelatedLCTDigi.h.

Referenced by clear(), getHMT(), and setHMT().

◆ keywire

uint16_t CSCCorrelatedLCTDigi::keywire
private

Definition at line 239 of file CSCCorrelatedLCTDigi.h.

Referenced by clear(), getKeyWG(), operator==(), and setWireGroup().

◆ mpclink

uint16_t CSCCorrelatedLCTDigi::mpclink
private

Definition at line 251 of file CSCCorrelatedLCTDigi.h.

Referenced by clear(), getMPCLink(), operator==(), and setMPCLink().

◆ pattern

uint16_t CSCCorrelatedLCTDigi::pattern
private

◆ quality

uint16_t CSCCorrelatedLCTDigi::quality
private

Definition at line 237 of file CSCCorrelatedLCTDigi.h.

Referenced by clear(), getQuality(), operator==(), and setQuality().

◆ run3_eighth_strip_bit_

bool CSCCorrelatedLCTDigi::run3_eighth_strip_bit_
private

Definition at line 268 of file CSCCorrelatedLCTDigi.h.

Referenced by clear(), getEighthStripBit(), and setEighthStripBit().

◆ run3_pattern_

uint16_t CSCCorrelatedLCTDigi::run3_pattern_
private

Definition at line 270 of file CSCCorrelatedLCTDigi.h.

Referenced by clear(), getRun3Pattern(), and setRun3Pattern().

◆ run3_quart_strip_bit_

bool CSCCorrelatedLCTDigi::run3_quart_strip_bit_
private

Definition at line 266 of file CSCCorrelatedLCTDigi.h.

Referenced by clear(), getQuartStripBit(), and setQuartStripBit().

◆ run3_slope_

uint16_t CSCCorrelatedLCTDigi::run3_slope_
private

Definition at line 272 of file CSCCorrelatedLCTDigi.h.

Referenced by clear(), getSlope(), and setSlope().

◆ strip

uint16_t CSCCorrelatedLCTDigi::strip
private

Definition at line 241 of file CSCCorrelatedLCTDigi.h.

Referenced by clear(), getStrip(), operator==(), and setStrip().

◆ syncErr

uint16_t CSCCorrelatedLCTDigi::syncErr
private

Definition at line 254 of file CSCCorrelatedLCTDigi.h.

Referenced by clear(), getSyncErr(), and setSyncErr().

◆ trknmb

uint16_t CSCCorrelatedLCTDigi::trknmb
private

Definition at line 230 of file CSCCorrelatedLCTDigi.h.

Referenced by clear(), getTrknmb(), operator==(), and setTrknmb().

◆ type_

int CSCCorrelatedLCTDigi::type_
private

◆ valid

uint16_t CSCCorrelatedLCTDigi::valid
private

Definition at line 233 of file CSCCorrelatedLCTDigi.h.

Referenced by clear(), isValid(), operator==(), and setValid().

◆ version_

Version CSCCorrelatedLCTDigi::version_
private

Definition at line 282 of file CSCCorrelatedLCTDigi.h.

Referenced by clear(), isRun3(), and setRun3().