CMS 3D CMS Logo

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

#include <CSCCLCTDigi.h>

Public Types

enum  CLCTKeyStripMasks { kEightStripMask = 0x1, kQuartStripMask = 0x1, kHalfStripMask = 0x1f }
 
enum  CLCTKeyStripShifts { kEightStripShift = 6, kQuartStripShift = 5, kHalfStripShift = 0 }
 
typedef std::vector< std::vector< uint16_t > > ComparatorContainer
 
enum  Version { Version::Legacy = 0, Version::Run3 }
 

Public Member Functions

void clear ()
 clear this CLCT More...
 
 CSCCLCTDigi ()
 default More...
 
 CSCCLCTDigi (const uint16_t valid, const uint16_t quality, const uint16_t pattern, const uint16_t striptype, const uint16_t bend, const uint16_t strip, const uint16_t cfeb, const uint16_t bx, const uint16_t trknmb=0, const uint16_t fullbx=0, const int16_t compCode=-1, const Version version=Version::Legacy)
 Constructors. More...
 
uint16_t getBend () const
 return bend More...
 
uint16_t getBX () const
 return BX More...
 
uint16_t getCFEB () const
 return Key CFEB ID More...
 
int16_t getCompCode () const
 
bool getEightStrip () const
 get single eight strip bit More...
 
uint16_t getFullBX () const
 return 12-bit full BX. More...
 
ComparatorContainer getHits () const
 
uint16_t getKeyStrip (uint16_t n=2) const
 
uint16_t getPattern () const
 return pattern More...
 
uint16_t getQuality () const
 return quality of a pattern (number of layers hit!) More...
 
bool getQuartStrip () const
 get single quart strip bit More...
 
uint16_t getStrip () const
 return halfstrip that goes from 0 to 31 in a (D)CFEB More...
 
uint16_t getStripType () const
 return striptype More...
 
uint16_t getTrknmb () const
 return track number (1,2) More...
 
bool isRun3 () const
 Distinguish Run-1/2 from Run-3. More...
 
bool isValid () const
 check CLCT validity (1 - valid CLCT) More...
 
bool operator!= (const CSCCLCTDigi &) const
 True if the preceding one is false. More...
 
bool operator== (const CSCCLCTDigi &) const
 True if the two LCTs have exactly the same members (except the number). More...
 
bool operator> (const CSCCLCTDigi &) const
 
void print () const
 Print content of digi. More...
 
void setBend (const uint16_t bend)
 set bend More...
 
void setBX (const uint16_t bx)
 set bx More...
 
void setCFEB (const uint16_t cfeb)
 set Key CFEB ID More...
 
void setCompCode (const int16_t code)
 
void setEightStrip (const bool eightStrip)
 set single eight strip bit More...
 
void setFullBX (const uint16_t fullbx)
 Set 12-bit full BX. More...
 
void setHits (const ComparatorContainer &hits)
 
void setPattern (const uint16_t pattern)
 set pattern More...
 
void setQuality (const uint16_t quality)
 set quality More...
 
void setQuartStrip (const bool quartStrip)
 set single quart strip bit More...
 
void setRun3 (bool isRun3)
 
void setStrip (const uint16_t strip)
 set strip More...
 
void setStripType (const uint16_t stripType)
 set stripType More...
 
void setTrknmb (const uint16_t number)
 Set track number (1,2) after sorting CLCTs. More...
 
void setValid (const uint16_t valid)
 set valid More...
 

Private Attributes

uint16_t bend_
 
uint16_t bx_
 
uint16_t cfeb_
 
int16_t compCode_
 
uint16_t fullbx_
 
ComparatorContainer hits_
 
uint16_t pattern_
 
uint16_t quality_
 
uint16_t strip_
 
uint16_t striptype_
 
uint16_t trknmb_
 
uint16_t valid_
 
Version version_
 

Detailed Description

Digi for CLCT trigger primitives.

Author
N. Terentiev, CMU

Definition at line 17 of file CSCCLCTDigi.h.

Member Typedef Documentation

◆ ComparatorContainer

typedef std::vector<std::vector<uint16_t> > CSCCLCTDigi::ComparatorContainer

Definition at line 19 of file CSCCLCTDigi.h.

Member Enumeration Documentation

◆ CLCTKeyStripMasks

Enumerator
kEightStripMask 
kQuartStripMask 
kHalfStripMask 

Definition at line 21 of file CSCCLCTDigi.h.

21 { kEightStripMask = 0x1, kQuartStripMask = 0x1, kHalfStripMask = 0x1f };

◆ CLCTKeyStripShifts

Enumerator
kEightStripShift 
kQuartStripShift 
kHalfStripShift 

Definition at line 22 of file CSCCLCTDigi.h.

◆ Version

enum CSCCLCTDigi::Version
strong
Enumerator
Legacy 
Run3 

Definition at line 23 of file CSCCLCTDigi.h.

23 { Legacy = 0, Run3 };

Constructor & Destructor Documentation

◆ CSCCLCTDigi() [1/2]

CSCCLCTDigi::CSCCLCTDigi ( const uint16_t  valid,
const uint16_t  quality,
const uint16_t  pattern,
const uint16_t  striptype,
const uint16_t  bend,
const uint16_t  strip,
const uint16_t  cfeb,
const uint16_t  bx,
const uint16_t  trknmb = 0,
const uint16_t  fullbx = 0,
const int16_t  compCode = -1,
const Version  version = Version::Legacy 
)

Constructors.

Definition at line 17 of file CSCCLCTDigi.cc.

29  : valid_(valid),
32  striptype_(striptype),
33  bend_(bend),
34  strip_(strip),
35  cfeb_(cfeb),
36  bx_(bx),
37  trknmb_(trknmb),
38  fullbx_(fullbx),
39  compCode_(compCode),
40  version_(version) {
41  hits_.resize(NUM_LAYERS);
42  for (auto& p : hits_) {
43  p.resize(CLCT_PATTERN_WIDTH);
44  }
45 }

References CLCT_PATTERN_WIDTH, hits_, NUM_LAYERS, and AlCaHLTBitMon_ParallelJobs::p.

◆ CSCCLCTDigi() [2/2]

CSCCLCTDigi::CSCCLCTDigi ( )

default

Default.

Definition at line 48 of file CSCCLCTDigi.cc.

49  : valid_(0),
50  quality_(0),
51  pattern_(0),
52  striptype_(0),
53  bend_(0),
54  strip_(0),
55  cfeb_(0),
56  bx_(0),
57  trknmb_(0),
58  fullbx_(0),
59  compCode_(-1),
61  hits_.resize(NUM_LAYERS);
62  for (auto& p : hits_) {
63  p.resize(CLCT_PATTERN_WIDTH);
64  }
65 }

References CLCT_PATTERN_WIDTH, hits_, NUM_LAYERS, and AlCaHLTBitMon_ParallelJobs::p.

Member Function Documentation

◆ clear()

void CSCCLCTDigi::clear ( void  )

clear this CLCT

Clears this CLCT.

Definition at line 68 of file CSCCLCTDigi.cc.

68  {
69  valid_ = 0;
70  quality_ = 0;
71  pattern_ = 0;
72  striptype_ = 0;
73  bend_ = 0;
74  strip_ = 0;
75  cfeb_ = 0;
76  bx_ = 0;
77  trknmb_ = 0;
78  fullbx_ = 0;
79  compCode_ = -1;
80  hits_.clear();
81  hits_.resize(NUM_LAYERS);
82  for (auto& p : hits_) {
83  p.resize(CLCT_PATTERN_WIDTH);
84  }
85 }

References bend_, bx_, cfeb_, CLCT_PATTERN_WIDTH, compCode_, fullbx_, hits_, NUM_LAYERS, AlCaHLTBitMon_ParallelJobs::p, pattern_, quality_, strip_, striptype_, trknmb_, and valid_.

Referenced by CSCCathodeLCTProcessor::clear(), CSCGEMMotherboardME21::correlateLCTsGEM(), CSCGEMMotherboardME11::correlateLCTsGEM(), CSCMotherboardME11::correlateLCTsME11(), and BeautifulSoup.Tag::setString().

◆ getBend()

uint16_t CSCCLCTDigi::getBend ( ) const
inline

◆ getBX()

uint16_t CSCCLCTDigi::getBX ( ) const
inline

◆ getCFEB()

uint16_t CSCCLCTDigi::getCFEB ( ) const
inline

return Key CFEB ID

Definition at line 93 of file CSCCLCTDigi.h.

93 { return cfeb_; }

References cfeb_.

Referenced by CSCTMBHeader2006::addCLCT0(), CSCTMBHeader2007::addCLCT0(), CSCTMBHeader2006::addCLCT1(), CSCTMBHeader2007::addCLCT1(), operator<<(), and print().

◆ getCompCode()

int16_t CSCCLCTDigi::getCompCode ( ) const
inline

Definition at line 125 of file CSCCLCTDigi.h.

125 { return (isRun3() ? compCode_ : -1); }

References compCode_, and isRun3().

Referenced by operator<<(), operator==(), and print().

◆ getEightStrip()

bool CSCCLCTDigi::getEightStrip ( ) const

get single eight strip bit

Definition at line 106 of file CSCCLCTDigi.cc.

106 { return (strip_ >> kEightStripShift) & kEightStripMask; }

References kEightStripMask, kEightStripShift, and strip_.

Referenced by getKeyStrip().

◆ getFullBX()

uint16_t CSCCLCTDigi::getFullBX ( ) const
inline

◆ getHits()

ComparatorContainer CSCCLCTDigi::getHits ( ) const
inline

Definition at line 130 of file CSCCLCTDigi.h.

130 { return hits_; }

References hits_.

◆ getKeyStrip()

uint16_t CSCCLCTDigi::getKeyStrip ( uint16_t  n = 2) const

Convert strip_ and cfeb_ to keyStrip. Each CFEB has up to 16 strips (32 halfstrips). There are 5 cfebs. The "strip_" variable is one of 32 halfstrips on the keylayer of a single CFEB, so that Halfstrip = (cfeb*32 + strip). This function can also return the quartstrip or eightstrip when the comparator code has been set

Definition at line 87 of file CSCCLCTDigi.cc.

87  {
88  // 10-bit case for strip data word
89  if (compCode_ != -1 and n == 8) {
90  return getKeyStrip(4) * 2 + getEightStrip();
91  }
92  // 9-bit case for strip data word
93  else if (compCode_ != -1 and n == 4) {
94  return getKeyStrip(2) * 2 + getQuartStrip();
95  }
96  // 8-bit case for strip data word (all other cases)
97  else {
98  return cfeb_ * 32 + getStrip();
99  }
100 }

References cfeb_, compCode_, getEightStrip(), getQuartStrip(), getStrip(), and dqmiodumpmetadata::n.

Referenced by CSCTMBHeader2007_rev0x50c3::addCLCT0(), CSCTMBHeader2013::addCLCT0(), CSCTMBHeader2013::addCLCT1(), CSCTMBHeader2007_rev0x50c3::addCLCT1(), CSCGEMMotherboard::bestMatchingPad(), CSCMotherboard::constructLCTs(), CSCGEMMotherboard::constructLCTsGEM(), CSCGEMMotherboard::getPad(), CSCCathodeLCTAnalyzer::lctDigis(), CSCGEMMotherboard::matchingPads(), operator<<(), operator==(), operator>(), and print().

◆ getPattern()

uint16_t CSCCLCTDigi::getPattern ( ) const
inline

◆ getQuality()

uint16_t CSCCLCTDigi::getQuality ( ) const
inline

◆ getQuartStrip()

bool CSCCLCTDigi::getQuartStrip ( ) const

get single quart strip bit

Definition at line 104 of file CSCCLCTDigi.cc.

104 { return (strip_ >> kQuartStripShift) & kQuartStripMask; }

References kQuartStripMask, kQuartStripShift, and strip_.

Referenced by getKeyStrip().

◆ getStrip()

uint16_t CSCCLCTDigi::getStrip ( ) const

return halfstrip that goes from 0 to 31 in a (D)CFEB

Definition at line 102 of file CSCCLCTDigi.cc.

102 { return strip_ & kHalfStripMask; }

References kHalfStripMask, and strip_.

Referenced by CSCTMBHeader2006::addCLCT0(), CSCTMBHeader2007::addCLCT0(), CSCTMBHeader2006::addCLCT1(), CSCTMBHeader2007::addCLCT1(), getKeyStrip(), operator<<(), and print().

◆ getStripType()

uint16_t CSCCLCTDigi::getStripType ( ) const
inline

return striptype

Definition at line 63 of file CSCCLCTDigi.h.

63 { return striptype_; }

References striptype_.

Referenced by CSCTMBHeader2006::addCLCT0(), CSCTMBHeader2006::addCLCT1(), CSCCathodeLCTAnalyzer::lctDigis(), operator<<(), operator==(), and print().

◆ getTrknmb()

uint16_t CSCCLCTDigi::getTrknmb ( ) const
inline

return track number (1,2)

Definition at line 105 of file CSCCLCTDigi.h.

105 { return trknmb_; }

References trknmb_.

Referenced by operator<<(), and print().

◆ isRun3()

bool CSCCLCTDigi::isRun3 ( ) const
inline

Distinguish Run-1/2 from Run-3.

Definition at line 149 of file CSCCLCTDigi.h.

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

References Run3, and version_.

Referenced by getCompCode(), and setRun3().

◆ isValid()

bool CSCCLCTDigi::isValid ( void  ) const
inline

◆ operator!=()

bool CSCCLCTDigi::operator!= ( const CSCCLCTDigi rhs) const

True if the preceding one is false.

Definition at line 180 of file CSCCLCTDigi.cc.

180  {
181  // True if == is false.
182  bool returnValue = true;
183  if ((*this) == rhs)
184  returnValue = false;
185  return returnValue;
186 }

◆ operator==()

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

True if the two LCTs have exactly the same members (except the number).

Definition at line 169 of file CSCCLCTDigi.cc.

169  {
170  // Exact equality.
171  bool returnValue = false;
172  if (isValid() == rhs.isValid() && getQuality() == rhs.getQuality() && getPattern() == rhs.getPattern() &&
173  getKeyStrip() == rhs.getKeyStrip() && getStripType() == rhs.getStripType() && getBend() == getBend() &&
174  getBX() == rhs.getBX() && getCompCode() == rhs.getCompCode()) {
175  returnValue = true;
176  }
177  return returnValue;
178 }

References getBend(), getBX(), getCompCode(), getKeyStrip(), getPattern(), getQuality(), getStripType(), and isValid().

◆ operator>()

bool CSCCLCTDigi::operator> ( const CSCCLCTDigi rhs) const

True if the left-hand side has a larger "quality". Full definition of "quality" depends on quality word itself, pattern type, and strip number.

Definition at line 126 of file CSCCLCTDigi.cc.

126  {
127  // Several versions of CLCT sorting criteria were used before 2008.
128  // They are available in CMSSW versions prior to 3_1_0; here we only keep
129  // the latest one, used in TMB-07 firmware (w/o distrips).
130  bool returnValue = false;
131 
132  uint16_t quality1 = getQuality();
133  uint16_t quality2 = rhs.getQuality();
134 
135  // Run-3 case
136  if (version_ == Version::Run3) {
137  // Better-quality CLCTs are preferred.
138  // If two qualities are equal, smaller bending is preferred;
139  // left- and right-bend patterns are considered to be of
140  // the same quality. This corresponds to "pattern" being smaller!!!
141  // If both qualities and pattern id's are the same, lower keystrip
142  // is preferred.
143  if ((quality1 > quality2) || (quality1 == quality2 && getPattern() < rhs.getPattern()) ||
144  (quality1 == quality2 && getPattern() == rhs.getPattern() && getKeyStrip() < rhs.getKeyStrip())) {
145  returnValue = true;
146  }
147  }
148  // Legacy case:
149  else {
150  // The bend-direction bit pid[0] is ignored (left and right bends have
151  // equal quality).
152  uint16_t pattern1 = getPattern() & 14;
153  uint16_t pattern2 = rhs.getPattern() & 14;
154 
155  // Better-quality CLCTs are preferred.
156  // If two qualities are equal, larger pattern id (i.e., straighter pattern)
157  // is preferred; left- and right-bend patterns are considered to be of
158  // the same quality.
159  // If both qualities and pattern id's are the same, lower keystrip
160  // is preferred.
161  if ((quality1 > quality2) || (quality1 == quality2 && pattern1 > pattern2) ||
162  (quality1 == quality2 && pattern1 == pattern2 && getKeyStrip() < rhs.getKeyStrip())) {
163  returnValue = true;
164  }
165  }
166  return returnValue;
167 }

References getKeyStrip(), getPattern(), getQuality(), Run3, and version_.

◆ print()

void CSCCLCTDigi::print ( void  ) const

Print content of digi.

Debug.

Definition at line 189 of file CSCCLCTDigi.cc.

189  {
190  if (isValid()) {
191  char stripType = (getStripType() == 0) ? 'D' : 'H';
192  char bend = (getBend() == 0) ? 'L' : 'R';
193 
194  edm::LogVerbatim("CSCDigi") << " CSC CLCT #" << std::setw(1) << getTrknmb() << ": Valid = " << std::setw(1)
195  << isValid() << " Key Strip = " << std::setw(3) << getKeyStrip()
196  << " Strip = " << std::setw(2) << getStrip() << " Quality = " << std::setw(1)
197  << getQuality() << " Pattern = " << std::setw(1) << getPattern()
198  << " Bend = " << std::setw(1) << bend << " Strip type = " << std::setw(1) << stripType
199  << " CFEB ID = " << std::setw(1) << getCFEB() << " BX = " << std::setw(1) << getBX()
200  << " Full BX= " << std::setw(1) << getFullBX() << " Comp Code= " << std::setw(1)
201  << getCompCode();
202  } else {
203  edm::LogVerbatim("CSCDigi") << "Not a valid Cathode LCT.";
204  }
205 }

References trklet::bend(), getBend(), getBX(), getCFEB(), getCompCode(), getFullBX(), getKeyStrip(), getPattern(), getQuality(), getStrip(), getStripType(), getTrknmb(), and isValid().

◆ setBend()

void CSCCLCTDigi::setBend ( const uint16_t  bend)
inline

set bend

Definition at line 72 of file CSCCLCTDigi.h.

72 { bend_ = bend; }

References trklet::bend(), and bend_.

◆ setBX()

void CSCCLCTDigi::setBX ( const uint16_t  bx)
inline

◆ setCFEB()

void CSCCLCTDigi::setCFEB ( const uint16_t  cfeb)
inline

set Key CFEB ID

Definition at line 96 of file CSCCLCTDigi.h.

96 { cfeb_ = cfeb; }

References cfeb_.

◆ setCompCode()

void CSCCLCTDigi::setCompCode ( const int16_t  code)
inline

Definition at line 127 of file CSCCLCTDigi.h.

127 { compCode_ = code; }

References compCode_.

◆ setEightStrip()

void CSCCLCTDigi::setEightStrip ( const bool  eightStrip)

set single eight strip bit

Definition at line 116 of file CSCCLCTDigi.cc.

116  {
117  // clear the old value
119 
120  // set the new value
121  strip_ |= eightStrip << kEightStripShift;
122 }

References kEightStripMask, kEightStripShift, and strip_.

◆ setFullBX()

void CSCCLCTDigi::setFullBX ( const uint16_t  fullbx)
inline

Set 12-bit full BX.

Definition at line 122 of file CSCCLCTDigi.h.

122 { fullbx_ = fullbx; }

References fullbx_.

Referenced by CSCUpgradeCathodeLCTProcessor::findLCTs().

◆ setHits()

void CSCCLCTDigi::setHits ( const ComparatorContainer hits)
inline

◆ setPattern()

void CSCCLCTDigi::setPattern ( const uint16_t  pattern)
inline

set pattern

Definition at line 60 of file CSCCLCTDigi.h.

60 { pattern_ = pattern; }

References topSingleLeptonDQM_PU_cfi::pattern, and pattern_.

◆ setQuality()

void CSCCLCTDigi::setQuality ( const uint16_t  quality)
inline

set quality

Definition at line 54 of file CSCCLCTDigi.h.

54 { quality_ = quality; }

References qcdUeDQM_cfi::quality, and quality_.

◆ setQuartStrip()

void CSCCLCTDigi::setQuartStrip ( const bool  quartStrip)

set single quart strip bit

Definition at line 108 of file CSCCLCTDigi.cc.

108  {
109  // clear the old value
111 
112  // set the new value
113  strip_ |= quartStrip << kQuartStripShift;
114 }

References kQuartStripMask, kQuartStripShift, and strip_.

◆ setRun3()

void CSCCLCTDigi::setRun3 ( bool  isRun3)

Definition at line 124 of file CSCCLCTDigi.cc.

References isRun3(), Legacy, Run3, and version_.

◆ setStrip()

void CSCCLCTDigi::setStrip ( const uint16_t  strip)
inline

set strip

Definition at line 78 of file CSCCLCTDigi.h.

78 { strip_ = strip; }

References digitizers_cfi::strip, and strip_.

◆ setStripType()

void CSCCLCTDigi::setStripType ( const uint16_t  stripType)
inline

set stripType

Definition at line 66 of file CSCCLCTDigi.h.

66 { striptype_ = stripType; }

References striptype_.

◆ setTrknmb()

void CSCCLCTDigi::setTrknmb ( const uint16_t  number)
inline

Set track number (1,2) after sorting CLCTs.

Definition at line 116 of file CSCCLCTDigi.h.

116 { trknmb_ = number; }

References contentValuesFiles::number, and trknmb_.

Referenced by CSCCathodeLCTProcessor::run().

◆ setValid()

void CSCCLCTDigi::setValid ( const uint16_t  valid)
inline

set valid

Definition at line 48 of file CSCCLCTDigi.h.

48 { valid_ = valid; }

References validateGeometry_cfg::valid, and valid_.

Member Data Documentation

◆ bend_

uint16_t CSCCLCTDigi::bend_
private

Definition at line 162 of file CSCCLCTDigi.h.

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

◆ bx_

uint16_t CSCCLCTDigi::bx_
private

Definition at line 170 of file CSCCLCTDigi.h.

Referenced by clear(), getBX(), and setBX().

◆ cfeb_

uint16_t CSCCLCTDigi::cfeb_
private

Definition at line 169 of file CSCCLCTDigi.h.

Referenced by clear(), getCFEB(), getKeyStrip(), and setCFEB().

◆ compCode_

int16_t CSCCLCTDigi::compCode_
private

Definition at line 176 of file CSCCLCTDigi.h.

Referenced by clear(), getCompCode(), getKeyStrip(), and setCompCode().

◆ fullbx_

uint16_t CSCCLCTDigi::fullbx_
private

Definition at line 172 of file CSCCLCTDigi.h.

Referenced by clear(), getFullBX(), and setFullBX().

◆ hits_

ComparatorContainer CSCCLCTDigi::hits_
private

Definition at line 178 of file CSCCLCTDigi.h.

Referenced by clear(), CSCCLCTDigi(), getHits(), and setHits().

◆ pattern_

uint16_t CSCCLCTDigi::pattern_
private

Definition at line 158 of file CSCCLCTDigi.h.

Referenced by clear(), getPattern(), and setPattern().

◆ quality_

uint16_t CSCCLCTDigi::quality_
private

Definition at line 155 of file CSCCLCTDigi.h.

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

◆ strip_

uint16_t CSCCLCTDigi::strip_
private

◆ striptype_

uint16_t CSCCLCTDigi::striptype_
private

Definition at line 159 of file CSCCLCTDigi.h.

Referenced by clear(), getStripType(), and setStripType().

◆ trknmb_

uint16_t CSCCLCTDigi::trknmb_
private

Definition at line 171 of file CSCCLCTDigi.h.

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

◆ valid_

uint16_t CSCCLCTDigi::valid_
private

Definition at line 154 of file CSCCLCTDigi.h.

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

◆ version_

Version CSCCLCTDigi::version_
private

Definition at line 180 of file CSCCLCTDigi.h.

Referenced by isRun3(), operator>(), and setRun3().

CSCCLCTDigi::striptype_
uint16_t striptype_
Definition: CSCCLCTDigi.h:159
CSCCLCTDigi::strip_
uint16_t strip_
Definition: CSCCLCTDigi.h:167
dqmiodumpmetadata.n
n
Definition: dqmiodumpmetadata.py:28
hfClusterShapes_cfi.hits
hits
Definition: hfClusterShapes_cfi.py:5
CSCCLCTDigi::getTrknmb
uint16_t getTrknmb() const
return track number (1,2)
Definition: CSCCLCTDigi.h:105
CSCCLCTDigi::kEightStripMask
Definition: CSCCLCTDigi.h:21
digitizers_cfi.strip
strip
Definition: digitizers_cfi.py:19
AlCaHLTBitMon_ParallelJobs.p
p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
CSCCLCTDigi::getCompCode
int16_t getCompCode() const
Definition: CSCCLCTDigi.h:125
l1GtPatternGenerator_cfi.bx
bx
Definition: l1GtPatternGenerator_cfi.py:18
CSCCLCTDigi::kHalfStripShift
Definition: CSCCLCTDigi.h:22
CSCCLCTDigi::valid_
uint16_t valid_
Definition: CSCCLCTDigi.h:154
validateGeometry_cfg.valid
valid
Definition: validateGeometry_cfg.py:21
CLCT_PATTERN_WIDTH
Definition: CSCCLCTDigi.cc:14
CSCCLCTDigi::pattern_
uint16_t pattern_
Definition: CSCCLCTDigi.h:158
CSCCLCTDigi::hits_
ComparatorContainer hits_
Definition: CSCCLCTDigi.h:178
CSCCLCTDigi::getQuality
uint16_t getQuality() const
return quality of a pattern (number of layers hit!)
Definition: CSCCLCTDigi.h:51
CSCCLCTDigi::getBend
uint16_t getBend() const
return bend
Definition: CSCCLCTDigi.h:69
CSCCLCTDigi::isRun3
bool isRun3() const
Distinguish Run-1/2 from Run-3.
Definition: CSCCLCTDigi.h:149
CSCCLCTDigi::bend_
uint16_t bend_
Definition: CSCCLCTDigi.h:162
contentValuesFiles.number
number
Definition: contentValuesFiles.py:53
CSCCLCTDigi::getKeyStrip
uint16_t getKeyStrip(uint16_t n=2) const
Definition: CSCCLCTDigi.cc:87
CSCCLCTDigi::fullbx_
uint16_t fullbx_
Definition: CSCCLCTDigi.h:172
CSCCLCTDigi::getFullBX
uint16_t getFullBX() const
return 12-bit full BX.
Definition: CSCCLCTDigi.h:119
CSCCLCTDigi::bx_
uint16_t bx_
Definition: CSCCLCTDigi.h:170
CSCCLCTDigi::getStrip
uint16_t getStrip() const
return halfstrip that goes from 0 to 31 in a (D)CFEB
Definition: CSCCLCTDigi.cc:102
CSCCLCTDigi::cfeb_
uint16_t cfeb_
Definition: CSCCLCTDigi.h:169
CSCCLCTDigi::Version::Run3
CSCCLCTDigi::getEightStrip
bool getEightStrip() const
get single eight strip bit
Definition: CSCCLCTDigi.cc:106
CSCCLCTDigi::getStripType
uint16_t getStripType() const
return striptype
Definition: CSCCLCTDigi.h:63
CSCCLCTDigi::getQuartStrip
bool getQuartStrip() const
get single quart strip bit
Definition: CSCCLCTDigi.cc:104
CSCCLCTDigi::isValid
bool isValid() const
check CLCT validity (1 - valid CLCT)
Definition: CSCCLCTDigi.h:45
edm::LogVerbatim
Definition: MessageLogger.h:297
topSingleLeptonDQM_PU_cfi.pattern
pattern
Definition: topSingleLeptonDQM_PU_cfi.py:39
CSCCLCTDigi::getBX
uint16_t getBX() const
return BX
Definition: CSCCLCTDigi.h:99
CSCCLCTDigi::kEightStripShift
Definition: CSCCLCTDigi.h:22
CSCCLCTDigi::compCode_
int16_t compCode_
Definition: CSCCLCTDigi.h:176
qcdUeDQM_cfi.quality
quality
Definition: qcdUeDQM_cfi.py:31
trklet::bend
double bend(double r, double rinv, double stripPitch)
Definition: Util.h:160
CSCCLCTDigi::kQuartStripShift
Definition: CSCCLCTDigi.h:22
NUM_LAYERS
Definition: CSCCLCTDigi.cc:14
CSCCLCTDigi::quality_
uint16_t quality_
Definition: CSCCLCTDigi.h:155
CSCCLCTDigi::Version::Legacy
CSCCLCTDigi::getCFEB
uint16_t getCFEB() const
return Key CFEB ID
Definition: CSCCLCTDigi.h:93
CSCCLCTDigi::kQuartStripMask
Definition: CSCCLCTDigi.h:21
CSCCLCTDigi::trknmb_
uint16_t trknmb_
Definition: CSCCLCTDigi.h:171
CSCCLCTDigi::getPattern
uint16_t getPattern() const
return pattern
Definition: CSCCLCTDigi.h:57
CSCCLCTDigi::version_
Version version_
Definition: CSCCLCTDigi.h:180
CSCCLCTDigi::kHalfStripMask
Definition: CSCCLCTDigi.h:21
BeamSplash_cfg.version
version
Definition: BeamSplash_cfg.py:45