CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Phase2OTECRing.h
Go to the documentation of this file.
1 #ifndef TkDetLayers_Phase2OTECRing_h
2 #define TkDetLayers_Phase2OTECRing_h
3 
4 
7 #include "SubLayerCrossings.h"
9 
13 #pragma GCC visibility push(hidden)
15  public:
16  Phase2OTECRing(std::vector<const GeomDet*>& innerDets,
17  std::vector<const GeomDet*>& outerDets,
18  std::vector<const GeomDet*>& innerDetBrothers,
19  std::vector<const GeomDet*>& outerDetBrothers);
21 
22  // GeometricSearchDet interface
23  virtual const BoundSurface& surface() const {return *theDisk;}
24 
25  virtual const std::vector<const GeomDet*>& basicComponents() const {return theDets;}
26 
27  virtual const std::vector<const GeometricSearchDet*>& components() const __attribute__ ((cold));
28 
29  virtual std::pair<bool, TrajectoryStateOnSurface>
32 
33  void groupedCompatibleDetsV( const TrajectoryStateOnSurface& tsos,
34  const Propagator& prop,
35  const MeasurementEstimator& est,
36  std::vector<DetGroup> & result) const __attribute__ ((hot));
37 
38 
39  //Extension of interface
40  virtual const BoundDisk& specificSurface() const {return *theDisk;}
41 
42 
43  private:
44  // private methods for the implementation of groupedCompatibleDets()
45 
47  PropagationDirection propDir) const __attribute__ ((hot));
48 
49  bool addClosest( const TrajectoryStateOnSurface& tsos,
50  const Propagator& prop,
51  const MeasurementEstimator& est,
52  const SubLayerCrossing& crossing,
53  std::vector<DetGroup>& result,
54  std::vector<DetGroup>& brotherresult) const __attribute__ ((hot));
55 
56  void searchNeighbors( const TrajectoryStateOnSurface& tsos,
57  const Propagator& prop,
58  const MeasurementEstimator& est,
59  const SubLayerCrossing& crossing,
60  float window,
61  std::vector<DetGroup>& result,
62  std::vector<DetGroup>& brotherresult,
63  bool checkClosest) const __attribute__ ((hot));
64 
65  const std::vector<const GeomDet*>& subLayer( int ind) const {
66  return (ind==0 ? theFrontDets : theBackDets);
67  }
68 
69  const std::vector<const GeomDet*>& subLayerBrothers( int ind) const {
70  return (ind==0 ? theFrontDetBrothers : theBackDetBrothers);
71  }
72 
73 
74  private:
75  std::vector<const GeomDet*> theDets;
76  std::vector<const GeomDet*> theFrontDets;
77  std::vector<const GeomDet*> theBackDets;
78  std::vector<const GeomDet*> theFrontDetBrothers;
79  std::vector<const GeomDet*> theBackDetBrothers;
80 
84 
86 
89 
90 
91 
92  };
93 
94 
95 #pragma GCC visibility pop
96 #endif
BinFinderType theFrontBinFinder
std::vector< const GeomDet * > theBackDetBrothers
virtual const std::vector< const GeomDet * > & basicComponents() const
def window
Definition: svgfig.py:642
#define GCC11_FINAL
Phase2OTECRing(std::vector< const GeomDet * > &innerDets, std::vector< const GeomDet * > &outerDets, std::vector< const GeomDet * > &innerDetBrothers, std::vector< const GeomDet * > &outerDetBrothers)
ReferenceCountingPointer< BoundDisk > theFrontDisk
const std::vector< const GeomDet * > & subLayer(int ind) const
BinFinderType theBackBinFinder
virtual const BoundSurface & surface() const
The surface of the GeometricSearchDet.
PeriodicBinFinderInPhi< float > BinFinderType
PropagationDirection
std::vector< const GeomDet * > theFrontDetBrothers
ReferenceCountingPointer< BoundDisk > theBackDisk
bool addClosest(const TrajectoryStateOnSurface &tsos, const Propagator &prop, const MeasurementEstimator &est, const SubLayerCrossing &crossing, std::vector< DetGroup > &result, std::vector< DetGroup > &brotherresult) const __attribute__((hot))
std::vector< const GeomDet * > theFrontDets
SubLayerCrossings computeCrossings(const TrajectoryStateOnSurface &tsos, PropagationDirection propDir) const __attribute__((hot))
void groupedCompatibleDetsV(const TrajectoryStateOnSurface &tsos, const Propagator &prop, const MeasurementEstimator &est, std::vector< DetGroup > &result) const __attribute__((hot))
std::vector< const GeomDet * > theBackDets
tuple result
Definition: query.py:137
std::vector< const GeomDet * > theDets
virtual std::pair< bool, TrajectoryStateOnSurface > compatible(const TrajectoryStateOnSurface &, const Propagator &, const MeasurementEstimator &) const
virtual const std::vector< const GeometricSearchDet * > & components() const __attribute__((cold))
Returns basic components, if any.
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, std::vector< DetGroup > &brotherresult, bool checkClosest) const __attribute__((hot))
const std::vector< const GeomDet * > & subLayerBrothers(int ind) const
virtual const BoundDisk & specificSurface() const
ReferenceCountingPointer< BoundDisk > theDisk