1 #ifndef GEOMETRY_CALOTOPOLOGY_ECALPRESHOWERTOPOLOGY_H 2 #define GEOMETRY_CALOTOPOLOGY_ECALPRESHOWERTOPOLOGY_H 1 33 std::vector<DetId> vNeighborsDetId;
35 vNeighborsDetId.push_back(
DetId(nextId.
rawId()));
36 return vNeighborsDetId;
46 std::vector<DetId> vNeighborsDetId;
48 vNeighborsDetId.push_back(
DetId(nextId.
rawId()));
49 return vNeighborsDetId;
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;
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;
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;
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;
ESDetId decrementIx(const ESDetId &id) const
move the nagivator to smaller ix
virtual DetId goEast(const DetId &id) const
move the Topology east (positive ix)
virtual std::vector< DetId > west(const DetId &id) const
virtual std::vector< DetId > north(const DetId &id) const
ESDetId decrementIz(const ESDetId &id) const
move the nagivator to smaller iz
virtual std::vector< DetId > east(const DetId &id) const
virtual DetId goUp(const DetId &id) const
uint32_t rawId() const
get the raw id
virtual std::vector< DetId > south(const DetId &id) const
virtual std::vector< DetId > up(const DetId &id) const
virtual DetId goDown(const DetId &id) const
ESDetId incrementIx(const ESDetId &id) const
move the nagivator to larger ix
edm::ESHandle< CaloGeometry > theGeom_
ESDetId incrementIz(const ESDetId &id) const
move the nagivator to larger iz
ESDetId decrementIy(const ESDetId &id) const
move the nagivator to smaller iy
virtual DetId goNorth(const DetId &id) const
move the Topology north (increment iy)
EcalPreshowerTopology()
create a new Topology
virtual ~EcalPreshowerTopology()
virtual destructor
virtual DetId goSouth(const DetId &id) const
move the Topology south (decrement iy)
virtual DetId goWest(const DetId &id) const
move the Topology west (negative ix)
ESDetId incrementIy(const ESDetId &id) const
move the nagivator to larger iy
EcalPreshowerTopology(edm::ESHandle< CaloGeometry > theGeom)
create a new Topology from geometry
virtual std::vector< DetId > down(const DetId &id) const