CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Phase2OTEndcapRing.h
Go to the documentation of this file.
1 #ifndef TkDetLayers_Phase2OTEndcapRing_h
2 #define TkDetLayers_Phase2OTEndcapRing_h
3 
4 
7 #include "SubLayerCrossings.h"
9 
13 #pragma GCC visibility push(hidden)
14 class Phase2OTEndcapRing final : public GeometricSearchDet {
15  public:
16  Phase2OTEndcapRing(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
def window
Definition: svgfig.py:642
virtual const std::vector< const GeometricSearchDet * > & components() const __attribute__((cold))
Returns basic components, if any.
virtual const std::vector< const GeomDet * > & basicComponents() const
std::vector< const GeomDet * > theFrontDetBrothers
std::vector< const GeomDet * > theBackDetBrothers
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))
PropagationDirection
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))
tuple result
Definition: mps_fire.py:84
ReferenceCountingPointer< BoundDisk > theDisk
const std::vector< const GeomDet * > & subLayer(int ind) const
virtual const BoundDisk & specificSurface() const
std::vector< const GeomDet * > theDets
std::vector< const GeomDet * > theBackDets
Phase2OTEndcapRing(std::vector< const GeomDet * > &innerDets, std::vector< const GeomDet * > &outerDets, std::vector< const GeomDet * > &innerDetBrothers, std::vector< const GeomDet * > &outerDetBrothers)
virtual const BoundSurface & surface() const
The surface of the GeometricSearchDet.
const std::vector< const GeomDet * > & subLayerBrothers(int ind) const
BinFinderType theBackBinFinder
float __attribute__((vector_size(8))) float32x2_t
Definition: ExtVec.h:12
string const
Definition: compareJSON.py:14
std::vector< const GeomDet * > theFrontDets
BinFinderType theFrontBinFinder
virtual std::pair< bool, TrajectoryStateOnSurface > compatible(const TrajectoryStateOnSurface &, const Propagator &, const MeasurementEstimator &) const
ReferenceCountingPointer< BoundDisk > theBackDisk
PeriodicBinFinderInPhi< float > BinFinderType
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))
ReferenceCountingPointer< BoundDisk > theFrontDisk