1 #ifndef CSCDigi_CSCALCTDigi_h
2 #define CSCDigi_CSCALCTDigi_h
27 const uint16_t patternb,
28 const uint16_t keywire,
30 const uint16_t trknmb = 0,
31 const uint16_t hmt = 0,
94 void setHMT(
const uint16_t hmt);
uint16_t getCollisionB() const
void setHits(const WireContainer &hits)
void setCollisionB(const uint16_t collision)
set Collision Pattern B bit
uint16_t getQuality() const
return quality of a pattern
void setWireGroup(uint16_t wiregroup)
set wiregroup number
void setValid(const uint16_t valid)
set valid
uint32_t const *__restrict__ Quality * quality
bool isValid() const
check ALCT validity (1 - valid ALCT)
uint16_t getFullBX() const
return 12-bit full BX.
uint16_t getBX() const
return BX - five low bits of BXN counter tagged by the ALCT
void clear()
clear this ALCT
bool operator!=(const CSCALCTDigi &) const
True if the preceding one is false.
std::ostream & operator<<(std::ostream &out, const ALILine &li)
bool operator>(const CSCALCTDigi &) const
void setAccelerator(const uint16_t accelerator)
set accelerator bit
void setQuality(const uint16_t quality)
set quality
const WireContainer & getHits() const
void setHMT(const uint16_t hmt)
set the high multiplicity bits
uint16_t getHMT() const
return the high multiplicity bits
uint16_t getTrknmb() const
return track number (1,2)
void setRun3(const bool isRun3)
void setBX(const uint16_t BX)
set BX
bool isRun3() const
Distinguish Run-1/2 from Run-3.
bool operator==(const CSCALCTDigi &) const
True if all members (except the number) of both ALCTs are equal.
std::vector< std::vector< uint16_t > > WireContainer
uint16_t getKeyWG() const
return key wire group
void setKeyWG(const uint16_t keyWG)
set key wire group
static const WireContainer & emptyContainer()
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.
uint16_t getAccelerator() const