1 #ifndef GEOMETRY_CALOTOPOLOGY_ECALBARRELHARDCODEDTOPOLOGY_H 2 #define GEOMETRY_CALOTOPOLOGY_ECALBARRELHARDCODEDTOPOLOGY_H 1 19 std::vector<DetId>
north(
const DetId&
id)
const override {
21 std::vector<DetId> vNeighborsDetId;
23 vNeighborsDetId.emplace_back(
DetId(nextId.
rawId()));
24 return vNeighborsDetId;
29 std::vector<DetId>
south(
const DetId&
id)
const override {
31 std::vector<DetId> vNeighborsDetId;
33 vNeighborsDetId.emplace_back(
DetId(nextId.
rawId()));
34 return vNeighborsDetId;
39 std::vector<DetId>
east(
const DetId&
id)
const override {
41 std::vector<DetId> vNeighborsDetId;
43 vNeighborsDetId.emplace_back(
DetId(nextId.
rawId()));
44 return vNeighborsDetId;
49 std::vector<DetId>
west(
const DetId&
id)
const override {
51 std::vector<DetId> vNeighborsDetId;
53 vNeighborsDetId.emplace_back(
DetId(nextId.
rawId()));
54 return vNeighborsDetId;
57 std::vector<DetId>
up(
const DetId& )
const override {
58 edm::LogVerbatim(
"CaloTopology") <<
"EcalBarrelHardcodedTopology::up() not yet implemented";
59 std::vector<DetId> vNeighborsDetId;
60 return vNeighborsDetId;
63 std::vector<DetId>
down(
const DetId& )
const override {
64 edm::LogVerbatim(
"CaloTopology") <<
"EcalBarrelHardcodedTopology::down() not yet implemented";
65 std::vector<DetId> vNeighborsDetId;
66 return vNeighborsDetId;
Log< level::Info, true > LogVerbatim
EBDetId incrementIphi(const EBDetId &) const
move the nagivator to larger iphi (wraps around the barrel)
std::vector< DetId > north(const DetId &id) const override
std::vector< DetId > west(const DetId &id) const override
DetId goSouth(const DetId &id) const override
move the Topology south (decrement iphi)
DetId goNorth(const DetId &id) const override
move the Topology north (increment iphi)
std::vector< DetId > east(const DetId &id) const override
~EcalBarrelHardcodedTopology() override
EBDetId incrementIeta(const EBDetId &) const
move the nagivator to larger ieta (more positive z) (stops at end of barrel and returns null) ...
std::vector< DetId > south(const DetId &id) const override
std::vector< DetId > down(const DetId &) const override
EBDetId decrementIeta(const EBDetId &) const
move the nagivator to smaller ieta (more negative z) (stops at end of barrel and returns null) ...
EBDetId decrementIphi(const EBDetId &) const
move the nagivator to smaller iphi (wraps around the barrel)
constexpr uint32_t rawId() const
get the raw id
DetId goEast(const DetId &id) const override
move the Topology east (negative ieta)
std::vector< DetId > up(const DetId &) const override
DetId goWest(const DetId &id) const override
move the Topology west (positive ieta)
EcalBarrelHardcodedTopology()
create a new Topology