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 ()
 default (calls clear()) 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...
 
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.

23 { kBXDataMask = 0x1 };

◆ 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) {}

◆ CSCCorrelatedLCTDigi() [2/2]

CSCCorrelatedLCTDigi::CSCCorrelatedLCTDigi ( )

default (calls clear())

Default.

Definition at line 53 of file CSCCorrelatedLCTDigi.cc.

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

References clear().

Member Function Documentation

◆ clear()

void CSCCorrelatedLCTDigi::clear ( void  )

clear this LCT

Clears this LCT.

Definition at line 58 of file CSCCorrelatedLCTDigi.cc.

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 }

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().

◆ getALCT()

const CSCALCTDigi& CSCCorrelatedLCTDigi::getALCT ( ) const
inline

Definition at line 219 of file CSCCorrelatedLCTDigi.h.

219 { return alct_; }

References alct_.

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

◆ 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.

132 { return bx & kBXDataMask; }

References bx, and kBXDataMask.

◆ getCLCT()

const CSCCLCTDigi& CSCCorrelatedLCTDigi::getCLCT ( ) const
inline

Definition at line 220 of file CSCCorrelatedLCTDigi.h.

220 { return clct_; }

References clct_.

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

◆ 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.

125  {
126  return (isRun3() ? std::numeric_limits<uint16_t>::max() : (pattern & 0xF));
127 }

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

◆ getCSCID()

uint16_t CSCCorrelatedLCTDigi::getCSCID ( ) const
inline

◆ getEighthStripBit()

bool CSCCorrelatedLCTDigi::getEighthStripBit ( ) const
inline

get single eighth strip bit

Definition at line 88 of file CSCCorrelatedLCTDigi.h.

88 { return run3_eighth_strip_bit_; }

References run3_eighth_strip_bit_.

Referenced by getStrip(), L1TdeCSCTPG::isLCTOffByOneBX(), and L1TMuon::TriggerPrimitive::TriggerPrimitive().

◆ 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.

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 }

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

◆ getFractionalStrip()

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

return the fractional strip

Definition at line 115 of file CSCCorrelatedLCTDigi.cc.

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 }

References getStrip(), and dqmiodumpmetadata::n.

Referenced by CSCStubMatcher::getGlobalPosition().

◆ getGEM1()

const GEMPadDigi& CSCCorrelatedLCTDigi::getGEM1 ( ) const
inline

Definition at line 221 of file CSCCorrelatedLCTDigi.h.

221 { return gem1_; }

References gem1_.

Referenced by LCTQualityControl::checkValid().

◆ getGEM2()

const GEMPadDigi& CSCCorrelatedLCTDigi::getGEM2 ( ) const
inline

Definition at line 222 of file CSCCorrelatedLCTDigi.h.

222 { return gem2_; }

References gem2_.

Referenced by LCTQualityControl::checkValid().

◆ 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.

129 { return (isRun3() ? hmt : std::numeric_limits<uint16_t>::max()); }

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

◆ 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.

142 { return mpclink; }

References mpclink.

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

◆ getPattern()

uint16_t CSCCorrelatedLCTDigi::getPattern ( ) const
inline

◆ getQuality()

uint16_t CSCCorrelatedLCTDigi::getQuality ( ) const
inline

◆ getQuartStripBit()

bool CSCCorrelatedLCTDigi::getQuartStripBit ( ) const
inline

get single quart strip bit

Definition at line 82 of file CSCCorrelatedLCTDigi.h.

82 { return run3_quart_strip_bit_; }

References run3_quart_strip_bit_.

Referenced by getStrip(), L1TdeCSCTPG::isLCTOffByOneBX(), and L1TMuon::TriggerPrimitive::TriggerPrimitive().

◆ getRun3Pattern()

uint16_t CSCCorrelatedLCTDigi::getRun3Pattern ( ) const
inline

return the Run-3 pattern ID

Definition at line 113 of file CSCCorrelatedLCTDigi.h.

113 { return run3_pattern_; }

References run3_pattern_.

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

◆ getSlope()

uint16_t CSCCorrelatedLCTDigi::getSlope ( ) const
inline

◆ getStrip()

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

◆ getStripType()

uint16_t CSCCorrelatedLCTDigi::getStripType ( ) const
inline

return strip type (obsolete since mid-2008)

Definition at line 139 of file CSCCorrelatedLCTDigi.h.

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

References pattern.

Referenced by L1TdeCSCTPG::isLCTOffByOneBX().

◆ 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.

211 { return type_; }

References type_.

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

◆ isRun3()

bool CSCCorrelatedLCTDigi::isRun3 ( ) const
inline

Distinguish Run-1/2 from Run-3.

Definition at line 207 of file CSCCorrelatedLCTDigi.h.

207 { return version_ == Version::Run3; }

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.

165 { return !(this->operator==(rhs)); }

References operator==().

◆ operator==()

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

Comparison.

Definition at line 136 of file CSCCorrelatedLCTDigi.cc.

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 }

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

Referenced by operator!=().

◆ print()

void CSCCorrelatedLCTDigi::print ( void  ) const

Print content of correlated LCT digi.

Debug.

Definition at line 143 of file CSCCorrelatedLCTDigi.cc.

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 }

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

◆ 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.

189 { bend = b; }

References b, and bend.

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

◆ setBX()

void CSCCorrelatedLCTDigi::setBX ( const uint16_t  b)
inline

set bx

Definition at line 192 of file CSCCorrelatedLCTDigi.h.

192 { bx = b; }

References b, and bx.

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

◆ setBX0()

void CSCCorrelatedLCTDigi::setBX0 ( const uint16_t  b)
inline

set bx0

Definition at line 195 of file CSCCorrelatedLCTDigi.h.

195 { bx0 = b; }

References b, and bx0.

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

◆ 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.

201 { cscID = c; }

References c, and cscID.

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

◆ setEighthStripBit()

void CSCCorrelatedLCTDigi::setEighthStripBit ( const bool  eighthStripBit)
inline

set single eighth strip bit

Definition at line 85 of file CSCCorrelatedLCTDigi.h.

85 { run3_eighth_strip_bit_ = eighthStripBit; }

References run3_eighth_strip_bit_.

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

◆ setGEM1()

void CSCCorrelatedLCTDigi::setGEM1 ( const GEMPadDigi gem)
inline

Definition at line 217 of file CSCCorrelatedLCTDigi.h.

217 { gem1_ = gem; }

References mixOne_premix_on_sim_cfi::gem, and gem1_.

Referenced by CSCGEMMotherboard::constructLCTsGEM().

◆ setGEM2()

void CSCCorrelatedLCTDigi::setGEM2 ( const GEMPadDigi gem)
inline

Definition at line 218 of file CSCCorrelatedLCTDigi.h.

218 { gem2_ = gem; }

References mixOne_premix_on_sim_cfi::gem, and gem2_.

Referenced by CSCGEMMotherboard::constructLCTsGEM().

◆ 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.

◆ setMPCLink()

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

Set mpc link number after MPC sorting.

Definition at line 158 of file CSCCorrelatedLCTDigi.h.

158 { mpclink = link; }

References MainPageGenerator::link, and mpclink.

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

◆ setPattern()

void CSCCorrelatedLCTDigi::setPattern ( const uint16_t  p)
inline

set pattern

Definition at line 180 of file CSCCorrelatedLCTDigi.h.

180 { pattern = p; }

References AlCaHLTBitMon_ParallelJobs::p, and pattern.

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

◆ setQuality()

void CSCCorrelatedLCTDigi::setQuality ( const uint16_t  q)
inline

set quality code

Definition at line 171 of file CSCCorrelatedLCTDigi.h.

171 { quality = q; }

References submitPVResolutionJobs::q, and quality.

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

◆ setQuartStripBit()

void CSCCorrelatedLCTDigi::setQuartStripBit ( const bool  quartStripBit)
inline

set single quart strip bit

Definition at line 79 of file CSCCorrelatedLCTDigi.h.

79 { run3_quart_strip_bit_ = quartStripBit; }

References run3_quart_strip_bit_.

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

◆ setRun3()

void CSCCorrelatedLCTDigi::setRun3 ( const bool  isRun3)

◆ setRun3Pattern()

void CSCCorrelatedLCTDigi::setRun3Pattern ( const uint16_t  pattern)
inline

set Run-3 pattern

Definition at line 183 of file CSCCorrelatedLCTDigi.h.

183 { run3_pattern_ = pattern; }

References pattern, and run3_pattern_.

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

◆ setSlope()

void CSCCorrelatedLCTDigi::setSlope ( const uint16_t  slope)
inline

set the slope

Definition at line 186 of file CSCCorrelatedLCTDigi.h.

186 { run3_slope_ = slope; }

References run3_slope_, and slope.

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

◆ setStrip()

void CSCCorrelatedLCTDigi::setStrip ( const uint16_t  s)
inline

set strip

Definition at line 177 of file CSCCorrelatedLCTDigi.h.

177 { strip = s; }

References alignCSCRings::s, and strip.

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

◆ setSyncErr()

void CSCCorrelatedLCTDigi::setSyncErr ( const uint16_t  s)
inline

set syncErr

Definition at line 198 of file CSCCorrelatedLCTDigi.h.

198 { syncErr = s; }

References alignCSCRings::s, and syncErr.

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

◆ setTrknmb()

void CSCCorrelatedLCTDigi::setTrknmb ( const uint16_t  number)
inline

◆ setType()

void CSCCorrelatedLCTDigi::setType ( int  type)
inline

Definition at line 213 of file CSCCorrelatedLCTDigi.h.

213 { type_ = type; }

References type_.

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

◆ setValid()

void CSCCorrelatedLCTDigi::setValid ( const uint16_t  v)
inline

set valid

Definition at line 174 of file CSCCorrelatedLCTDigi.h.

174 { valid = v; }

References findQualityFiles::v, and valid.

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

◆ setWireGroup()

void CSCCorrelatedLCTDigi::setWireGroup ( const uint16_t  wiregroup)
inline

set wiregroup number

Definition at line 168 of file CSCCorrelatedLCTDigi.h.

168 { keywire = wiregroup; }

References keywire.

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

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().

CSCCorrelatedLCTDigi::quality
uint16_t quality
Definition: CSCCorrelatedLCTDigi.h:237
CSCCorrelatedLCTDigi::trknmb
uint16_t trknmb
Definition: CSCCorrelatedLCTDigi.h:230
CSCCorrelatedLCTDigi::getEighthStripBit
bool getEighthStripBit() const
get single eighth strip bit
Definition: CSCCorrelatedLCTDigi.h:88
dqmMemoryStats.float
float
Definition: dqmMemoryStats.py:127
dqmiodumpmetadata.n
n
Definition: dqmiodumpmetadata.py:28
MainPageGenerator.link
link
Definition: MainPageGenerator.py:271
CSCCorrelatedLCTDigi::gem1_
GEMPadDigi gem1_
Definition: CSCCorrelatedLCTDigi.h:279
CSCCorrelatedLCTDigi::getTrknmb
uint16_t getTrknmb() const
return track number
Definition: CSCCorrelatedLCTDigi.h:64
GEMPadDigi
Definition: GEMPadDigi.h:17
CSCCorrelatedLCTDigi::ALCT2GEM
Definition: CSCCorrelatedLCTDigi.h:31
CSCCorrelatedLCTDigi::getQuartStripBit
bool getQuartStripBit() const
get single quart strip bit
Definition: CSCCorrelatedLCTDigi.h:82
CSCCorrelatedLCTDigi::getType
int getType() const
Definition: CSCCorrelatedLCTDigi.h:211
CSCCorrelatedLCTDigi::CLCTALCT
Definition: CSCCorrelatedLCTDigi.h:27
CSCCorrelatedLCTDigi::getStrip
uint16_t getStrip(uint16_t n=2) const
return the key halfstrip from 0,159
Definition: CSCCorrelatedLCTDigi.cc:86
CSCCorrelatedLCTDigi::getKeyWG
uint16_t getKeyWG() const
return the key wire group. counts from 0.
Definition: CSCCorrelatedLCTDigi.h:73
CSCALCTDigi::clear
void clear()
clear this ALCT
Definition: CSCALCTDigi.cc:49
CSCCorrelatedLCTDigi::Version::Legacy
CSCCorrelatedLCTDigi::type_
int type_
SIMULATION ONLY ////.
Definition: CSCCorrelatedLCTDigi.h:275
findQualityFiles.v
v
Definition: findQualityFiles.py:179
h
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
Definition: Activities.doc:4
CSCCorrelatedLCTDigi::bx
uint16_t bx
Definition: CSCCorrelatedLCTDigi.h:250
CSCCorrelatedLCTDigi::ALCTCLCT
Definition: CSCCorrelatedLCTDigi.h:28
CSCCorrelatedLCTDigi::bx0
uint16_t bx0
Definition: CSCCorrelatedLCTDigi.h:252
CSCCorrelatedLCTDigi::isRun3
bool isRun3() const
Distinguish Run-1/2 from Run-3.
Definition: CSCCorrelatedLCTDigi.h:207
CSCCorrelatedLCTDigi::valid
uint16_t valid
Definition: CSCCorrelatedLCTDigi.h:233
CSCCorrelatedLCTDigi::CLCT2GEM
Definition: CSCCorrelatedLCTDigi.h:32
CSCCorrelatedLCTDigi::run3_quart_strip_bit_
bool run3_quart_strip_bit_
Definition: CSCCorrelatedLCTDigi.h:266
alignCSCRings.s
s
Definition: alignCSCRings.py:92
CSCCorrelatedLCTDigi::syncErr
uint16_t syncErr
Definition: CSCCorrelatedLCTDigi.h:254
contentValuesFiles.number
number
Definition: contentValuesFiles.py:53
CSCCorrelatedLCTDigi::CLCTONLY
Definition: CSCCorrelatedLCTDigi.h:33
CSCCorrelatedLCTDigi::cscID
uint16_t cscID
Definition: CSCCorrelatedLCTDigi.h:256
CSCCorrelatedLCTDigi::bend
uint16_t bend
Definition: CSCCorrelatedLCTDigi.h:249
CSCCorrelatedLCTDigi::operator==
bool operator==(const CSCCorrelatedLCTDigi &) const
Comparison.
Definition: CSCCorrelatedLCTDigi.cc:136
CSCCorrelatedLCTDigi::getBend
uint16_t getBend() const
Definition: CSCCorrelatedLCTDigi.h:126
CSCCorrelatedLCTDigi::alct_
CSCALCTDigi alct_
Definition: CSCCorrelatedLCTDigi.h:277
CSCCorrelatedLCTDigi::gem2_
GEMPadDigi gem2_
Definition: CSCCorrelatedLCTDigi.h:280
b
double b
Definition: hdecay.h:118
CSCCorrelatedLCTDigi::ALCTCLCTGEM
Definition: CSCCorrelatedLCTDigi.h:29
CSCCorrelatedLCTDigi::run3_eighth_strip_bit_
bool run3_eighth_strip_bit_
Definition: CSCCorrelatedLCTDigi.h:268
CSCCorrelatedLCTDigi::ALCTCLCT2GEM
Definition: CSCCorrelatedLCTDigi.h:30
AlCaHLTBitMon_ParallelJobs.p
def p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
CSCCorrelatedLCTDigi::run3_pattern_
uint16_t run3_pattern_
Definition: CSCCorrelatedLCTDigi.h:270
SiStripPI::max
Definition: SiStripPayloadInspectorHelper.h:169
type
type
Definition: SiPixelVCal_PayloadInspector.cc:39
gainCalibHelper::gainCalibPI::type
type
Definition: SiPixelGainCalibHelper.h:40
CSCCorrelatedLCTDigi::Version::Run3
CSCCorrelatedLCTDigi::run3_slope_
uint16_t run3_slope_
Definition: CSCCorrelatedLCTDigi.h:272
CSCCorrelatedLCTDigi::hmt
uint16_t hmt
Definition: CSCCorrelatedLCTDigi.h:264
submitPVResolutionJobs.q
q
Definition: submitPVResolutionJobs.py:84
CSCCorrelatedLCTDigi::clear
void clear()
clear this LCT
Definition: CSCCorrelatedLCTDigi.cc:58
CSCCorrelatedLCTDigi::clct_
CSCCLCTDigi clct_
Definition: CSCCorrelatedLCTDigi.h:278
CSCCorrelatedLCTDigi::strip
uint16_t strip
Definition: CSCCorrelatedLCTDigi.h:241
CSCCorrelatedLCTDigi::version_
Version version_
Definition: CSCCorrelatedLCTDigi.h:282
edm::LogVerbatim
Log< level::Info, true > LogVerbatim
Definition: MessageLogger.h:128
CSCCorrelatedLCTDigi::getPattern
uint16_t getPattern() const
return the Run-2 pattern ID
Definition: CSCCorrelatedLCTDigi.h:110
CSCCLCTDigi::clear
void clear()
clear this CLCT
Definition: CSCCLCTDigi.cc:61
CSCCorrelatedLCTDigi::kBXDataMask
Definition: CSCCorrelatedLCTDigi.h:23
CSCCorrelatedLCTDigi::pattern
uint16_t pattern
Definition: CSCCorrelatedLCTDigi.h:246
CSCCorrelatedLCTDigi::getMPCLink
uint16_t getMPCLink() const
return MPC link number, 0 means not sorted, 1-3 give MPC sorting rank
Definition: CSCCorrelatedLCTDigi.h:142
CSCCorrelatedLCTDigi::keywire
uint16_t keywire
Definition: CSCCorrelatedLCTDigi.h:239
CSCCorrelatedLCTDigi::ALCTONLY
Definition: CSCCorrelatedLCTDigi.h:34
CSCCorrelatedLCTDigi::mpclink
uint16_t mpclink
Definition: CSCCorrelatedLCTDigi.h:251
mixOne_premix_on_sim_cfi.gem
gem
Definition: mixOne_premix_on_sim_cfi.py:194
c
auto & c
Definition: CAHitNtupletGeneratorKernelsImpl.h:56
CSCCorrelatedLCTDigi::getBX
uint16_t getBX() const
return BX
Definition: CSCCorrelatedLCTDigi.h:129
slope
static const double slope[3]
Definition: CastorTimeSlew.cc:6
CSCCorrelatedLCTDigi::isValid
bool isValid() const
return valid pattern bit
Definition: CSCCorrelatedLCTDigi.h:67
BeamSplash_cfg.version
version
Definition: BeamSplash_cfg.py:45
CSCCorrelatedLCTDigi::getQuality
uint16_t getQuality() const
return the Quality
Definition: CSCCorrelatedLCTDigi.h:70
CSCCorrelatedLCTDigi::getSlope
uint16_t getSlope() const
return the slope
Definition: CSCCorrelatedLCTDigi.h:116