1 #ifndef CSCDigi_CSCCLCTDigi_h 2 #define CSCDigi_CSCCLCTDigi_h 21 const int striptype,
const int bend,
const int strip,
22 const int cfeb,
const int bx,
const int trknmb = 0,
const int fullbx=0);
int getQuality() const
return quality of a pattern (number of layers hit!)
void setStrip(const int strip)
set strip
void print() const
Print content of digi.
void setValid(const int valid)
set valid
int getStrip() const
return halfstrip that goes from 0 to 31
void setStripType(const int stripType)
set stripType
int getStripType() const
return striptype
void setQuality(const int quality)
set quality
int getBend() const
return bend
void setBX(const int bx)
set bx
bool operator>(const CSCCLCTDigi &) const
int getCFEB() const
return Key CFEB ID
int getBX() const
return BX
bool isValid() const
check CLCT validity (1 - valid CLCT)
bool operator!=(const CSCCLCTDigi &) const
True if the preceding one is false.
int getTrknmb() const
return track number (1,2)
void setBend(const int bend)
set bend
int getPattern() const
return pattern
void setFullBX(const uint16_t fullbx)
Set 12-bit full BX.
void setCFEB(const int cfeb)
set Key CFEB ID
void setPattern(const int pattern)
set pattern
bool operator==(const CSCCLCTDigi &) const
True if the two LCTs have exactly the same members (except the number).
void clear()
clear this CLCT
int getFullBX() const
return 12-bit full BX.
std::ostream & operator<<(std::ostream &o, const CSCCLCTDigi &digi)
void setTrknmb(const uint16_t number)
Set track number (1,2) after sorting CLCTs.