15 :
m_data(rawData & 0x7fff),
23 :
m_data(rawData & 0x7fff),
80 m_data = (rank & 0x3f) + ((eta & 0xf) << 6) + ((phi & 0x1f) << 10);
84 if ((eta & 0x8) == 0) {
94 s <<
"L1GctEmCand : ";
95 s <<
"rank=" << cand.
rank();
98 s << hex <<
" cap block=" << cand.
capBlock() <<
dec <<
", index=" << cand.
capIndex() <<
", BX=" << cand.
bx();
unsigned capIndex() const
what index within capture block
unsigned ieta() const
global eta index (0-21)
unsigned rctEta() const
return local RCT eta index (0-10)
Level-1 Region Calorimeter Trigger EM candidate.
~L1GctEmCand() override
destructor (virtual to prevent compiler warnings)
Level-1 Trigger EM candidate at output of GCT.
unsigned rank() const override
get rank bits
void construct(unsigned rank, unsigned eta, unsigned phi)
unsigned phiIndex() const override
get phi index (0-17)
unsigned etaIndex() const override
get eta index -6 to -0, +0 to +6 (bit 3 is sign, 1 for -ve Z, 0 for +ve Z)
L1CaloRegionDetId regionId() const override
region associated with the candidate
L1CaloRegionDetId regionId() const
get DetID object
unsigned rank() const
get rank bits
std::string name() const
name of object
unsigned etaSign() const override
get eta sign (1 for -ve Z, 0 for +ve Z)
ostream & operator<<(ostream &s, const L1GctEmCand &cand)
L1GctEmCand()
default constructor (for vector initialisation etc.)
bool isolated() const
which stream did this come from
int16_t bx() const
get bunch-crossing index
unsigned iphi() const
global phi index (0-17)
unsigned capBlock() const
which capture block did this come from