1 #ifndef GEOMETRY_CALOTOPOLOGY_ECALENDCAPHARDCODEDTOPOLOGY_H 2 #define GEOMETRY_CALOTOPOLOGY_ECALENDCAPHARDCODEDTOPOLOGY_H 1 25 std::vector<DetId> vNeighborsDetId;
27 vNeighborsDetId.emplace_back(
DetId(nextId.
rawId()));
28 return vNeighborsDetId;
38 std::vector<DetId> vNeighborsDetId;
40 vNeighborsDetId.emplace_back(
DetId(nextId.
rawId()));
41 return vNeighborsDetId;
48 std::vector<DetId>
east(
const DetId&
id)
const override 51 std::vector<DetId> vNeighborsDetId;
53 vNeighborsDetId.emplace_back(
DetId(nextId.
rawId()));
54 return vNeighborsDetId;
61 std::vector<DetId>
west(
const DetId&
id)
const override 64 std::vector<DetId> vNeighborsDetId;
66 vNeighborsDetId.emplace_back(
DetId(nextId.
rawId()));
67 return vNeighborsDetId;
70 std::vector<DetId>
up(
const DetId& )
const override 72 std::cout <<
"EcalEndcapHardcodedTopology::up() not yet implemented" << std::endl;
73 std::vector<DetId> vNeighborsDetId;
74 return vNeighborsDetId;
77 std::vector<DetId>
down(
const DetId& )
const override 79 std::cout <<
"EcalEndcapHardcodedTopology::down() not yet implemented" << std::endl;
80 std::vector<DetId> vNeighborsDetId;
81 return vNeighborsDetId;
std::vector< DetId > down(const DetId &) const override
EcalEndcapHardcodedTopology()
create a new Topology
std::vector< DetId > west(const DetId &id) const override
constexpr uint32_t rawId() const
get the raw id
DetId goNorth(const DetId &id) const override
move the Topology north (increment iy)
EEDetId decrementIy(const EEDetId &) const
move the nagivator to smaller iy
~EcalEndcapHardcodedTopology() override
DetId goSouth(const DetId &id) const override
move the Topology south (decrement iy)
std::vector< DetId > up(const DetId &) const override
std::vector< DetId > east(const DetId &id) const override
std::vector< DetId > north(const DetId &id) const override
EEDetId incrementIx(const EEDetId &) const
move the nagivator to larger ix
std::vector< DetId > south(const DetId &id) const override
DetId goEast(const DetId &id) const override
move the Topology east (positive ix)
EEDetId decrementIx(const EEDetId &) const
move the nagivator to smaller ix
DetId goWest(const DetId &id) const override
move the Topology west (negative ix)
EEDetId incrementIy(const EEDetId &) const
move the nagivator to larger iy