21 unsigned rank,
unsigned eta,
unsigned etaSgn,
unsigned phi,
bool iso,
unsigned block,
unsigned index, int16_t
bx)
41 s <<
"L1GctInternEmCand : ";
42 s <<
"rank=" << cand.
rank();
45 s <<
" cap block=" << hex << cand.
capBlock();
46 s <<
", index=" <<
dec << cand.
capIndex() <<
", BX=" << cand.
bx();
59 m_data = (rank & 0x3f) + ((eta & 0xf) << 6) + ((etaSgn & 0
x1) << 10) + ((phi & 0x1f) << 11);
L1CaloRegionDetId regionId() const
region associated with the candidate
int16_t bx() const
get bunch-crossing index
bool empty() const
was an object really found?
virtual ~L1GctInternEmCand()
destructor (virtual to prevent compiler warnings)
unsigned etaIndex() const
get eta index - Barrel 1:4, Endcap 5:7, HF 8:11
unsigned capBlock() const
which capture block did this come from
void construct(unsigned rank, unsigned eta, unsigned etaSgn, unsigned phi)
bool isolated() const
which stream did this come from
unsigned phiIndex() const
get phi index (0-17)
unsigned capIndex() const
what index within capture block
ostream & operator<<(ostream &s, const L1GctInternEmCand &cand)
unsigned etaSign() const
get eta sign (1 for -ve Z, 0 for +ve Z)
std::string name() const
name of object
char data[epos_bytes_allocation]
unsigned rank() const
get rank bits
L1GctInternEmCand()
default constructor (for vector initialisation etc.)