18 const int patternb,
const int keywire,
const int bx,
47 bool returnValue =
false;
50 if (getBX() < rhs.
getBX()) {returnValue =
true;}
51 if (getBX() != rhs.
getBX()) {
return returnValue;}
56 int quality1 = getQuality();
58 if (quality1 > quality2) {returnValue =
true;}
59 else if (quality1 == quality2 && getKeyWG() > rhs.
getKeyWG())
66 bool returnValue =
false;
78 bool returnValue =
true;
79 if ((*
this) == rhs) returnValue =
false;
87 <<
"CSC ALCT #" << setw(1) << getTrknmb()
88 <<
": Valid = " << setw(1) << isValid()
89 <<
" Quality = " << setw(2) << getQuality()
90 <<
" Accel. = " << setw(1) << getAccelerator()
91 <<
" PatternB = " << setw(1) << getCollisionB()
92 <<
" Key wire group = " << setw(3) << getKeyWG()
93 <<
" BX = " << setw(2) << getBX()
94 <<
" Full BX= " << std::setw(1) << getFullBX();
102 return o <<
"CSC ALCT #" << digi.
getTrknmb()
103 <<
": Valid = " << digi.
isValid()
107 <<
" Key wire group = " << digi.
getKeyWG()
108 <<
" BX = " << digi.
getBX();
bool isValid() const
check ALCT validity (1 - valid ALCT)
void clear()
clear this ALCT
bool operator!=(const CSCALCTDigi &) const
True if the preceding one is false.
static const uint16_t valid_
bool operator>(const CSCALCTDigi &) const
int getTrknmb() const
return track number (1,2)
void clear(CLHEP::HepGenMatrix &m)
Helper function: Reset all elements of a matrix to 0.
std::ostream & operator<<(std::ostream &out, const std::tuple< Types... > &value)
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
void print() const
Print content of digi.
int getKeyWG() const
return key wire group
int getCollisionB() const