1 #ifndef CSCDigi_CSCALCTDigi_h 2 #define CSCDigi_CSCALCTDigi_h 21 const int patternb,
const int keywire,
const int bx,
22 const int trknmb = 0);
void setKeyWG(const int keyWG)
set key wire group
bool isValid() const
check ALCT validity (1 - valid ALCT)
void setCollisionB(const int collision)
set Collision Pattern B bit
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.
void setQuality(const int quality)
set quality
int getTrknmb() const
return track number (1,2)
int getBX() const
return BX - five low bits of BXN counter tagged by the ALCT
void setAccelerator(const int accelerator)
set accelerator bit
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
void setBX(const int BX)
set BX
int getCollisionB() const
void setValid(const int valid)
set valid