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 <<
" CSC CLCT #" << std::setw(1) <<
getTrknmb()
125 <<
": Valid = " << std::setw(1) <<
isValid()
126 <<
" Key Strip = " << std::setw(3) <<
getKeyStrip()
127 <<
" Strip = " << std::setw(2) <<
getStrip()
128 <<
" Quality = " << std::setw(1) <<
getQuality()
129 <<
" Pattern = " << std::setw(1) <<
getPattern()
130 <<
" Bend = " << std::setw(1) << bend
131 <<
" Strip type = " << std::setw(1) << stripType
132 <<
" CFEB ID = " << std::setw(1) <<
getCFEB()
133 <<
" BX = " << std::setw(1) <<
getBX()
134 <<
" Full BX= " << std::setw(1) <<
getFullBX();
142 return o <<
"CSC CLCT #" << digi.
getTrknmb()
143 <<
": Valid = " << digi.
isValid()
147 <<
" Bend = " << digi.
getBend()
150 <<
" CFEB = " << digi.
getCFEB()
151 <<
" 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
static const uint16_t valid_
const PhiMemoryImage pattern2(0x10000, 0, 0, 0x8000, 0, 0, 0xc000, 0, 0, 0xc000, 0, 0)
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.
const PhiMemoryImage pattern1(0x8000, 0, 0, 0x8000, 0, 0, 0x8000, 0, 0, 0x8000, 0, 0)
int getTrknmb() const
return track number (1,2)
std::ostream & operator<<(std::ostream &o, const CSCCLCTDigi &digi)
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.