21 striptype_(striptype),
60 bool returnValue =
false;
75 if ((quality1 > quality2) || (quality1 == quality2 && pattern1 > pattern2) ||
85 bool returnValue =
false;
96 bool returnValue =
true;
106 char bend = (
getBend() == 0) ?
'L' :
'R';
110 <<
" Strip = " << std::setw(2) <<
getStrip() <<
" Quality = " << std::setw(1)
112 <<
" Bend = " << std::setw(1) << bend <<
" Strip type = " << std::setw(1) << stripType
113 <<
" CFEB ID = " << std::setw(1) <<
getCFEB() <<
" BX = " << std::setw(1) <<
getBX()
114 <<
" Full BX= " << std::setw(1) <<
getFullBX();
124 <<
" CFEB = " << digi.
getCFEB() <<
" BX = " << digi.
getBX();
void print() const
Print content of digi.
int getCFEB() const
return Key CFEB ID
std::ostream & operator<<(std::ostream &o, const CSCCLCTPreTriggerDigi &digi)
int getStripType() const
return striptype
int getPattern() const
return pattern
static const uint16_t valid_
bool operator!=(const CSCCLCTPreTriggerDigi &) const
True if the preceding one is false.
bool operator==(const CSCCLCTPreTriggerDigi &) const
True if the two LCTs have exactly the same members (except the number).
void clear()
clear this CLCT
bool operator>(const CSCCLCTPreTriggerDigi &) const
int getTrknmb() const
return track number (1,2)
int getBend() const
return bend
int getQuality() const
return quality of a pattern (number of layers hit!)
CSCCLCTPreTriggerDigi()
default
int getBX() const
return BX
int getFullBX() const
return 12-bit full BX.
int getStrip() const
return halfstrip that goes from 0 to 31
bool isValid() const
check CLCT validity (1 - valid CLCT)