|
|
Go to the documentation of this file. 1 #ifndef GEOMETRY_CALOTOPOLOGY_ECALENDCAPHARDCODEDTOPOLOGY_H
2 #define GEOMETRY_CALOTOPOLOGY_ECALENDCAPHARDCODEDTOPOLOGY_H 1
18 std::vector<DetId>
north(
const DetId&
id)
const override {
20 std::vector<DetId> vNeighborsDetId;
22 vNeighborsDetId.emplace_back(
DetId(nextId.
rawId()));
23 return vNeighborsDetId;
28 std::vector<DetId>
south(
const DetId&
id)
const override {
30 std::vector<DetId> vNeighborsDetId;
32 vNeighborsDetId.emplace_back(
DetId(nextId.
rawId()));
33 return vNeighborsDetId;
38 std::vector<DetId>
east(
const DetId&
id)
const override {
40 std::vector<DetId> vNeighborsDetId;
42 vNeighborsDetId.emplace_back(
DetId(nextId.
rawId()));
43 return vNeighborsDetId;
48 std::vector<DetId>
west(
const DetId&
id)
const override {
50 std::vector<DetId> vNeighborsDetId;
52 vNeighborsDetId.emplace_back(
DetId(nextId.
rawId()));
53 return vNeighborsDetId;
56 std::vector<DetId>
up(
const DetId& )
const override {
57 std::cout <<
"EcalEndcapHardcodedTopology::up() not yet implemented" << std::endl;
58 std::vector<DetId> vNeighborsDetId;
59 return vNeighborsDetId;
62 std::vector<DetId>
down(
const DetId& )
const override {
63 std::cout <<
"EcalEndcapHardcodedTopology::down() not yet implemented" << std::endl;
64 std::vector<DetId> vNeighborsDetId;
65 return vNeighborsDetId;
std::vector< DetId > up(const DetId &) const override
std::vector< DetId > west(const DetId &id) const override
std::vector< DetId > down(const DetId &) const override
DetId goNorth(const DetId &id) const override
move the Topology north (increment iy)
std::vector< DetId > north(const DetId &id) const override
EEDetId decrementIx(const EEDetId &) const
move the nagivator to smaller ix
EEDetId decrementIy(const EEDetId &) const
move the nagivator to smaller iy
DetId goSouth(const DetId &id) const override
move the Topology south (decrement iy)
EcalEndcapHardcodedTopology()
create a new Topology
DetId goWest(const DetId &id) const override
move the Topology west (negative ix)
EEDetId incrementIy(const EEDetId &) const
move the nagivator to larger iy
std::vector< DetId > east(const DetId &id) const override
DetId goEast(const DetId &id) const override
move the Topology east (positive ix)
constexpr uint32_t rawId() const
get the raw id
std::vector< DetId > south(const DetId &id) const override
EEDetId incrementIx(const EEDetId &) const
move the nagivator to larger ix
~EcalEndcapHardcodedTopology() override