52 m_data = (rank & 0x3f) + ((region & 0x1)<<6) + ((card & 0x7)<<7);
63 m_data = (rank & 0x3f) + ((region & 0x1)<<6) + ((card & 0x7)<<7);
75 s <<
"L1CaloEmCand : ";
76 s <<
"rank=" << cand.
rank();
79 s <<
", index=" << cand.
index() <<
", BX=" << cand.
bx();
void setBx(int16_t bx)
set BX
Level-1 Region Calorimeter Trigger EM candidate.
L1CaloEmCand()
default constructor (for vector initialisation etc.)
~L1CaloEmCand()
destructor
unsigned rctCrate() const
get RCT crate
bool isolated() const
which stream did this come from
int16_t bx() const
get bunch-crossing index
ostream & operator<<(ostream &s, const L1CaloEmCand &cand)
unsigned rank() const
get rank bits
unsigned rctCard() const
get RCT receiver card
unsigned index() const
get index on cable
unsigned rctRegion() const
get RCT region ID
char data[epos_bytes_allocation]