1 #ifndef GEOMETRY_CALOTOPOLOGY_ECALPRESHOWERTOPOLOGY_H
2 #define GEOMETRY_CALOTOPOLOGY_ECALPRESHOWERTOPOLOGY_H 1
21 std::vector<DetId>
north(
const DetId&
id)
const override {
23 std::vector<DetId> vNeighborsDetId;
25 vNeighborsDetId.emplace_back(
DetId(nextId.
rawId()));
26 return vNeighborsDetId;
31 std::vector<DetId>
south(
const DetId&
id)
const override {
33 std::vector<DetId> vNeighborsDetId;
35 vNeighborsDetId.emplace_back(
DetId(nextId.
rawId()));
36 return vNeighborsDetId;
41 std::vector<DetId>
east(
const DetId&
id)
const override {
43 std::vector<DetId> vNeighborsDetId;
45 vNeighborsDetId.emplace_back(
DetId(nextId.
rawId()));
46 return vNeighborsDetId;
51 std::vector<DetId>
west(
const DetId&
id)
const override {
53 std::vector<DetId> vNeighborsDetId;
55 vNeighborsDetId.emplace_back(
DetId(nextId.
rawId()));
56 return vNeighborsDetId;
60 std::vector<DetId>
up(
const DetId&
id)
const override {
62 std::vector<DetId> vNeighborsDetId;
64 vNeighborsDetId.emplace_back(
DetId(nextId.
rawId()));
65 return vNeighborsDetId;
69 std::vector<DetId>
down(
const DetId&
id)
const override {
71 std::vector<DetId> vNeighborsDetId;
73 vNeighborsDetId.emplace_back(
DetId(nextId.
rawId()));
74 return vNeighborsDetId;
std::vector< DetId > north(const DetId &id) const override
ESDetId decrementIx(const ESDetId &id) const
move the nagivator to smaller ix
std::vector< DetId > west(const DetId &id) const override
~EcalPreshowerTopology() override
virtual destructor
DetId goWest(const DetId &id) const override
move the Topology west (negative ix)
constexpr uint32_t rawId() const
get the raw id
ESDetId decrementIz(const ESDetId &id) const
move the nagivator to smaller iz
DetId goSouth(const DetId &id) const override
move the Topology south (decrement iy)
DetId goUp(const DetId &id) const override
EcalPreshowerTopology()=default
create a new Topology
std::vector< DetId > south(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
DetId goEast(const DetId &id) const override
move the Topology east (positive ix)
std::vector< DetId > up(const DetId &id) const override
ESDetId incrementIz(const ESDetId &id) const
move the nagivator to larger iz
std::vector< DetId > east(const DetId &id) const override
ESDetId decrementIy(const ESDetId &id) const
move the nagivator to smaller iy
DetId goDown(const DetId &id) const override
ESDetId incrementIy(const ESDetId &id) const
move the nagivator to larger iy
std::vector< DetId > down(const DetId &id) const override