1 #ifndef GEOMETRY_CALOTOPOLOGY_ECALPRESHOWERTOPOLOGY_H 2 #define GEOMETRY_CALOTOPOLOGY_ECALPRESHOWERTOPOLOGY_H 1 29 std::vector<DetId> vNeighborsDetId;
31 vNeighborsDetId.emplace_back(
DetId(nextId.
rawId()));
32 return vNeighborsDetId;
42 std::vector<DetId> vNeighborsDetId;
44 vNeighborsDetId.emplace_back(
DetId(nextId.
rawId()));
45 return vNeighborsDetId;
52 std::vector<DetId>
east(
const DetId&
id)
const override 55 std::vector<DetId> vNeighborsDetId;
57 vNeighborsDetId.emplace_back(
DetId(nextId.
rawId()));
58 return vNeighborsDetId;
65 std::vector<DetId>
west(
const DetId&
id)
const override 68 std::vector<DetId> vNeighborsDetId;
70 vNeighborsDetId.emplace_back(
DetId(nextId.
rawId()));
71 return vNeighborsDetId;
77 std::vector<DetId>
up(
const DetId&
id)
const override 80 std::vector<DetId> vNeighborsDetId;
82 vNeighborsDetId.emplace_back(
DetId(nextId.
rawId()));
83 return vNeighborsDetId;
89 std::vector<DetId>
down(
const DetId&
id)
const override 92 std::vector<DetId> vNeighborsDetId;
94 vNeighborsDetId.emplace_back(
DetId(nextId.
rawId()));
95 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