1 #ifndef GEOMETRY_CALOTOPOLOGY_ECALENDCAPTOPOLOGY_H 2 #define GEOMETRY_CALOTOPOLOGY_ECALENDCAPTOPOLOGY_H 1 34 std::vector<DetId> vNeighborsDetId;
36 vNeighborsDetId.emplace_back(
DetId(nextId.
rawId()));
37 return vNeighborsDetId;
47 std::vector<DetId> vNeighborsDetId;
49 vNeighborsDetId.emplace_back(
DetId(nextId.
rawId()));
50 return vNeighborsDetId;
57 std::vector<DetId>
east(
const DetId&
id)
const override 60 std::vector<DetId> vNeighborsDetId;
62 vNeighborsDetId.emplace_back(
DetId(nextId.
rawId()));
63 return vNeighborsDetId;
70 std::vector<DetId>
west(
const DetId&
id)
const override 73 std::vector<DetId> vNeighborsDetId;
75 vNeighborsDetId.emplace_back(
DetId(nextId.
rawId()));
76 return vNeighborsDetId;
79 std::vector<DetId>
up(
const DetId& )
const override 81 std::cout <<
"EcalBarrelTopology::up() not yet implemented" << std::endl;
82 std::vector<DetId> vNeighborsDetId;
83 return vNeighborsDetId;
86 std::vector<DetId>
down(
const DetId& )
const override 88 std::cout <<
"EcalBarrelTopology::down() not yet implemented" << std::endl;
89 std::vector<DetId> vNeighborsDetId;
90 return vNeighborsDetId;
const CaloSubdetectorGeometry * getSubdetectorGeometry(const DetId &id) const
access the subdetector geometry for the given subdetector directly
std::vector< DetId > north(const DetId &id) const override
DetId goSouth(const DetId &id) const override
move the Topology south (decrement iy)
constexpr uint32_t rawId() const
get the raw id
EEDetId incrementIy(const EEDetId &id) const
move the nagivator to larger iy
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 > west(const DetId &id) const override
EEDetId incrementIx(const EEDetId &id) const
move the nagivator to larger ix
std::vector< DetId > up(const DetId &) const override
DetId goWest(const DetId &id) const override
move the Topology west (negative ix)
DetId goEast(const DetId &id) const override
move the Topology east (positive ix)
std::vector< DetId > down(const DetId &) const override
EcalEndcapTopology(edm::ESHandle< CaloGeometry > theGeom)
create a new Topology from geometry
~EcalEndcapTopology() override
virtual destructor
std::vector< DetId > south(const DetId &id) const override
std::vector< DetId > east(const DetId &id) const override
T const * product() const
DetId goNorth(const DetId &id) const override
move the Topology north (increment iy)
EcalEndcapTopology()
create a new Topology
const CaloSubdetectorGeometry * theGeom_