1 #ifndef Geometry_CaloTopology_FastTimeTopology_h 2 #define Geometry_CaloTopology_FastTimeTopology_h 1 25 std::vector<DetId>
north(
const DetId&
id)
const override {
27 std::vector<DetId> vNeighborsDetId;
28 if (! (nextId==
DetId(0)))
29 vNeighborsDetId.emplace_back(nextId);
30 return vNeighborsDetId;
37 std::vector<DetId>
south(
const DetId&
id)
const override {
39 std::vector<DetId> vNeighborsDetId;
40 if (! (nextId==
DetId(0)))
41 vNeighborsDetId.emplace_back(nextId);
42 return vNeighborsDetId;
49 std::vector<DetId>
east(
const DetId&
id)
const override {
51 std::vector<DetId> vNeighborsDetId;
52 if (! (nextId==
DetId(0)))
53 vNeighborsDetId.emplace_back(nextId);
54 return vNeighborsDetId;
61 std::vector<DetId>
west(
const DetId&
id)
const override {
63 std::vector<DetId> vNeighborsDetId;
64 if (! (nextId==
DetId(0)))
65 vNeighborsDetId.emplace_back(nextId);
66 return vNeighborsDetId;
69 std::vector<DetId>
up(
const DetId&
id)
const override {
70 std::vector<DetId> vNeighborsDetId;
71 return vNeighborsDetId;
74 std::vector<DetId>
down(
const DetId&
id)
const override {
75 std::vector<DetId> vNeighborsDetId;
76 return vNeighborsDetId;
DecodedDetId decode(const DetId &id) const
unsigned int totalGeomModules() const
DetId goEast(const DetId &id) const override
move the Topology east (positive ix)
DetId goWest(const DetId &id) const override
move the Topology west (negative ix)
ForwardSubdetector subdet_
ForwardSubdetector subDetector() const
DetId switchZSide(const DetId startId) const
DetId denseId2detId(uint32_t denseId) const override
DetId changeXY(const DetId &id, int nrStepsX, int nrStepsY) const
move the nagivator along x, y
std::vector< DetId > west(const DetId &id) const override
DetId goNorth(const DetId &id) const override
move the Topology north (increment iy)
unsigned int kSizeForDenseIndexing
virtual uint32_t detId2denseGeomId(const DetId &id) const
std::vector< DetId > up(const DetId &id) const override
std::vector< DetId > down(const DetId &id) const override
DecodedDetId geomDenseId2decId(const uint32_t &hi) const
const FastTimeDDDConstants & hdcons_
std::vector< DetId > south(const DetId &id) const override
bool valid(const DetId &id) const override
Is this a valid cell id.
FastTimeTopology(const FastTimeDDDConstants &hdcons, ForwardSubdetector subdet, int type)
create a new Topology
~FastTimeTopology() override
virtual destructor
DetId encode(const DecodedDetId &id_) const
unsigned int totalModules() const
std::vector< DetId > east(const DetId &id) const override
bool validHashIndex(uint32_t ix) const
DetId goSouth(const DetId &id) const override
move the Topology south (decrement iy)
DetId offsetBy(const DetId startId, int nrStepsX, int nrStepsY) const
uint32_t detId2denseId(const DetId &id) const override
Dense indexing.
const FastTimeDDDConstants & dddConstants() const
std::vector< DetId > north(const DetId &id) const override