1 #ifndef GEOMETRY_CALOTOPOLOGY_ECALPRESHOWERTOPOLOGY_H
2 #define GEOMETRY_CALOTOPOLOGY_ECALPRESHOWERTOPOLOGY_H 1
29 std::vector<DetId> vNeighborsDetId;
31 vNeighborsDetId.push_back(
DetId(nextId.
rawId()));
32 return vNeighborsDetId;
39 std::vector<DetId> vNeighborsDetId;
41 vNeighborsDetId.push_back(
DetId(nextId.
rawId()));
42 return vNeighborsDetId;
46 virtual std::vector<DetId>
east(
const DetId&
id)
const
49 std::vector<DetId> vNeighborsDetId;
51 vNeighborsDetId.push_back(
DetId(nextId.
rawId()));
52 return vNeighborsDetId;
56 virtual std::vector<DetId>
west(
const DetId&
id)
const
59 std::vector<DetId> vNeighborsDetId;
61 vNeighborsDetId.push_back(
DetId(nextId.
rawId()));
62 return vNeighborsDetId;
65 virtual std::vector<DetId>
up(
const DetId&
id)
const
68 std::vector<DetId> vNeighborsDetId;
70 vNeighborsDetId.push_back(
DetId(nextId.
rawId()));
71 return vNeighborsDetId;
74 virtual std::vector<DetId>
down(
const DetId&
id)
const
77 std::vector<DetId> vNeighborsDetId;
79 vNeighborsDetId.push_back(
DetId(nextId.
rawId()));
80 return vNeighborsDetId;
ESDetId decrementIx(const ESDetId &id) const
move the nagivator to smaller ix
virtual std::vector< DetId > west(const DetId &id) const
move the Topology west (negative ix)
virtual std::vector< DetId > north(const DetId &id) const
move the Topology north (increment iy)
ESDetId decrementIz(const ESDetId &id) const
move the nagivator to smaller iz
virtual std::vector< DetId > east(const DetId &id) const
move the Topology east (positive ix)
uint32_t rawId() const
get the raw id
virtual std::vector< DetId > south(const DetId &id) const
move the Topology south (decrement iy)
virtual std::vector< DetId > up(const DetId &id) const
ESDetId incrementIx(const ESDetId &id) const
move the nagivator to larger ix
edm::ESHandle< CaloGeometry > theGeom_
ESDetId incrementIz(const ESDetId &id) const
move the nagivator to larger iz
ESDetId decrementIy(const ESDetId &id) const
move the nagivator to smaller iy
EcalPreshowerTopology()
create a new Topology
virtual ~EcalPreshowerTopology()
virtual destructor
ESDetId incrementIy(const ESDetId &id) const
move the nagivator to larger iy
EcalPreshowerTopology(edm::ESHandle< CaloGeometry > theGeom)
create a new Topology from geometry
virtual std::vector< DetId > down(const DetId &id) const