18 const int striptype,
const int bend,
const int strip,
19 const int cfeb,
const int bx,
const int trknmb,
const int fullbx):
23 striptype_(striptype),
77 bool returnValue =
false;
92 if ((quality1 > quality2) ||
93 (quality1 == quality2 && pattern1 > pattern2) ||
94 (quality1 == quality2 && pattern1 == pattern2 &&
102 bool returnValue =
false;
114 bool returnValue =
true;
115 if ((*
this) == rhs) returnValue =
false;
123 char bend = (
getBend() == 0) ?
'L' :
'R';
126 <<
": Valid = " << std::setw(1) <<
isValid()
127 <<
" Key Strip = " << std::setw(3) <<
getKeyStrip()
128 <<
" Strip = " << std::setw(2) <<
getStrip()
129 <<
" Quality = " << std::setw(1) <<
getQuality()
130 <<
" Pattern = " << std::setw(1) <<
getPattern()
131 <<
" Bend = " << std::setw(1) << bend
132 <<
" Strip type = " << std::setw(1) << stripType
133 <<
" CFEB ID = " << std::setw(1) <<
getCFEB()
134 <<
" BX = " << std::setw(1) <<
getBX()
135 <<
" Full BX= " << std::setw(1) <<
getFullBX() << std::endl;
138 std::cout <<
"Not a valid Cathode LCT." << std::endl;
143 return o <<
"CSC CLCT #" << digi.
getTrknmb()
144 <<
": Valid = " << digi.
isValid()
148 <<
" Bend = " << digi.
getBend()
151 <<
" CFEB = " << digi.
getCFEB()
152 <<
" BX = " << digi.
getBX();
int getQuality() const
return quality of a pattern (number of layers hit!)
void print() const
Print content of digi.
int getStrip() const
return halfstrip that goes from 0 to 31
std::ostream & operator<<(std::ostream &out, const ALILine &li)
static const uint16_t valid_
int getStripType() const
return striptype
int getBend() const
return bend
bool operator>(const CSCCLCTDigi &) const
int getCFEB() const
return Key CFEB ID
int getBX() const
return BX
bool isValid() const
check CLCT validity (1 - valid CLCT)
bool operator!=(const CSCCLCTDigi &) const
True if the preceding one is false.
int getTrknmb() const
return track number (1,2)
int getPattern() const
return pattern
bool operator==(const CSCCLCTDigi &) const
True if the two LCTs have exactly the same members (except the number).
void clear()
clear this CLCT
int getFullBX() const
return 12-bit full BX.