Go to the documentation of this file.
20 const uint16_t striptype,
25 const uint16_t trknmb,
26 const uint16_t fullbx,
27 const int16_t compCode,
32 striptype_(striptype),
130 bool returnValue =
false;
161 if ((quality1 > quality2) || (quality1 == quality2 && pattern1 > pattern2) ||
171 bool returnValue =
false;
182 bool returnValue =
true;
196 <<
" Strip = " << std::setw(2) <<
getStrip() <<
" Quality = " << std::setw(1)
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)
uint16_t getTrknmb() const
return track number (1,2)
bool operator!=(const CSCCLCTDigi &) const
True if the preceding one is false.
int16_t getCompCode() const
void setEightStrip(const bool eightStrip)
set single eight strip bit
void setQuartStrip(const bool quartStrip)
set single quart strip bit
static const uint16_t valid_
ComparatorContainer hits_
uint16_t getQuality() const
return quality of a pattern (number of layers hit!)
uint16_t getBend() const
return bend
bool isRun3() const
Distinguish Run-1/2 from Run-3.
uint16_t getKeyStrip(uint16_t n=2) const
void setRun3(bool isRun3)
uint16_t getFullBX() const
return 12-bit full BX.
bool operator>(const CSCCLCTDigi &) const
uint16_t getStrip() const
return halfstrip that goes from 0 to 31 in a (D)CFEB
bool getEightStrip() const
get single eight strip bit
uint16_t getStripType() const
return striptype
bool getQuartStrip() const
get single quart strip bit
bool isValid() const
check CLCT validity (1 - valid CLCT)
uint16_t getBX() const
return BX
double bend(double r, double rinv, double stripPitch)
void clear()
clear this CLCT
uint16_t getCFEB() const
return Key CFEB ID
void print() const
Print content of digi.
bool operator==(const CSCCLCTDigi &) const
True if the two LCTs have exactly the same members (except the number).
uint16_t getPattern() const
return pattern
std::ostream & operator<<(std::ostream &o, const CSCCLCTDigi &digi)