1 #ifndef GEOMETRY_CALOTOPOLOGY_ECALPRESHOWERTOPOLOGY_H
2 #define GEOMETRY_CALOTOPOLOGY_ECALPRESHOWERTOPOLOGY_H 1
28 return incrementIy(
ESDetId(
id));
33 std::vector<DetId> vNeighborsDetId;
35 vNeighborsDetId.push_back(
DetId(nextId.
rawId()));
36 return vNeighborsDetId;
41 return decrementIy(
ESDetId(
id));
46 std::vector<DetId> vNeighborsDetId;
48 vNeighborsDetId.push_back(
DetId(nextId.
rawId()));
49 return vNeighborsDetId;
54 return incrementIx(
ESDetId(
id));
56 virtual std::vector<DetId>
east(
const DetId&
id)
const
59 std::vector<DetId> vNeighborsDetId;
61 vNeighborsDetId.push_back(
DetId(nextId.
rawId()));
62 return vNeighborsDetId;
67 return decrementIx(
ESDetId(
id));
69 virtual std::vector<DetId>
west(
const DetId&
id)
const
72 std::vector<DetId> vNeighborsDetId;
74 vNeighborsDetId.push_back(
DetId(nextId.
rawId()));
75 return vNeighborsDetId;
79 return incrementIz(
ESDetId(
id));
81 virtual std::vector<DetId>
up(
const DetId&
id)
const
84 std::vector<DetId> vNeighborsDetId;
86 vNeighborsDetId.push_back(
DetId(nextId.
rawId()));
87 return vNeighborsDetId;
91 return decrementIz(
ESDetId(
id));
93 virtual std::vector<DetId>
down(
const DetId&
id)
const
96 std::vector<DetId> vNeighborsDetId;
98 vNeighborsDetId.push_back(
DetId(nextId.
rawId()));
99 return vNeighborsDetId;
virtual DetId goSouth(const DetId &id) const
virtual DetId goWest(const DetId &id) const
EcalPreshowerTopology()
create a new Topology
virtual DetId goDown(const DetId &id) const
virtual ~EcalPreshowerTopology()
virtual destructor
virtual std::vector< DetId > south(const DetId &id) const
virtual DetId goEast(const DetId &id) const
move the Topology east (positive ix)
EcalPreshowerTopology(edm::ESHandle< CaloGeometry > theGeom)
create a new Topology from geometry
virtual std::vector< DetId > east(const DetId &id) const
virtual std::vector< DetId > down(const DetId &id) const
virtual DetId goEast(const DetId &id) const
uint32_t rawId() const
get the raw id
virtual DetId goWest(const DetId &id) const
move the Topology west (negative ix)
virtual std::vector< DetId > west(const DetId &id) const
virtual DetId goUp(const DetId &id) const
virtual DetId goNorth(const DetId &id) const
move the Topology north (increment iy)
virtual DetId goNorth(const DetId &id) const
virtual DetId goDown(const DetId &id) const
virtual std::vector< DetId > north(const DetId &id) const
virtual std::vector< DetId > up(const DetId &id) const
virtual DetId goUp(const DetId &id) const
virtual DetId goSouth(const DetId &id) const
move the Topology south (decrement iy)
Unlimited (trivial) bounds.