11 : m_data(0), m_isTau(
false), m_isFor(
false), m_captureBlock(0), m_captureIndex(0), m_bx(0) {}
15 : m_data(rawData & 0x7fff),
24 : m_data(rawData & 0x7fff),
27 m_captureBlock(block & 0xfff),
28 m_captureIndex(index & 0xff),
40 m_data = (rank & 0x3f) + ((eta & 0xf) << 6) + ((phi & 0x1f) << 10);
50 m_captureBlock(block & 0xfff),
51 m_captureIndex(index & 0xff),
53 m_data = (rank & 0x3f) + ((eta & 0xf) << 6) + ((phi & 0x1f) << 10);
72 s <<
"L1GctJetCand empty jet";
74 s <<
"L1GctJetCand : ";
75 s <<
"rank=" << cand.
rank();
86 s << hex <<
" cap block=" << cand.
capBlock() <<
dec <<
", index=" << cand.
capIndex() <<
", BX=" << cand.
bx();
bool isTau() const
check if this is a tau
unsigned capBlock() const
which capture block did this come from
int16_t bx() const
get bunch-crossing index
L1CaloRegionDetId regionId() const override
region associated with the candidate
Level-1 Trigger jet candidate.
std::ostream & operator<<(std::ostream &out, const ALILine &li)
bool isForward() const
check if this is a forward jet
~L1GctJetCand() override
destructor (virtual to prevent compiler warnings)
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)
std::string name() const
name of object
unsigned capIndex() const
what index within capture block
unsigned etaIndex() const override
get eta index (bit 3 is sign, 1 for -ve Z, 0 for +ve Z)
bool empty() const override
was an object really found?
bool isTau(const Candidate &part)