1 #ifndef GEOMETRY_CALOTOPOLOGY_ECALENDCAPHARDCODEDTOPOLOGY_H 2 #define GEOMETRY_CALOTOPOLOGY_ECALENDCAPHARDCODEDTOPOLOGY_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") <<
"EcalEndcapHardcodedTopology::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") <<
"EcalEndcapHardcodedTopology::down() not yet implemented";
65 std::vector<DetId> vNeighborsDetId;
66 return vNeighborsDetId;
Log< level::Info, true > LogVerbatim
EcalEndcapHardcodedTopology()
create a new Topology
DetId goWest(const DetId &id) const override
move the Topology west (negative ix)
EEDetId decrementIx(const EEDetId &) const
move the nagivator to smaller ix
DetId goSouth(const DetId &id) const override
move the Topology south (decrement iy)
~EcalEndcapHardcodedTopology() override
std::vector< DetId > up(const DetId &) const override
DetId goEast(const DetId &id) const override
move the Topology east (positive ix)
EEDetId incrementIx(const EEDetId &) const
move the nagivator to larger ix
DetId goNorth(const DetId &id) const override
move the Topology north (increment iy)
std::vector< DetId > west(const DetId &id) const override
EEDetId incrementIy(const EEDetId &) const
move the nagivator to larger iy
constexpr uint32_t rawId() const
get the raw id
std::vector< DetId > down(const DetId &) const override
std::vector< DetId > south(const DetId &id) const override
std::vector< DetId > east(const DetId &id) const override
std::vector< DetId > north(const DetId &id) const override
EEDetId decrementIy(const EEDetId &) const
move the nagivator to smaller iy