CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TOBRod.h
Go to the documentation of this file.
1 #ifndef TkDetLayers_TOBRod_h
2 #define TkDetLayers_TOBRod_h
3 
4 
8 #include "SubLayerCrossings.h"
9 
10 
15 #pragma GCC visibility push(hidden)
17  public:
19 
20  TOBRod(std::vector<const GeomDet*>& innerDets,
21  std::vector<const GeomDet*>& outerDets);
22  ~TOBRod();
23 
24  // GeometricSearchDet interface
25 
26  virtual const std::vector<const GeomDet*>& basicComponents() const {return theDets;}
27 
28  virtual const std::vector<const GeometricSearchDet*>& components() const;
29 
30 
31  virtual std::pair<bool, TrajectoryStateOnSurface>
33  const MeasurementEstimator&) const;
34 
36  const Propagator& prop,
37  const MeasurementEstimator& est,
38  std::vector<DetGroup> & result) const;
39 
40 
41  private:
42  // private methods for the implementation of groupedCompatibleDets()
43 
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  float computeWindowSize( const GeomDet* det,
54  const TrajectoryStateOnSurface& tsos,
55  const MeasurementEstimator& est) const;
56 
57 
58  void searchNeighbors( const TrajectoryStateOnSurface& tsos,
59  const Propagator& prop,
60  const MeasurementEstimator& est,
61  const SubLayerCrossing& crossing,
62  float window,
63  std::vector<DetGroup>& result,
64  bool checkClosest) const;
65 
66  bool overlap( const GlobalPoint& gpos, const GeomDet& rod, float phiWin) const;
67 
68  const std::vector<const GeomDet*>& subRod( int ind) const {
69  return (ind==0 ? theInnerDets : theOuterDets);
70  }
71 
72 
73  private:
74  std::vector<const GeomDet*> theDets;
75  std::vector<const GeomDet*> theInnerDets;
76  std::vector<const GeomDet*> theOuterDets;
77 
80 
83 
84 };
85 
86 
87 #pragma GCC visibility pop
88 #endif
def window
Definition: svgfig.py:642
BinFinderType theOuterBinFinder
Definition: TOBRod.h:82
std::vector< const GeomDet * > theInnerDets
Definition: TOBRod.h:75
Definition: TOBRod.h:16
SubLayerCrossings computeCrossings(const TrajectoryStateOnSurface &tsos, PropagationDirection propDir) const
Definition: TOBRod.cc:136
PeriodicBinFinderInZ< float > BinFinderType
Definition: TOBRod.h:18
std::vector< const GeomDet * > theDets
Definition: TOBRod.h:74
std::vector< const GeomDet * > theOuterDets
Definition: TOBRod.h:76
bool addClosest(const TrajectoryStateOnSurface &tsos, const Propagator &prop, const MeasurementEstimator &est, const SubLayerCrossing &crossing, std::vector< DetGroup > &result) const
Definition: TOBRod.cc:173
PropagationDirection
const std::vector< const GeomDet * > & subRod(int ind) const
Definition: TOBRod.h:68
~TOBRod()
Definition: TOBRod.cc:74
ReferenceCountingPointer< BoundPlane > theInnerPlane
Definition: TOBRod.h:78
#define GCC11_FINAL
tuple result
Definition: query.py:137
float computeWindowSize(const GeomDet *det, const TrajectoryStateOnSurface &tsos, const MeasurementEstimator &est) const
Definition: TOBRod.cc:186
void searchNeighbors(const TrajectoryStateOnSurface &tsos, const Propagator &prop, const MeasurementEstimator &est, const SubLayerCrossing &crossing, float window, std::vector< DetGroup > &result, bool checkClosest) const
Definition: TOBRod.cc:197
BinFinderType theInnerBinFinder
Definition: TOBRod.h:81
void groupedCompatibleDetsV(const TrajectoryStateOnSurface &tsos, const Propagator &prop, const MeasurementEstimator &est, std::vector< DetGroup > &result) const
Definition: TOBRod.cc:96
Definition: DetRod.h:13
virtual const std::vector< const GeometricSearchDet * > & components() const
Returns basic components, if any.
Definition: TOBRod.cc:80
ReferenceCountingPointer< BoundPlane > theOuterPlane
Definition: TOBRod.h:79
virtual const std::vector< const GeomDet * > & basicComponents() const
Definition: TOBRod.h:26
virtual std::pair< bool, TrajectoryStateOnSurface > compatible(const TrajectoryStateOnSurface &ts, const Propagator &, const MeasurementEstimator &) const
Definition: TOBRod.cc:85
TOBRod(std::vector< const GeomDet * > &innerDets, std::vector< const GeomDet * > &outerDets)
Definition: TOBRod.cc:28
bool overlap(const GlobalPoint &gpos, const GeomDet &rod, float phiWin) const
Definition: TOBRod.cc:235