1 #ifndef CSCDigi_CSCCLCTDigi_h 2 #define CSCDigi_CSCCLCTDigi_h 12 #include <boost/cstdint.hpp> 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 print() const
Print content of digi.
int getStrip() const
return halfstrip that goes from 0 to 31
int getStripType() const
return striptype
int getBend() const
return bend
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)
int getPattern() const
return pattern
void setFullBX(const uint16_t fullbx)
Set 12-bit full BX.
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.