1 #ifndef GEOMETRY_CALOTOPOLOGY_ECALBARRELTOPOLOGY_H
2 #define GEOMETRY_CALOTOPOLOGY_ECALBARRELTOPOLOGY_H 1
28 return incrementIphi(
EBDetId(
id));
33 std::vector<DetId> vNeighborsDetId;
35 vNeighborsDetId.push_back(
DetId(nextId.
rawId()));
36 return vNeighborsDetId;
41 return decrementIphi(
EBDetId(
id));
46 std::vector<DetId> vNeighborsDetId;
48 vNeighborsDetId.push_back(
DetId(nextId.
rawId()));
49 return vNeighborsDetId;
54 return decrementIeta(
EBDetId(
id));
56 virtual std::vector<DetId>
east(
const DetId&
id)
const
59 std::vector<DetId> vNeighborsDetId;
61 vNeighborsDetId.push_back(
DetId(nextId.
rawId()));
62 return vNeighborsDetId;
67 return incrementIeta(
EBDetId(
id));
69 virtual std::vector<DetId>
west(
const DetId&
id)
const
72 std::vector<DetId> vNeighborsDetId;
74 vNeighborsDetId.push_back(
DetId(nextId.
rawId()));
75 return vNeighborsDetId;
79 virtual std::vector<DetId>
up(
const DetId& )
const
81 std::cout <<
"EcalBarrelTopology::up() not yet implemented" << std::endl;
82 std::vector<DetId> vNeighborsDetId;
83 return vNeighborsDetId;
86 virtual std::vector<DetId>
down(
const DetId& )
const
88 std::cout <<
"EcalBarrelTopology::down() not yet implemented" << std::endl;
89 std::vector<DetId> vNeighborsDetId;
90 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 (negative ieta)
edm::ESHandle< CaloGeometry > theGeom_
virtual ~EcalBarrelTopology()
virtual destructor
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
EcalBarrelTopology(edm::ESHandle< CaloGeometry > theGeom)
create a new Topology from geometry
virtual DetId goWest(const DetId &id) const
move the Topology west (positive ieta)
virtual std::vector< DetId > west(const DetId &id) const
virtual DetId goNorth(const DetId &id) const
move the Topology north (increment iphi)
virtual DetId goNorth(const DetId &id) const
virtual std::vector< DetId > down(const DetId &) const
EcalBarrelTopology()
create a new Topology
virtual std::vector< DetId > north(const DetId &id) const
virtual DetId goSouth(const DetId &id) const
move the Topology south (decrement iphi)
Unlimited (trivial) bounds.