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