1 #ifndef GEOMETRY_CALOTOPOLOGY_ECALPRESHOWERTOPOLOGY_H 2 #define GEOMETRY_CALOTOPOLOGY_ECALPRESHOWERTOPOLOGY_H 1 34 std::vector<DetId> vNeighborsDetId;
36 vNeighborsDetId.emplace_back(
DetId(nextId.
rawId()));
37 return vNeighborsDetId;
47 std::vector<DetId> vNeighborsDetId;
49 vNeighborsDetId.emplace_back(
DetId(nextId.
rawId()));
50 return vNeighborsDetId;
57 std::vector<DetId>
east(
const DetId&
id)
const override 60 std::vector<DetId> vNeighborsDetId;
62 vNeighborsDetId.emplace_back(
DetId(nextId.
rawId()));
63 return vNeighborsDetId;
70 std::vector<DetId>
west(
const DetId&
id)
const override 73 std::vector<DetId> vNeighborsDetId;
75 vNeighborsDetId.emplace_back(
DetId(nextId.
rawId()));
76 return vNeighborsDetId;
82 std::vector<DetId>
up(
const DetId&
id)
const override 85 std::vector<DetId> vNeighborsDetId;
87 vNeighborsDetId.emplace_back(
DetId(nextId.
rawId()));
88 return vNeighborsDetId;
94 std::vector<DetId>
down(
const DetId&
id)
const override 97 std::vector<DetId> vNeighborsDetId;
99 vNeighborsDetId.emplace_back(
DetId(nextId.
rawId()));
100 return vNeighborsDetId;
ESDetId decrementIx(const ESDetId &id) const
move the nagivator to smaller ix
~EcalPreshowerTopology() override
virtual destructor
DetId goSouth(const DetId &id) const override
move the Topology south (decrement iy)
std::vector< DetId > west(const DetId &id) const override
ESDetId decrementIz(const ESDetId &id) const
move the nagivator to smaller iz
uint32_t rawId() const
get the raw id
DetId goEast(const DetId &id) const override
move the Topology east (positive ix)
std::vector< DetId > south(const DetId &id) const override
std::vector< DetId > down(const DetId &id) const override
DetId goNorth(const DetId &id) const override
move the Topology north (increment iy)
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
EcalPreshowerTopology()
create a new Topology
DetId goUp(const DetId &id) const override
DetId goWest(const DetId &id) const override
move the Topology west (negative ix)
std::vector< DetId > east(const DetId &id) const override
DetId goDown(const DetId &id) const override
std::vector< DetId > north(const DetId &id) const override
ESDetId incrementIy(const ESDetId &id) const
move the nagivator to larger iy
EcalPreshowerTopology(edm::ESHandle< CaloGeometry > theGeom)
create a new Topology from geometry
std::vector< DetId > up(const DetId &id) const override