1 #ifndef GEOMETRY_CALOTOPOLOGY_ECALENDCAPTOPOLOGY_H 2 #define GEOMETRY_CALOTOPOLOGY_ECALENDCAPTOPOLOGY_H 1 27 std::vector<DetId>
north(
const DetId&
id)
const override {
29 std::vector<DetId> vNeighborsDetId;
31 vNeighborsDetId.emplace_back(
DetId(nextId.
rawId()));
32 return vNeighborsDetId;
37 std::vector<DetId>
south(
const DetId&
id)
const override {
39 std::vector<DetId> vNeighborsDetId;
41 vNeighborsDetId.emplace_back(
DetId(nextId.
rawId()));
42 return vNeighborsDetId;
47 std::vector<DetId>
east(
const DetId&
id)
const override {
49 std::vector<DetId> vNeighborsDetId;
51 vNeighborsDetId.emplace_back(
DetId(nextId.
rawId()));
52 return vNeighborsDetId;
57 std::vector<DetId>
west(
const DetId&
id)
const override {
59 std::vector<DetId> vNeighborsDetId;
61 vNeighborsDetId.emplace_back(
DetId(nextId.
rawId()));
62 return vNeighborsDetId;
65 std::vector<DetId>
up(
const DetId& )
const override {
66 std::cout <<
"EcalBarrelTopology::up() not yet implemented" << std::endl;
67 std::vector<DetId> vNeighborsDetId;
68 return vNeighborsDetId;
71 std::vector<DetId>
down(
const DetId& )
const override {
72 std::cout <<
"EcalBarrelTopology::down() not yet implemented" << std::endl;
73 std::vector<DetId> vNeighborsDetId;
74 return vNeighborsDetId;
EEDetId decrementIx(const EEDetId &id) const
move the nagivator to smaller ix
EEDetId decrementIy(const EEDetId &id) const
move the nagivator to smaller iy
std::vector< DetId > north(const DetId &id) const override
DetId goSouth(const DetId &id) const override
move the Topology south (decrement iy)
std::vector< DetId > south(const DetId &id) const override
DetId goEast(const DetId &id) const override
move the Topology east (positive ix)
std::vector< DetId > east(const DetId &id) const override
EcalEndcapTopology(CaloGeometry const &theGeom)
create a new Topology from geometry
std::vector< DetId > west(const DetId &id) const override
DetId goWest(const DetId &id) const override
move the Topology west (negative ix)
DetId goNorth(const DetId &id) const override
move the Topology north (increment iy)
std::vector< DetId > up(const DetId &) const override
EEDetId incrementIx(const EEDetId &id) const
move the nagivator to larger ix
constexpr uint32_t rawId() const
get the raw id
~EcalEndcapTopology() override
virtual destructor
const CaloSubdetectorGeometry * getSubdetectorGeometry(const DetId &id) const
access the subdetector geometry for the given subdetector directly
EEDetId incrementIy(const EEDetId &id) const
move the nagivator to larger iy
EcalEndcapTopology()
create a new Topology
const CaloSubdetectorGeometry * theGeom_
std::vector< DetId > down(const DetId &) const override