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 
9 
14  public:
15  TIDRing(std::vector<const GeomDet*>& innerDets,
16  std::vector<const GeomDet*>& outerDets);
17  ~TIDRing();
18 
19  // GeometricSearchDet interface
20  virtual const BoundSurface& surface() const {return *theDisk;}
21 
22  virtual const std::vector<const GeomDet*>& basicComponents() const {return theDets;}
23 
24  virtual const std::vector<const GeometricSearchDet*>& components() const;
25 
26  virtual std::pair<bool, TrajectoryStateOnSurface>
28  const MeasurementEstimator&) const;
29 
31  const Propagator& prop,
32  const MeasurementEstimator& est,
33  std::vector<DetGroup> & result) const;
34 
35 
36  //Extension of interface
37  virtual const BoundDisk& specificSurface() const {return *theDisk;}
38 
39 
40  private:
41  // private methods for the implementation of groupedCompatibleDets()
42 
44  PropagationDirection propDir) const;
45 
46  bool addClosest( const TrajectoryStateOnSurface& tsos,
47  const Propagator& prop,
48  const MeasurementEstimator& est,
49  const SubLayerCrossing& crossing,
50  std::vector<DetGroup>& result) const;
51 
52  void searchNeighbors( const TrajectoryStateOnSurface& tsos,
53  const Propagator& prop,
54  const MeasurementEstimator& est,
55  const SubLayerCrossing& crossing,
56  float window,
57  std::vector<DetGroup>& result,
58  bool checkClosest) const;
59 
60  const std::vector<const GeomDet*>& subLayer( int ind) const {
61  return (ind==0 ? theFrontDets : theBackDets);
62  }
63 
64 
65  private:
66  std::vector<const GeomDet*> theDets;
67  std::vector<const GeomDet*> theFrontDets;
68  std::vector<const GeomDet*> theBackDets;
69 
73 
75 
78 
79 
80 
81  };
82 
83 
84 #endif
std::vector< const GeomDet * > theDets
Definition: TIDRing.h:66
def window
Definition: svgfig.py:642
void searchNeighbors(const TrajectoryStateOnSurface &tsos, const Propagator &prop, const MeasurementEstimator &est, const SubLayerCrossing &crossing, float window, std::vector< DetGroup > &result, bool checkClosest) const
Definition: TIDRing.cc:175
virtual const std::vector< const GeometricSearchDet * > & components() const
Returns basic components, if any.
Definition: TIDRing.cc:75
virtual std::pair< bool, TrajectoryStateOnSurface > compatible(const TrajectoryStateOnSurface &, const Propagator &, const MeasurementEstimator &) const
Definition: TIDRing.cc:82
void groupedCompatibleDetsV(const TrajectoryStateOnSurface &tsos, const Propagator &prop, const MeasurementEstimator &est, std::vector< DetGroup > &result) const
Definition: TIDRing.cc:91
PropagationDirection
BinFinderType theFrontBinFinder
Definition: TIDRing.h:76
PeriodicBinFinderInPhi< double > BinFinderType
Definition: TIDRing.h:74
std::vector< const GeomDet * > theFrontDets
Definition: TIDRing.h:67
tuple result
Definition: query.py:137
ReferenceCountingPointer< BoundDisk > theBackDisk
Definition: TIDRing.h:72
bool addClosest(const TrajectoryStateOnSurface &tsos, const Propagator &prop, const MeasurementEstimator &est, const SubLayerCrossing &crossing, std::vector< DetGroup > &result) const
Definition: TIDRing.cc:162
virtual const BoundSurface & surface() const
The surface of the GeometricSearchDet.
Definition: TIDRing.h:20
ReferenceCountingPointer< BoundDisk > theFrontDisk
Definition: TIDRing.h:71
ReferenceCountingPointer< BoundDisk > theDisk
Definition: TIDRing.h:70
BinFinderType theBackBinFinder
Definition: TIDRing.h:77
SubLayerCrossings computeCrossings(const TrajectoryStateOnSurface &tsos, PropagationDirection propDir) const
Definition: TIDRing.cc:120
virtual const BoundDisk & specificSurface() const
Definition: TIDRing.h:37
virtual const std::vector< const GeomDet * > & basicComponents() const
Definition: TIDRing.h:22
const std::vector< const GeomDet * > & subLayer(int ind) const
Definition: TIDRing.h:60
~TIDRing()
Definition: TIDRing.cc:70
TIDRing(std::vector< const GeomDet * > &innerDets, std::vector< const GeomDet * > &outerDets)
Definition: TIDRing.cc:25
std::vector< const GeomDet * > theBackDets
Definition: TIDRing.h:68