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)
16 class TOBRod GCC11_FINAL : public DetRod {
17  public:
19 
20  TOBRod(std::vector<const GeomDet*>& innerDets,
21  std::vector<const GeomDet*>& outerDets) __attribute__ ((cold));
22  ~TOBRod() __attribute__ ((cold));
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 __attribute__ ((cold));
29 
30 
31  virtual std::pair<bool, TrajectoryStateOnSurface>
34 
35  void groupedCompatibleDetsV( const TrajectoryStateOnSurface& tsos,
36  const Propagator& prop,
38  std::vector<DetGroup> & result) const __attribute__ ((hot));
39 
40 
41  private:
42  // private methods for the implementation of groupedCompatibleDets()
43 
44  SubLayerCrossings computeCrossings( const TrajectoryStateOnSurface& tsos,
45  PropagationDirection propDir) const __attribute__ ((hot));
46 
47  bool addClosest( const TrajectoryStateOnSurface& tsos,
48  const Propagator& prop,
50  const SubLayerCrossing& crossing,
51  std::vector<DetGroup>& result) const __attribute__ ((hot));
52 
53  float computeWindowSize( const GeomDet* det,
56 
57 
58  void searchNeighbors( const TrajectoryStateOnSurface& tsos,
59  const Propagator& prop,
61  const SubLayerCrossing& crossing,
62  float window,
63  std::vector<DetGroup>& result,
64  bool checkClosest) const __attribute__ ((hot));
65 
66 
67  const std::vector<const GeomDet*>& subRod( int ind) const {
68  return (ind==0 ? theInnerDets : theOuterDets);
69  }
70 
71 
72  private:
73  std::vector<const GeomDet*> theDets;
74  std::vector<const GeomDet*> theInnerDets;
75  std::vector<const GeomDet*> theOuterDets;
76 
79 
80  BinFinderType theInnerBinFinder;
81  BinFinderType theOuterBinFinder;
82 
83 };
84 
85 
86 #pragma GCC visibility pop
87 #endif
def window
Definition: svgfig.py:642
ReferenceCountingPointer< Plane > theOuterPlane
Definition: TOBRod.h:78
PeriodicBinFinderInZ< float > BinFinderType
Definition: TOBRod.h:18
virtual const std::vector< const GeometricSearchDet * > & components() const =0
Returns basic components, if any.
PropagationDirection
std::vector< const GeomDet * > theInnerDets
Definition: TOBRod.h:74
tuple result
Definition: query.py:137
float computeWindowSize(const GeomDet *det, const TrajectoryStateOnSurface &tsos, const MeasurementEstimator &est)
Definition: BarrelUtil.h:35
Definition: DetRod.h:13
float __attribute__((vector_size(8))) float32x2_t
Definition: ExtVec.h:6
string const
Definition: compareJSON.py:14
#define private
Definition: FWFileEntry.h:17
std::vector< const GeomDet * > theOuterDets
Definition: TOBRod.h:75
ReferenceCountingPointer< Plane > theInnerPlane
Definition: TOBRod.h:77
Unlimited (trivial) bounds.