11 : m_data(0), m_isTau(
false), m_isFor(
false), m_captureBlock(0), m_captureIndex(0), m_bx(0) {}
27 m_captureBlock(
block & 0xfff),
28 m_captureIndex(
index & 0xff),
50 m_captureBlock(
block & 0xfff),
51 m_captureIndex(
index & 0xff),
72 s <<
"L1GctJetCand empty jet";
74 s <<
"L1GctJetCand : ";
75 s <<
"rank=" <<
cand.rank();
76 s <<
", etaSign=" <<
cand.etaSign() <<
", eta=" << (
cand.etaIndex() & 0x7) <<
", phi=" <<
cand.phiIndex();
80 }
else if (
cand.isForward()) {
86 s << hex <<
" cap block=" <<
cand.capBlock() <<
dec <<
", index=" <<
cand.capIndex() <<
", BX=" <<
cand.bx();
L1CaloRegionDetId regionId() const override
region associated with the candidate
Level-1 Trigger jet candidate.
std::string name() const
name of object
~L1GctJetCand() override
destructor (virtual to prevent compiler warnings)
ostream & operator<<(ostream &s, const L1GctJetCand &cand)
L1GctJetCand()
default constructor (for vector initialisation etc.)
unsigned etaSign() const override
get eta sign bit (1 for -ve Z, 0 for +ve Z)
unsigned rank() const override
get rank bits
unsigned phiIndex() const override
get phi index (0-17)
unsigned etaIndex() const override
get eta index (bit 3 is sign, 1 for -ve Z, 0 for +ve Z)
bool isForward() const
check if this is a forward jet
bool isTau(const Candidate &part)