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