CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TIDRing.h
Go to the documentation of this file.
1 #ifndef TkDetLayers_TIDRing_h
2 #define TkDetLayers_TIDRing_h
3 
4 
7 #include "SubLayerCrossings.h"
9 
13 #pragma GCC visibility push(hidden)
15  public:
16  TIDRing(std::vector<const GeomDet*>& innerDets,
17  std::vector<const GeomDet*>& outerDets);
18  ~TIDRing();
19 
20  // GeometricSearchDet interface
21  virtual const BoundSurface& surface() const {return *theDisk;}
22 
23  virtual const std::vector<const GeomDet*>& basicComponents() const {return theDets;}
24 
25  virtual const std::vector<const GeometricSearchDet*>& components() const;
26 
27  virtual std::pair<bool, TrajectoryStateOnSurface>
29  const MeasurementEstimator&) const;
30 
32  const Propagator& prop,
33  const MeasurementEstimator& est,
34  std::vector<DetGroup> & result) const;
35 
36 
37  //Extension of interface
38  virtual const BoundDisk& specificSurface() const {return *theDisk;}
39 
40 
41  private:
42  // private methods for the implementation of groupedCompatibleDets()
43 
44  SubLayerCrossings computeCrossings( const TrajectoryStateOnSurface& tsos,
45  PropagationDirection propDir) const;
46 
47  bool addClosest( const TrajectoryStateOnSurface& tsos,
48  const Propagator& prop,
49  const MeasurementEstimator& est,
50  const SubLayerCrossing& crossing,
51  std::vector<DetGroup>& result) const;
52 
53  void searchNeighbors( const TrajectoryStateOnSurface& tsos,
54  const Propagator& prop,
55  const MeasurementEstimator& est,
56  const SubLayerCrossing& crossing,
57  float window,
58  std::vector<DetGroup>& result,
59  bool checkClosest) const;
60 
61  const std::vector<const GeomDet*>& subLayer( int ind) const {
62  return (ind==0 ? theFrontDets : theBackDets);
63  }
64 
65 
66  private:
67  std::vector<const GeomDet*> theDets;
68  std::vector<const GeomDet*> theFrontDets;
69  std::vector<const GeomDet*> theBackDets;
70 
74 
76 
79 
80 
81 
82  };
83 
84 
85 #pragma GCC visibility pop
86 #endif
virtual std::pair< bool, TrajectoryStateOnSurface > compatible(const TrajectoryStateOnSurface &ts, const Propagator &, const MeasurementEstimator &) const =0
const std::vector< const GeomDet * > & subLayer(int ind) const
Definition: TIDRing.h:61
def window
Definition: svgfig.py:642
virtual const std::vector< const GeometricSearchDet * > & components() const =0
Returns basic components, if any.
virtual void groupedCompatibleDetsV(const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est, std::vector< DetGroup > &result) const
PropagationDirection
virtual const std::vector< const GeomDet * > & basicComponents() const
Definition: TIDRing.h:23
virtual const BoundDisk & specificSurface() const
Definition: TIDRing.h:38
PeriodicBinFinderInPhi< double > BinFinderType
Definition: TIDRing.h:75
ReferenceCountingPointer< BoundDisk > theDisk
Definition: TIDRing.h:71
tuple result
Definition: query.py:137
ReferenceCountingPointer< BoundDisk > theBackDisk
Definition: TIDRing.h:73
BinFinderType theFrontBinFinder
Definition: TIDRing.h:77
virtual const BoundSurface & surface() const
The surface of the GeometricSearchDet.
Definition: TIDRing.h:21
ReferenceCountingPointer< BoundDisk > theFrontDisk
Definition: TIDRing.h:72
BinFinderType theBackBinFinder
Definition: TIDRing.h:78
Unlimited (trivial) bounds.