1 #ifndef GEOMETRY_CALOTOPOLOGY_ECALENDCAPTOPOLOGY_H
2 #define GEOMETRY_CALOTOPOLOGY_ECALENDCAPTOPOLOGY_H 1
27 return incrementIy(
EEDetId(
id));
32 std::vector<DetId> vNeighborsDetId;
34 vNeighborsDetId.push_back(
DetId(nextId.
rawId()));
35 return vNeighborsDetId;
40 return decrementIy(
EEDetId(
id));
45 std::vector<DetId> vNeighborsDetId;
47 vNeighborsDetId.push_back(
DetId(nextId.
rawId()));
48 return vNeighborsDetId;
53 return incrementIx(
EEDetId(
id));
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;
66 return decrementIx(
EEDetId(
id));
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 DetId goSouth(const DetId &id) const
virtual DetId goWest(const DetId &id) const
virtual std::vector< DetId > south(const DetId &id) const
virtual DetId goEast(const DetId &id) const
move the Topology east (positive ix)
virtual std::vector< DetId > east(const DetId &id) const
virtual std::vector< DetId > up(const DetId &) const
virtual DetId goEast(const DetId &id) const
uint32_t rawId() const
get the raw id
EcalEndcapTopology(edm::ESHandle< CaloGeometry > theGeom)
create a new Topology from geometry
virtual DetId goWest(const DetId &id) const
move the Topology west (negative ix)
virtual std::vector< DetId > west(const DetId &id) const
virtual DetId goNorth(const DetId &id) const
move the Topology north (increment iy)
virtual DetId goNorth(const DetId &id) const
virtual std::vector< DetId > down(const DetId &) const
EcalEndcapTopology()
create a new Topology
virtual ~EcalEndcapTopology()
virtual destructor
virtual std::vector< DetId > north(const DetId &id) const
virtual DetId goSouth(const DetId &id) const
move the Topology south (decrement iy)
Unlimited (trivial) bounds.