CMS 3D CMS Logo

MTDDetTray.h
Go to the documentation of this file.
1 #ifndef RecoMTD_DetLayers_MTDDetTray_H
2 #define RecoMTD_DetLayers_MTDDetTray_H
3 
15 class GeomDet;
16 
17 class MTDDetTray : public DetRodOneR {
18 public:
20  MTDDetTray(std::vector<const GeomDet*>::const_iterator first, std::vector<const GeomDet*>::const_iterator last);
21 
23  MTDDetTray(const std::vector<const GeomDet*>& dets);
24 
26  ~MTDDetTray() override;
27 
28  // GeometricSearchDet interface
29 
30  const std::vector<const GeometricSearchDet*>& components() const override;
31 
32  std::pair<bool, TrajectoryStateOnSurface> compatible(const TrajectoryStateOnSurface& ts,
33  const Propagator& prop,
34  const MeasurementEstimator& est) const override;
35 
36  std::vector<DetWithState> compatibleDets(const TrajectoryStateOnSurface& startingState,
37  const Propagator& prop,
38  const MeasurementEstimator& est) const override;
39 
40  std::vector<DetGroup> groupedCompatibleDets(const TrajectoryStateOnSurface& startingState,
41  const Propagator& prop,
42  const MeasurementEstimator& est) const override;
43 
44 private:
47 
48  void init();
49 };
50 
51 #endif
GenericBinFinderInZ< float, GeomDet > BinFinderType
Definition: MTDDetTray.h:45
const std::vector< const GeometricSearchDet * > & components() const override
Returns basic components, if any.
Definition: MTDDetTray.cc:29
void init()
Definition: MTDDetTray.cc:25
std::vector< DetWithState > compatibleDets(const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est) const override
Definition: MTDDetTray.cc:43
MTDDetTray(std::vector< const GeomDet *>::const_iterator first, std::vector< const GeomDet *>::const_iterator last)
Construct from iterators on GeomDet*.
Definition: MTDDetTray.cc:18
std::pair< bool, TrajectoryStateOnSurface > compatible(const TrajectoryStateOnSurface &ts, const Propagator &prop, const MeasurementEstimator &est) const override
Definition: MTDDetTray.cc:36
BinFinderType theBinFinder
Definition: MTDDetTray.h:46
~MTDDetTray() override
Destructor.
Definition: MTDDetTray.cc:27
std::vector< DetGroup > groupedCompatibleDets(const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est) const override
Definition: MTDDetTray.cc:131