24 m_data(rawData & 0x7fff),
35 m_data(rawData & 0x7fff),
37 m_captureBlock(block&0xfff),
38 m_captureIndex(index&0xff),
62 m_captureBlock(block&0xfff),
63 m_captureIndex(index&0xff),
86 return (
isolated() ?
"iso EM" :
"non iso EM" );
101 m_data = (rank & 0x3f) + ((eta & 0xf)<<6) + ((phi & 0x1f)<<10);
105 if ((eta & 0x8)==0) {
m_data = 0x7000; }
else {
m_data = 0x7400; }
111 s <<
"L1GctEmCand : ";
112 s <<
"rank=" << cand.
rank();
115 s << hex <<
" cap block=" << cand.
capBlock() << dec <<
", index=" << cand.
capIndex() <<
", BX=" << cand.
bx();
unsigned capIndex() const
what index within capture block
unsigned etaSign() const
get eta sign (1 for -ve Z, 0 for +ve Z)
unsigned ieta() const
global eta index (0-21)
unsigned rank() const
get rank bits
unsigned rctEta() const
return local RCT eta index (0-10)
Level-1 Region Calorimeter Trigger EM candidate.
unsigned phiIndex() const
get phi index (0-17)
std::ostream & operator<<(std::ostream &out, const ALILine &li)
Level-1 Trigger EM candidate at output of GCT.
void construct(unsigned rank, unsigned eta, unsigned phi)
L1CaloRegionDetId regionId() const
get DetID object
L1CaloRegionDetId regionId() const
region associated with the candidate
unsigned rank() const
get rank bits
unsigned etaIndex() const
get eta index -6 to -0, +0 to +6 (bit 3 is sign, 1 for -ve Z, 0 for +ve Z)
block
Formating index page's pieces.
std::string name() const
name of object
virtual ~L1GctEmCand()
destructor (virtual to prevent compiler warnings)
L1GctEmCand()
default constructor (for vector initialisation etc.)
bool isolated() const
which stream did this come from
int16_t bx() const
get bunch-crossing index
unsigned iphi() const
global phi index (0-17)
unsigned capBlock() const
which capture block did this come from