26 m_captureBlock(block&0xfff),
27 m_captureIndex(index&0xff),
37 m_captureBlock(block&0xfff),
38 m_captureIndex(index&0xff),
50 return (
isolated() ?
"iso EM" :
"non iso EM" );
60 s <<
"L1GctInternEmCand : ";
61 s <<
"rank=" << cand.
rank();
64 s <<
" cap block=" << hex << cand.
capBlock();
65 s <<
", index=" << dec << cand.
capIndex() <<
", BX=" << cand.
bx();
78 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)
block
Formating index page's pieces.
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.)