CMS 3D CMS Logo

EcalEndcapHardcodedTopology.cc
Go to the documentation of this file.
2 
4  if (!(EEDetId::validDetId(id.ix() + 1, id.iy(), id.zside())))
5  return EEDetId(0); // null det id
6  else
7  return EEDetId(id.ix() + 1, id.iy(), id.zside());
8 }
9 
11  if (!(EEDetId::validDetId(id.ix() - 1, id.iy(), id.zside())))
12  return EEDetId(0); // null det id
13  else
14  return EEDetId(id.ix() - 1, id.iy(), id.zside());
15 }
16 
18  if (!(EEDetId::validDetId(id.ix(), id.iy() + 1, id.zside())))
19  return EEDetId(0); // null det id
20  else
21  return EEDetId(id.ix(), id.iy() + 1, id.zside());
22 }
23 
25  if (!(EEDetId::validDetId(id.ix(), id.iy() - 1, id.zside())))
26  return EEDetId(0); // null det id
27  else
28  return EEDetId(id.ix(), id.iy() - 1, id.zside());
29 }
ecaldqm::zside
int zside(DetId const &)
Definition: EcalDQMCommonUtils.cc:189
EcalEndcapHardcodedTopology.h
EcalEndcapHardcodedTopology::decrementIx
EEDetId decrementIx(const EEDetId &) const
move the nagivator to smaller ix
Definition: EcalEndcapHardcodedTopology.cc:10
EcalEndcapHardcodedTopology::decrementIy
EEDetId decrementIy(const EEDetId &) const
move the nagivator to smaller iy
Definition: EcalEndcapHardcodedTopology.cc:24
EEDetId
Definition: EEDetId.h:14
EcalEndcapHardcodedTopology::incrementIy
EEDetId incrementIy(const EEDetId &) const
move the nagivator to larger iy
Definition: EcalEndcapHardcodedTopology.cc:17
EEDetId::validDetId
static bool validDetId(int crystal_ix, int crystal_iy, int iz)
Definition: EEDetId.h:248
EcalEndcapHardcodedTopology::incrementIx
EEDetId incrementIx(const EEDetId &) const
move the nagivator to larger ix
Definition: EcalEndcapHardcodedTopology.cc:3