25 m_captureBlock(
block & 0xfff),
26 m_captureIndex(
index & 0xff),
47 m_captureBlock(
block & 0xfff),
48 m_captureIndex(
index & 0xff),
60 unsigned eta = ((
c.regionId().rctEta() & 0x7) | (
c.regionId().ieta() < 11 ? 0x8 : 0x0));
84 if ((
eta & 0x8) == 0) {
94 s <<
"L1GctEmCand : ";
95 s <<
"rank=" <<
cand.rank();
96 s <<
", etaSign=" <<
cand.etaSign() <<
", eta=" << (
cand.etaIndex() & 0x7) <<
", phi=" <<
cand.phiIndex();
97 s <<
", iso=" <<
cand.isolated();
98 s << hex <<
" cap block=" <<
cand.capBlock() <<
dec <<
", index=" <<
cand.capIndex() <<
", BX=" <<
cand.bx();
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)
Level-1 Region Calorimeter Trigger EM candidate.
~L1GctEmCand() override
destructor (virtual to prevent compiler warnings)
Level-1 Trigger EM candidate at output of GCT.
std::string name() const
name of object
void construct(unsigned rank, unsigned eta, unsigned phi)
bool isolated() const
which stream did this come from
ostream & operator<<(ostream &s, const L1GctEmCand &cand)
L1CaloRegionDetId regionId() const override
region associated with the candidate
L1GctEmCand()
default constructor (for vector initialisation etc.)
unsigned etaSign() const override
get eta sign (1 for -ve Z, 0 for +ve Z)
unsigned phiIndex() const override
get phi index (0-17)
unsigned rank() const override
get rank bits