1 #ifndef CSCDigi_CSCALCTDigi_h 2 #define CSCDigi_CSCALCTDigi_h 12 #include <boost/cstdint.hpp> 21 const int patternb,
const int keywire,
const int bx,
22 const int trknmb = 0);
bool isValid() const
check ALCT validity (1 - valid ALCT)
void clear()
clear this ALCT
void setWireGroup(unsigned int wiregroup)
set wiregroup number
bool operator!=(const CSCALCTDigi &) const
True if the preceding one is false.
bool operator>(const CSCALCTDigi &) const
int getFullBX() const
return 12-bit full BX.
int getTrknmb() const
return track number (1,2)
int getBX() const
return BX - five low bits of BXN counter tagged by the ALCT
bool operator==(const CSCALCTDigi &) const
True if all members (except the number) of both ALCTs are equal.
int getQuality() const
return quality of a pattern
int getAccelerator() const
std::ostream & operator<<(std::ostream &o, const CSCALCTDigi &digi)
void print() const
Print content of digi.
void setTrknmb(const uint16_t number)
Set track number (1,2) after sorting ALCTs.
void setFullBX(const uint16_t fullbx)
Set 12-bit full BX.
int getKeyWG() const
return key wire group
int getCollisionB() const