17 : m_data(data), m_captureBlock(block & 0xfff), m_captureIndex(index & 0xff), m_iso(iso), m_bx(bx) {}
21 unsigned rank,
unsigned eta,
unsigned etaSgn,
unsigned phi,
bool iso,
unsigned block,
unsigned index, int16_t
bx)
23 m_captureBlock(block & 0xfff),
24 m_captureIndex(index & 0xff),
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 & 0x1) << 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)
std::ostream & operator<<(std::ostream &out, const ALILine &li)
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
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.)