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