Go to the documentation of this file.
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();
43 s <<
", etaSign=" <<
cand.etaSign() <<
", eta=" << (
cand.etaIndex() & 0xf) <<
", phi=" <<
cand.phiIndex();
44 s <<
", iso=" <<
cand.isolated();
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
virtual ~L1GctInternEmCand()
destructor (virtual to prevent compiler warnings)
std::string name() const
name of object
bool isolated() const
which stream did this come from
void construct(unsigned rank, unsigned eta, unsigned etaSgn, unsigned phi)
unsigned rank() const
get rank bits
bool empty() const
was an object really found?
unsigned phiIndex() const
get phi index (0-17)
unsigned etaSign() const
get eta sign (1 for -ve Z, 0 for +ve Z)
unsigned etaIndex() const
get eta index - Barrel 1:4, Endcap 5:7, HF 8:11
char data[epos_bytes_allocation]
L1GctInternEmCand()
default constructor (for vector initialisation etc.)
ostream & operator<<(ostream &s, const L1GctInternEmCand &cand)