Go to the documentation of this file. 1 #ifndef CSCDigi_CSCALCTPreTriggerDigi_h
2 #define CSCDigi_CSCALCTPreTriggerDigi_h
22 const int trknmb = 0);
void setValid(const int valid)
set valid
int getFullBX() const
return 12-bit full BX.
CSCALCTPreTriggerDigi()
default
void setTrknmb(const uint16_t number)
Set track number (1,2) after sorting ALCTs.
void setQuality(const int quality)
set quality
int getKeyWG() const
return key wire group
void setAccelerator(const int accelerator)
set accelerator bit
bool operator==(const CSCALCTPreTriggerDigi &) const
True if all members (except the number) of both ALCTs are equal.
int getBX() const
return BX - five low bits of BXN counter tagged by the ALCT
const uint32_t *__restrict__ Quality * quality
int getAccelerator() const
void setKeyWG(const int keyWG)
set key wire group
void setFullBX(const uint16_t fullbx)
Set 12-bit full BX.
void setWireGroup(unsigned int wiregroup)
set wiregroup number
int getQuality() const
return quality of a pattern
bool isValid() const
check ALCT validity (1 - valid ALCT)
void setBX(const int BX)
set BX
int getCollisionB() const
void setCollisionB(const int collision)
set Collision Pattern B bit
void clear()
clear this ALCT
bool operator>(const CSCALCTPreTriggerDigi &) const
std::ostream & operator<<(std::ostream &o, const CSCALCTPreTriggerDigi &digi)
int getTrknmb() const
return track number (1,2)
bool operator!=(const CSCALCTPreTriggerDigi &) const
True if the preceding one is false.
void print() const
Print content of digi.