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;
86 std::cout <<
"CSC ALCT #" << setw(1) << getTrknmb()
87 <<
": Valid = " << setw(1) << isValid()
88 <<
" Quality = " << setw(2) << getQuality()
89 <<
" Accel. = " << setw(1) << getAccelerator()
90 <<
" PatternB = " << setw(1) << getCollisionB()
91 <<
" Key wire group = " << setw(3) << getKeyWG()
92 <<
" BX = " << setw(2) << getBX()
93 <<
" Full BX= " << std::setw(1) << getFullBX() << std::endl;
96 std::cout <<
"Not a valid Anode LCT." << std::endl;
101 return o <<
"CSC ALCT #" << digi.
getTrknmb()
102 <<
": Valid = " << digi.
isValid()
106 <<
" Key wire group = " << digi.
getKeyWG()
107 <<
" BX = " << digi.
getBX();
bool isValid() const
check ALCT validity (1 - valid ALCT)
void clear()
clear this ALCT
ostream & operator<<(std::ostream &o, vector< std::string > const &iValue)
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.
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