1 #ifndef GEOMETRY_CALOTOPOLOGY_ECALPRESHOWERTOPOLOGY_H 2 #define GEOMETRY_CALOTOPOLOGY_ECALPRESHOWERTOPOLOGY_H 1 22 std::vector<DetId>
north(
const DetId&
id)
const override {
24 std::vector<DetId> vNeighborsDetId;
26 vNeighborsDetId.emplace_back(
DetId(nextId.
rawId()));
27 return vNeighborsDetId;
32 std::vector<DetId>
south(
const DetId&
id)
const override {
34 std::vector<DetId> vNeighborsDetId;
36 vNeighborsDetId.emplace_back(
DetId(nextId.
rawId()));
37 return vNeighborsDetId;
42 std::vector<DetId>
east(
const DetId&
id)
const override {
44 std::vector<DetId> vNeighborsDetId;
46 vNeighborsDetId.emplace_back(
DetId(nextId.
rawId()));
47 return vNeighborsDetId;
52 std::vector<DetId>
west(
const DetId&
id)
const override {
54 std::vector<DetId> vNeighborsDetId;
56 vNeighborsDetId.emplace_back(
DetId(nextId.
rawId()));
57 return vNeighborsDetId;
61 std::vector<DetId>
up(
const DetId&
id)
const override {
63 std::vector<DetId> vNeighborsDetId;
65 vNeighborsDetId.emplace_back(
DetId(nextId.
rawId()));
66 return vNeighborsDetId;
70 std::vector<DetId>
down(
const DetId&
id)
const override {
72 std::vector<DetId> vNeighborsDetId;
74 vNeighborsDetId.emplace_back(
DetId(nextId.
rawId()));
75 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)
constexpr uint32_t rawId() const
get the raw id
std::vector< DetId > west(const DetId &id) const override
ESDetId decrementIz(const ESDetId &id) const
move the nagivator to smaller iz
EcalPreshowerTopology()=default
create a new Topology
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
ESDetId incrementIz(const ESDetId &id) const
move the nagivator to larger iz
ESDetId decrementIy(const ESDetId &id) const
move the nagivator to smaller iy
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
std::vector< DetId > up(const DetId &id) const override