1 #ifndef GEOMETRY_CALOTOPOLOGY_ECALBARRELHARDCODEDTOPOLOGY_H
2 #define GEOMETRY_CALOTOPOLOGY_ECALBARRELHARDCODEDTOPOLOGY_H 1
22 std::vector<DetId> vNeighborsDetId;
24 vNeighborsDetId.push_back(
DetId(nextId.
rawId()));
25 return vNeighborsDetId;
32 std::vector<DetId> vNeighborsDetId;
34 vNeighborsDetId.push_back(
DetId(nextId.
rawId()));
35 return vNeighborsDetId;
39 virtual std::vector<DetId>
east(
const DetId&
id)
const
42 std::vector<DetId> vNeighborsDetId;
44 vNeighborsDetId.push_back(
DetId(nextId.
rawId()));
45 return vNeighborsDetId;
49 virtual std::vector<DetId>
west(
const DetId&
id)
const
52 std::vector<DetId> vNeighborsDetId;
54 vNeighborsDetId.push_back(
DetId(nextId.
rawId()));
55 return vNeighborsDetId;
58 virtual std::vector<DetId>
up(
const DetId& )
const
60 std::cout <<
"EcalBarrelHardcodedTopology::up() not yet implemented" << std::endl;
61 std::vector<DetId> vNeighborsDetId;
62 return vNeighborsDetId;
65 virtual std::vector<DetId>
down(
const DetId& )
const
67 std::cout <<
"EcalBarrelHardcodedTopology::down() not yet implemented" << std::endl;
68 std::vector<DetId> vNeighborsDetId;
69 return vNeighborsDetId;
EBDetId incrementIphi(const EBDetId &) const
move the nagivator to larger iphi (wraps around the barrel)
virtual ~EcalBarrelHardcodedTopology()
virtual std::vector< DetId > east(const DetId &id) const
move the Topology east (negative ieta)
EBDetId decrementIphi(const EBDetId &) const
move the nagivator to smaller iphi (wraps around the barrel)
uint32_t rawId() const
get the raw id
virtual std::vector< DetId > south(const DetId &id) const
move the Topology south (decrement iphi)
virtual std::vector< DetId > up(const DetId &) const
virtual std::vector< DetId > down(const DetId &) const
virtual std::vector< DetId > west(const DetId &id) const
move the Topology west (positive ieta)
EBDetId incrementIeta(const EBDetId &) const
move the nagivator to larger ieta (more positive z) (stops at end of barrel and returns null) ...
virtual std::vector< DetId > north(const DetId &id) const
move the Topology north (increment iphi)
EcalBarrelHardcodedTopology()
create a new Topology
EBDetId decrementIeta(const EBDetId &) const
move the nagivator to smaller ieta (more negative z) (stops at end of barrel and returns null) ...