16 const int striptype,
const int bend,
const int strip,
17 const int cfeb,
const int bx,
const int trknmb,
const int fullbx):
21 striptype_(striptype),
75 bool returnValue =
false;
90 if ((quality1 > quality2) ||
91 (quality1 == quality2 && pattern1 > pattern2) ||
92 (quality1 == quality2 && pattern1 == pattern2 &&
100 bool returnValue =
false;
112 bool returnValue =
true;
113 if ((*
this) == rhs) returnValue =
false;
121 char bend = (
getBend() == 0) ?
'L' :
'R';
124 <<
": Valid = " << std::setw(1) <<
isValid()
125 <<
" Key Strip = " << std::setw(3) <<
getKeyStrip()
126 <<
" Strip = " << std::setw(2) <<
getStrip()
127 <<
" Quality = " << std::setw(1) <<
getQuality()
128 <<
" Pattern = " << std::setw(1) <<
getPattern()
129 <<
" Bend = " << std::setw(1) << bend
130 <<
" Strip type = " << std::setw(1) << stripType
131 <<
" CFEB ID = " << std::setw(1) <<
getCFEB()
132 <<
" BX = " << std::setw(1) <<
getBX()
133 <<
" Full BX= " << std::setw(1) <<
getFullBX() << std::endl;
136 std::cout <<
"Not a valid Cathode LCT." << std::endl;
141 return o <<
"CSC CLCT #" << digi.
getTrknmb()
142 <<
": Valid = " << digi.
isValid()
146 <<
" Bend = " << digi.
getBend()
149 <<
" CFEB = " << digi.
getCFEB()
150 <<
" 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.