1 #ifndef GEOMETRY_CALOTOPOLOGY_ECALENDCAPTOPOLOGY_H
2 #define GEOMETRY_CALOTOPOLOGY_ECALENDCAPTOPOLOGY_H 1
32 std::vector<DetId> vNeighborsDetId;
34 vNeighborsDetId.push_back(
DetId(nextId.
rawId()));
35 return vNeighborsDetId;
45 std::vector<DetId> vNeighborsDetId;
47 vNeighborsDetId.push_back(
DetId(nextId.
rawId()));
48 return vNeighborsDetId;
55 virtual std::vector<DetId>
east(
const DetId&
id)
const
58 std::vector<DetId> vNeighborsDetId;
60 vNeighborsDetId.push_back(
DetId(nextId.
rawId()));
61 return vNeighborsDetId;
68 virtual std::vector<DetId>
west(
const DetId&
id)
const
71 std::vector<DetId> vNeighborsDetId;
73 vNeighborsDetId.push_back(
DetId(nextId.
rawId()));
74 return vNeighborsDetId;
77 virtual std::vector<DetId>
up(
const DetId& )
const
79 std::cout <<
"EcalBarrelTopology::up() not yet implemented" << std::endl;
80 std::vector<DetId> vNeighborsDetId;
81 return vNeighborsDetId;
84 virtual std::vector<DetId>
down(
const DetId& )
const
86 std::cout <<
"EcalBarrelTopology::down() not yet implemented" << std::endl;
87 std::vector<DetId> vNeighborsDetId;
88 return vNeighborsDetId;
virtual std::vector< DetId > east(const DetId &id) const
virtual std::vector< DetId > north(const DetId &id) const
edm::ESHandle< CaloGeometry > theGeom_
virtual ~EcalEndcapTopology()
virtual destructor
virtual DetId goSouth(const DetId &id) const
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
virtual std::vector< DetId > south(const DetId &id) const
EEDetId decrementIx(const EEDetId &id) const
move the nagivator to smaller ix
virtual DetId goEast(const DetId &id) const
move the Topology east (positive ix)
virtual std::vector< DetId > down(const DetId &) const
virtual DetId goWest(const DetId &id) const
move the Topology west (negative ix)
EEDetId decrementIy(const EEDetId &id) const
move the nagivator to smaller iy
virtual std::vector< DetId > up(const DetId &) const
EEDetId incrementIx(const EEDetId &id) const
move the nagivator to larger ix
EcalEndcapTopology(edm::ESHandle< CaloGeometry > theGeom)
create a new Topology from geometry
virtual std::vector< DetId > west(const DetId &id) const
virtual DetId goNorth(const DetId &id) const
move the Topology north (increment iy)
EcalEndcapTopology()
create a new Topology