15 : m_data(rawData & 0x7fff),
23 : m_data(rawData & 0x7fff),
25 m_captureBlock(block & 0xfff),
26 m_captureIndex(index & 0xff),
47 m_captureBlock(block & 0xfff),
48 m_captureIndex(index & 0xff),
80 m_data = (rank & 0x3f) + ((eta & 0xf) << 6) + ((phi & 0x1f) << 10);
84 if ((eta & 0x8) == 0) {
94 s <<
"L1GctEmCand : ";
95 s <<
"rank=" << cand.
rank();
98 s << hex <<
" cap block=" << cand.
capBlock() <<
dec <<
", index=" << cand.
capIndex() <<
", BX=" << cand.
bx();
unsigned etaIndex() const override
get eta index -6 to -0, +0 to +6 (bit 3 is sign, 1 for -ve Z, 0 for +ve Z)
unsigned capIndex() const
what index within capture block
const edm::EventSetup & c
unsigned ieta() const
global eta index (0-21)
unsigned rctEta() const
return local RCT eta index (0-10)
Level-1 Region Calorimeter Trigger EM candidate.
std::ostream & operator<<(std::ostream &out, const ALILine &li)
~L1GctEmCand() override
destructor (virtual to prevent compiler warnings)
Level-1 Trigger EM candidate at output of GCT.
void construct(unsigned rank, unsigned eta, unsigned phi)
L1CaloRegionDetId regionId() const
get DetID object
unsigned rank() const
get rank bits
std::string name() const
name of object
L1CaloRegionDetId regionId() const override
region associated with the candidate
L1GctEmCand()
default constructor (for vector initialisation etc.)
bool isolated() const
which stream did this come from
unsigned etaSign() const override
get eta sign (1 for -ve Z, 0 for +ve Z)
int16_t bx() const
get bunch-crossing index
unsigned iphi() const
global phi index (0-17)
unsigned phiIndex() const override
get phi index (0-17)
unsigned rank() const override
get rank bits
unsigned capBlock() const
which capture block did this come from