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 
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 
45  PropagationDirection propDir) const __attribute__ ((hot));
46 
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 
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 
82 
83 };
84 
85 
86 #pragma GCC visibility pop
87 #endif
float computeWindowSize(const GeomDet *det, const TrajectoryStateOnSurface &tsos, const MeasurementEstimator &est) const __attribute__((hot))
Definition: TOBRod.cc:190
def window
Definition: svgfig.py:642
BinFinderType theOuterBinFinder
Definition: TOBRod.h:81
#define GCC11_FINAL
std::vector< const GeomDet * > theInnerDets
Definition: TOBRod.h:74
Definition: TOBRod.h:16
virtual const std::vector< const GeometricSearchDet * > & components() const __attribute__((cold))
Returns basic components, if any.
Definition: TOBRod.cc:82
PeriodicBinFinderInZ< float > BinFinderType
Definition: TOBRod.h:18
std::vector< const GeomDet * > theDets
Definition: TOBRod.h:73
std::vector< const GeomDet * > theOuterDets
Definition: TOBRod.h:75
void groupedCompatibleDetsV(const TrajectoryStateOnSurface &tsos, const Propagator &prop, const MeasurementEstimator &est, std::vector< DetGroup > &result) const __attribute__((hot))
Definition: TOBRod.cc:98
PropagationDirection
~TOBRod() __attribute__((cold))
Definition: TOBRod.cc:76
virtual std::pair< bool, TrajectoryStateOnSurface > compatible(const TrajectoryStateOnSurface &ts, const Propagator &, const MeasurementEstimator &) const __attribute__((cold))
Definition: TOBRod.cc:87
const std::vector< const GeomDet * > & subRod(int ind) const
Definition: TOBRod.h:67
tuple result
Definition: query.py:137
SubLayerCrossings computeCrossings(const TrajectoryStateOnSurface &tsos, PropagationDirection propDir) const __attribute__((hot))
Definition: TOBRod.cc:138
#define private
Definition: FWEveView.cc:22
TOBRod(std::vector< const GeomDet * > &innerDets, std::vector< const GeomDet * > &outerDets) __attribute__((cold))
Definition: TOBRod.cc:29
ReferenceCountingPointer< Plane > theOuterPlane
Definition: TOBRod.h:78
BinFinderType theInnerBinFinder
Definition: TOBRod.h:80
ReferenceCountingPointer< Plane > theInnerPlane
Definition: TOBRod.h:77
Definition: DetRod.h:13
float __attribute__((vector_size(8))) float32x2_t
Definition: ExtVec.h:12
string const
Definition: compareJSON.py:14
void searchNeighbors(const TrajectoryStateOnSurface &tsos, const Propagator &prop, const MeasurementEstimator &est, const SubLayerCrossing &crossing, float window, std::vector< DetGroup > &result, bool checkClosest) const __attribute__((hot))
Definition: TOBRod.cc:228
virtual const std::vector< const GeomDet * > & basicComponents() const
Definition: TOBRod.h:26
bool addClosest(const TrajectoryStateOnSurface &tsos, const Propagator &prop, const MeasurementEstimator &est, const SubLayerCrossing &crossing, std::vector< DetGroup > &result) const __attribute__((hot))
Definition: TOBRod.cc:177