1 #ifndef GEOMETRY_CALOTOPOLOGY_ECALENDCAPTOPOLOGY_H 2 #define GEOMETRY_CALOTOPOLOGY_ECALENDCAPTOPOLOGY_H 1 33 std::vector<DetId> vNeighborsDetId;
35 vNeighborsDetId.emplace_back(
DetId(nextId.
rawId()));
36 return vNeighborsDetId;
46 std::vector<DetId> vNeighborsDetId;
48 vNeighborsDetId.emplace_back(
DetId(nextId.
rawId()));
49 return vNeighborsDetId;
56 std::vector<DetId>
east(
const DetId&
id)
const override 59 std::vector<DetId> vNeighborsDetId;
61 vNeighborsDetId.emplace_back(
DetId(nextId.
rawId()));
62 return vNeighborsDetId;
69 std::vector<DetId>
west(
const DetId&
id)
const override 72 std::vector<DetId> vNeighborsDetId;
74 vNeighborsDetId.emplace_back(
DetId(nextId.
rawId()));
75 return vNeighborsDetId;
78 std::vector<DetId>
up(
const DetId& )
const override 80 std::cout <<
"EcalBarrelTopology::up() not yet implemented" << std::endl;
81 std::vector<DetId> vNeighborsDetId;
82 return vNeighborsDetId;
85 std::vector<DetId>
down(
const DetId& )
const override 87 std::cout <<
"EcalBarrelTopology::down() not yet implemented" << std::endl;
88 std::vector<DetId> vNeighborsDetId;
89 return vNeighborsDetId;
edm::ESHandle< CaloGeometry > theGeom_
std::vector< DetId > north(const DetId &id) const override
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
uint32_t rawId() const
get the raw id
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
DetId goNorth(const DetId &id) const override
move the Topology north (increment iy)
EcalEndcapTopology()
create a new Topology