|
|
Go to the documentation of this file. 1 #ifndef GEOMETRY_CALOTOPOLOGY_ECALENDCAPTOPOLOGY_H
2 #define GEOMETRY_CALOTOPOLOGY_ECALENDCAPTOPOLOGY_H 1
28 std::vector<DetId>
north(
const DetId&
id)
const override {
30 std::vector<DetId> vNeighborsDetId;
32 vNeighborsDetId.emplace_back(
DetId(nextId.
rawId()));
33 return vNeighborsDetId;
38 std::vector<DetId>
south(
const DetId&
id)
const override {
40 std::vector<DetId> vNeighborsDetId;
42 vNeighborsDetId.emplace_back(
DetId(nextId.
rawId()));
43 return vNeighborsDetId;
48 std::vector<DetId>
east(
const DetId&
id)
const override {
50 std::vector<DetId> vNeighborsDetId;
52 vNeighborsDetId.emplace_back(
DetId(nextId.
rawId()));
53 return vNeighborsDetId;
58 std::vector<DetId>
west(
const DetId&
id)
const override {
60 std::vector<DetId> vNeighborsDetId;
62 vNeighborsDetId.emplace_back(
DetId(nextId.
rawId()));
63 return vNeighborsDetId;
66 std::vector<DetId>
up(
const DetId& )
const override {
67 std::cout <<
"EcalBarrelTopology::up() not yet implemented" << std::endl;
68 std::vector<DetId> vNeighborsDetId;
69 return vNeighborsDetId;
72 std::vector<DetId>
down(
const DetId& )
const override {
73 std::cout <<
"EcalBarrelTopology::down() not yet implemented" << std::endl;
74 std::vector<DetId> vNeighborsDetId;
75 return vNeighborsDetId;
DetId goSouth(const DetId &id) const override
move the Topology south (decrement iy)
EEDetId incrementIy(const EEDetId &id) const
move the nagivator to larger iy
EcalEndcapTopology()
create a new Topology
const CaloSubdetectorGeometry * getSubdetectorGeometry(const DetId &id) const
access the subdetector geometry for the given subdetector directly
const CaloSubdetectorGeometry * theGeom_
EEDetId decrementIy(const EEDetId &id) const
move the nagivator to smaller iy
std::vector< DetId > up(const DetId &) const override
DetId goNorth(const DetId &id) const override
move the Topology north (increment iy)
std::vector< DetId > south(const DetId &id) const override
~EcalEndcapTopology() override
virtual destructor
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
constexpr uint32_t rawId() const
get the raw id
std::vector< DetId > west(const DetId &id) const override
DetId goWest(const DetId &id) const override
move the Topology west (negative ix)
std::vector< DetId > down(const DetId &) const override
EEDetId incrementIx(const EEDetId &id) const
move the nagivator to larger ix
EEDetId decrementIx(const EEDetId &id) const
move the nagivator to smaller ix
std::vector< DetId > north(const DetId &id) const override