CMS 3D CMS Logo

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