1 #ifndef RecoMTD_DetLayers_MTDDetSector_H 2 #define RecoMTD_DetLayers_MTDDetSector_H 18 std::vector<const GeomDet*>::const_iterator
last,
32 const std::vector<const GeometricSearchDet*>&
components()
const override;
45 std::vector<DetWithState>&
result)
const override;
56 std::vector<DetWithState>&
result,
61 size_t hshift(
const uint32_t detid,
const int horizontalShift)
const;
62 size_t vshift(
const uint32_t detid,
const int verticalShift,
size_t&
closest)
const;
68 std::vector<DetWithState>&
result,
std::pair< bool, TrajectoryStateOnSurface > compatible(const TrajectoryStateOnSurface &ts, const Propagator &prop, const MeasurementEstimator &est) const override
int closest(std::vector< int > const &vec, int value)
const BoundDiskSector & specificSurface() const
const std::vector< const GeometricSearchDet * > & components() const override
Returns basic components, if any.
std::vector< const GeomDet * > theDets
void compatibleDetsV(const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est, std::vector< DetWithState > &result) const override
GeometricSearchDet(bool doHaveGroups)
void setDisk(BoundDiskSector *diskS)
MTDDetSector(std::vector< const GeomDet *>::const_iterator first, std::vector< const GeomDet *>::const_iterator last, const MTDTopology &topo)
Construct from iterators on GeomDet*.
std::ostream & operator<<(std::ostream &, const MTDDetSector &)
size_t vshift(const uint32_t detid, const int verticalShift, size_t &closest) const
const BoundSurface & surface() const final
The surface of the GeometricSearchDet.
std::vector< DetGroup > groupedCompatibleDets(const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est) const override
std::vector< DetWithState > compatibleDets(const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est) const override
ReferenceCountingPointer< BoundDiskSector > theDiskS
const std::vector< const GeomDet * > & basicComponents() const override
const MTDTopology * topo_
bool add(size_t idet, std::vector< DetWithState > &result, const TrajectoryStateOnSurface &tsos, const Propagator &prop, const MeasurementEstimator &est) const
void compatibleDetsLine(const size_t idetMin, std::vector< DetWithState > &result, const TrajectoryStateOnSurface &tsos, const Propagator &prop, const MeasurementEstimator &est) const
size_t hshift(const uint32_t detid, const int horizontalShift) const