43 bool returnValue =
false;
46 if (getBX() < rhs.
getBX()) {
49 if (getBX() != rhs.
getBX()) {
56 int quality1 = getQuality();
58 if (quality1 > quality2) {
60 }
else if (quality1 == quality2 && getKeyWG() > rhs.
getKeyWG()) {
68 bool returnValue =
false;
78 bool returnValue =
true;
88 <<
" Quality = " << setw(2) << getQuality() <<
" Accel. = " << setw(1)
89 << getAccelerator() <<
" PatternB = " << setw(1) << getCollisionB()
90 <<
" Key wire group = " << setw(3) << getKeyWG() <<
" BX = " << setw(2) << getBX()
91 <<
" Full BX= " << std::setw(1) << getFullBX();
100 <<
" Key wire group = " << digi.
getKeyWG() <<
" BX = " << digi.
getBX();
Log< level::Info, true > LogVerbatim
void print() const
Print content of digi.
bool operator!=(const CSCALCTPreTriggerDigi &) const
True if the preceding one is false.
const bool isValid(const Frame &aFrame, const FrameQuality &aQuality, const uint16_t aExpectedPos)
int getKeyWG() const
return key wire group
int getCollisionB() const
CSCALCTPreTriggerDigi()
default
static const uint16_t valid_
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
bool isValid() const
check ALCT validity (1 - valid ALCT)
int getTrknmb() const
return track number (1,2)
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
void clear()
clear this ALCT
void clear(HadCaloObj &c)
int getAccelerator() const
bool operator>(const CSCALCTPreTriggerDigi &) const