1 #ifndef Geometry_CaloTopology_FastTimeTopology_h
2 #define Geometry_CaloTopology_FastTimeTopology_h 1
21 std::vector<DetId>
north(
const DetId&
id)
const override {
23 std::vector<DetId> vNeighborsDetId;
24 if (!(nextId ==
DetId(0)))
25 vNeighborsDetId.emplace_back(nextId);
26 return vNeighborsDetId;
31 std::vector<DetId>
south(
const DetId&
id)
const override {
33 std::vector<DetId> vNeighborsDetId;
34 if (!(nextId ==
DetId(0)))
35 vNeighborsDetId.emplace_back(nextId);
36 return vNeighborsDetId;
41 std::vector<DetId>
east(
const DetId&
id)
const override {
43 std::vector<DetId> vNeighborsDetId;
44 if (!(nextId ==
DetId(0)))
45 vNeighborsDetId.emplace_back(nextId);
46 return vNeighborsDetId;
51 std::vector<DetId>
west(
const DetId&
id)
const override {
53 std::vector<DetId> vNeighborsDetId;
54 if (!(nextId ==
DetId(0)))
55 vNeighborsDetId.emplace_back(nextId);
56 return vNeighborsDetId;
59 std::vector<DetId>
up(
const DetId&
id)
const override {
60 std::vector<DetId> vNeighborsDetId;
61 return vNeighborsDetId;
64 std::vector<DetId>
down(
const DetId&
id)
const override {
65 std::vector<DetId> vNeighborsDetId;
66 return vNeighborsDetId;
DecodedDetId decode(const DetId &id) const
std::vector< DetId > down(const DetId &id) const override
unsigned int totalGeomModules() const
ForwardSubdetector subdet_
ForwardSubdetector subDetector() const
DetId goWest(const DetId &id) const override
move the Topology west (negative ix)
DetId switchZSide(const DetId startId) const
bool valid(const DetId &id) const override
Is this a valid cell id.
uint32_t detId2denseId(const DetId &id) const override
Dense indexing.
std::vector< DetId > west(const DetId &id) const override
DetId changeXY(const DetId &id, int nrStepsX, int nrStepsY) const
move the nagivator along x, y
DetId goEast(const DetId &id) const override
move the Topology east (positive ix)
DetId denseId2detId(uint32_t denseId) const override
DetId goSouth(const DetId &id) const override
move the Topology south (decrement iy)
unsigned int kSizeForDenseIndexing
virtual uint32_t detId2denseGeomId(const DetId &id) const
DetId goNorth(const DetId &id) const override
move the Topology north (increment iy)
DecodedDetId geomDenseId2decId(const uint32_t &hi) const
const FastTimeDDDConstants & hdcons_
std::vector< DetId > south(const DetId &id) const override
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
bool validHashIndex(uint32_t ix) const
std::vector< DetId > up(const DetId &id) const override
DetId offsetBy(const DetId startId, int nrStepsX, int nrStepsY) const
std::vector< DetId > east(const DetId &id) const override
const FastTimeDDDConstants & dddConstants() const
std::vector< DetId > north(const DetId &id) const override