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 decrementIz(const ESDetId &id) const
move the nagivator to smaller iz
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)
DetId goSouth(const DetId &id) const override
move the Topology south (decrement iy)
DetId goUp(const DetId &id) const override
ESDetId decrementIy(const ESDetId &id) const
move the nagivator to smaller iy
EcalPreshowerTopology()=default
create a new Topology
ESDetId decrementIx(const ESDetId &id) const
move the nagivator to smaller ix
std::vector< DetId > south(const DetId &id) const override
DetId goNorth(const DetId &id) const override
move the Topology north (increment iy)
ESDetId incrementIy(const ESDetId &id) const
move the nagivator to larger iy
ESDetId incrementIz(const ESDetId &id) const
move the nagivator to larger iz
DetId goEast(const DetId &id) const override
move the Topology east (positive ix)
std::vector< DetId > up(const DetId &id) const override
std::vector< DetId > east(const DetId &id) const override
constexpr uint32_t rawId() const
get the raw id
DetId goDown(const DetId &id) const override
std::vector< DetId > down(const DetId &id) const override
ESDetId incrementIx(const ESDetId &id) const
move the nagivator to larger ix