1 #ifndef GEOMETRY_CALOTOPOLOGY_ECALENDCAPTOPOLOGY_H
2 #define GEOMETRY_CALOTOPOLOGY_ECALENDCAPTOPOLOGY_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& )
const
67 std::cout <<
"EcalBarrelTopology::up() not yet implemented" << std::endl;
68 std::vector<DetId> vNeighborsDetId;
69 return vNeighborsDetId;
72 virtual std::vector<DetId>
down(
const DetId& )
const
74 std::cout <<
"EcalBarrelTopology::down() not yet implemented" << std::endl;
75 std::vector<DetId> vNeighborsDetId;
76 return vNeighborsDetId;
virtual std::vector< DetId > east(const DetId &id) const
move the Topology east (positive ix)
virtual std::vector< DetId > north(const DetId &id) const
move the Topology north (increment iy)
edm::ESHandle< CaloGeometry > theGeom_
virtual ~EcalEndcapTopology()
virtual destructor
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
move the Topology south (decrement iy)
EEDetId decrementIx(const EEDetId &id) const
move the nagivator to smaller ix
virtual std::vector< DetId > down(const DetId &) const
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
move the Topology west (negative ix)
EcalEndcapTopology()
create a new Topology