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