9 const int striptype,
const int bend,
const int strip,
10 const int cfeb,
const int bx,
const int trknmb,
const int fullbx):
14 striptype_(striptype),
57 bool returnValue =
false;
72 if ((quality1 > quality2) ||
73 (quality1 == quality2 && pattern1 > pattern2) ||
74 (quality1 == quality2 && pattern1 == pattern2 &&
82 bool returnValue =
false;
94 bool returnValue =
true;
95 if ((*
this) == rhs) returnValue =
false;
103 char bend = (
getBend() == 0) ?
'L' :
'R';
106 <<
" CSC CLCT #" << std::setw(1) <<
getTrknmb()
107 <<
": Valid = " << std::setw(1) <<
isValid()
108 <<
" Key Strip = " << std::setw(3) <<
getKeyStrip()
109 <<
" Strip = " << std::setw(2) <<
getStrip()
110 <<
" Quality = " << std::setw(1) <<
getQuality()
111 <<
" Pattern = " << std::setw(1) <<
getPattern()
112 <<
" Bend = " << std::setw(1) << bend
113 <<
" Strip type = " << std::setw(1) << stripType
114 <<
" CFEB ID = " << std::setw(1) <<
getCFEB()
115 <<
" BX = " << std::setw(1) <<
getBX()
116 <<
" Full BX= " << std::setw(1) <<
getFullBX();
124 return o <<
"CSC CLCT #" << digi.
getTrknmb()
125 <<
": Valid = " << digi.
isValid()
129 <<
" Bend = " << digi.
getBend()
132 <<
" CFEB = " << digi.
getCFEB()
133 <<
" 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)