Go to the documentation of this file. 1 #ifndef L1CALOREGIONDETID_H
2 #define L1CALOREGIONDETID_H
20 static const unsigned N_PHI = 18;
21 static const unsigned N_ETA = 22;
37 unsigned ieta()
const {
return id_ & 0x1f; }
40 unsigned iphi()
const {
return (
id_ >> 5) & 0x1f; }
unsigned rctRegion() const
return RCT region index (0-1 for barrel, 0-7 for HF)
unsigned rctEta() const
return local RCT eta index (0-10)
unsigned ieta() const
global eta index (0-21)
bool isHf() const
return central or forward type
static const unsigned N_ETA
unsigned iphi() const
global phi index (0-17)
unsigned rctPhi() const
return local RCT phi index (0-1)
static const unsigned N_PHI
L1CaloRegionDetId()
create null id
unsigned rctCard() const
return RCT card number (0-6)
unsigned rctCrate() const
return RCT crate number (0-17)