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 __attribute__ ((cold));
26 
27  virtual std::pair<bool, TrajectoryStateOnSurface>
30 
31  void groupedCompatibleDetsV( const TrajectoryStateOnSurface& tsos,
32  const Propagator& prop,
33  const MeasurementEstimator& est,
34  std::vector<DetGroup> & result) const __attribute__ ((hot));
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 
45  PropagationDirection propDir) const __attribute__ ((hot));
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 __attribute__ ((hot));
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 __attribute__ ((hot));
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
PeriodicBinFinderInPhi< float > BinFinderType
Definition: TIDRing.h:75
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: TIDRing.cc:176
std::vector< const GeomDet * > theDets
Definition: TIDRing.h:67
def window
Definition: svgfig.py:642
#define GCC11_FINAL
SubLayerCrossings computeCrossings(const TrajectoryStateOnSurface &tsos, PropagationDirection propDir) const __attribute__((hot))
Definition: TIDRing.cc:121
virtual std::pair< bool, TrajectoryStateOnSurface > compatible(const TrajectoryStateOnSurface &, const Propagator &, const MeasurementEstimator &) const
Definition: TIDRing.cc:83
PropagationDirection
BinFinderType theFrontBinFinder
Definition: TIDRing.h:77
bool addClosest(const TrajectoryStateOnSurface &tsos, const Propagator &prop, const MeasurementEstimator &est, const SubLayerCrossing &crossing, std::vector< DetGroup > &result) const __attribute__((hot))
Definition: TIDRing.cc:163
virtual const std::vector< const GeometricSearchDet * > & components() const __attribute__((cold))
Returns basic components, if any.
Definition: TIDRing.cc:76
std::vector< const GeomDet * > theFrontDets
Definition: TIDRing.h:68
tuple result
Definition: query.py:137
ReferenceCountingPointer< BoundDisk > theBackDisk
Definition: TIDRing.h:73
virtual const BoundSurface & surface() const
The surface of the GeometricSearchDet.
Definition: TIDRing.h:21
float __attribute__((vector_size(8))) float32x2_t
Definition: ExtVec.h:6
string const
Definition: compareJSON.py:14
ReferenceCountingPointer< BoundDisk > theFrontDisk
Definition: TIDRing.h:72
ReferenceCountingPointer< BoundDisk > theDisk
Definition: TIDRing.h:71
BinFinderType theBackBinFinder
Definition: TIDRing.h:78
virtual const BoundDisk & specificSurface() const
Definition: TIDRing.h:38
virtual const std::vector< const GeomDet * > & basicComponents() const
Definition: TIDRing.h:23
const std::vector< const GeomDet * > & subLayer(int ind) const
Definition: TIDRing.h:61
~TIDRing()
Definition: TIDRing.cc:71
void groupedCompatibleDetsV(const TrajectoryStateOnSurface &tsos, const Propagator &prop, const MeasurementEstimator &est, std::vector< DetGroup > &result) const __attribute__((hot))
Definition: TIDRing.cc:92
TIDRing(std::vector< const GeomDet * > &innerDets, std::vector< const GeomDet * > &outerDets)
Definition: TIDRing.cc:25
std::vector< const GeomDet * > theBackDets
Definition: TIDRing.h:69