5 else if (
id.ieta()==-1)
return EBDetId(1,
id.iphi());
6 else return EBDetId(
id.ieta()+1,
id.iphi());
11 else if (
id.ieta()==1)
return EBDetId(-1,
id.iphi());
12 else return EBDetId(
id.ieta()-1,
id.iphi());
17 else return EBDetId(
id.ieta(),
id.iphi()+1);
22 else return EBDetId(
id.ieta(),
id.iphi()-1);
static const int MIN_IPHI
EBDetId incrementIphi(const EBDetId &) const
move the nagivator to larger iphi (wraps around the barrel)
EBDetId decrementIphi(const EBDetId &) const
move the nagivator to smaller iphi (wraps around the barrel)
static const int MAX_IPHI
static const int MAX_IETA
EBDetId incrementIeta(const EBDetId &) const
move the nagivator to larger ieta (more positive z) (stops at end of barrel and returns null) ...
EBDetId decrementIeta(const EBDetId &) const
move the nagivator to smaller ieta (more negative z) (stops at end of barrel and returns null) ...