54 m_data = (rank & 0x3f) + ((eta & 0xf)<<6) + ((phi & 0x1f)<<10);
67 m_data = (rank & 0x3f) + ((eta & 0xf)<<6) + ((phi & 0x1f)<<10);
74 if (
m_isTau) {
return "tau jet"; }
75 else if (
m_isFor) {
return "forward jet"; }
76 else {
return "central jet"; }
83 s <<
"L1GctJetCand empty jet";
85 s <<
"L1GctJetCand : ";
86 s <<
"rank=" << cand.
rank();
89 if (cand.
isTau()) { s <<
"tau"; }
90 else if (cand.
isForward()) { s <<
"forward"; }
91 else { s <<
"central"; }
93 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
bool empty() const override
was an object really found?
unsigned phiIndex() const override
get phi index (0-17)
Level-1 Trigger jet candidate.
unsigned rank() const override
get rank bits
bool isForward() const
check if this is a forward jet
~L1GctJetCand() override
destructor (virtual to prevent compiler warnings)
ostream & operator<<(ostream &s, const L1GctJetCand &cand)
L1GctJetCand()
default constructor (for vector initialisation etc.)
unsigned etaIndex() const override
get eta index (bit 3 is sign, 1 for -ve Z, 0 for +ve Z)
std::string name() const
name of object
unsigned capIndex() const
what index within capture block
unsigned etaSign() const override
get eta sign bit (1 for -ve Z, 0 for +ve Z)
L1CaloRegionDetId regionId() const override
region associated with the candidate