CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Phase2OTBarrelRod.h
Go to the documentation of this file.
1 #ifndef TkDetLayers_Phase2OTBarrelRod_h
2 #define TkDetLayers_Phase2OTBarrelRod_h
3 
7 #include "SubLayerCrossings.h"
8 
13 #pragma GCC visibility push(hidden)
14 class Phase2OTBarrelRod final : public DetRod {
15 public:
17 
18  Phase2OTBarrelRod(std::vector<const GeomDet*>& innerDets,
19  std::vector<const GeomDet*>& outerDets,
20  const std::vector<const GeomDet*>& innerDetBrothers = std::vector<const GeomDet*>(),
21  const std::vector<const GeomDet*>& outerDetBrothers = std::vector<const GeomDet*>())
22  __attribute__((cold));
24 
25  // GeometricSearchDet interface
26 
27  const std::vector<const GeomDet*>& basicComponents() const override { return theDets; }
28 
29  const std::vector<const GeometricSearchDet*>& components() const override __attribute__((cold));
30 
34  __attribute__((cold));
35 
37  const Propagator& prop,
40 
41 private:
42  // private methods for the implementation of groupedCompatibleDets()
43 
45  __attribute__((hot));
46 
48  const Propagator& prop,
50  const SubLayerCrossing& crossing,
51  std::vector<DetGroup>& result,
52  std::vector<DetGroup>& brotherresult) const __attribute__((hot));
53 
54  float computeWindowSize(const GeomDet* det,
57 
59  const Propagator& prop,
61  const SubLayerCrossing& crossing,
62  float window,
63  std::vector<DetGroup>& result,
64  std::vector<DetGroup>& brotherresult,
65  bool checkClosest) const __attribute__((hot));
66 
67  const std::vector<const GeomDet*>& subRod(int ind) const { return (ind == 0 ? theInnerDets : theOuterDets); }
68 
69  const std::vector<const GeomDet*>& subRodBrothers(int ind) const {
70  return (ind == 0 ? theInnerDetBrothers : theOuterDetBrothers);
71  }
72 
73 private:
74  std::vector<const GeomDet*> theDets;
75  std::vector<const GeomDet*> theInnerDets;
76  std::vector<const GeomDet*> theOuterDets;
77  std::vector<const GeomDet*> theInnerDetBrothers;
78  std::vector<const GeomDet*> theOuterDetBrothers;
79 
82 
85 };
86 
87 #pragma GCC visibility pop
88 #endif
def window
Definition: svgfig.py:643
BinFinderType theOuterBinFinder
Phase2OTBarrelRod(std::vector< const GeomDet * > &innerDets, std::vector< const GeomDet * > &outerDets, const std::vector< const GeomDet * > &innerDetBrothers=std::vector< const GeomDet * >(), const std::vector< const GeomDet * > &outerDetBrothers=std::vector< const GeomDet * >()) __attribute__((cold))
PropagationDirection
const std::vector< const GeomDet * > & basicComponents() const override
std::vector< const GeomDet * > theDets
tuple result
Definition: mps_fire.py:311
BinFinderType theInnerBinFinder
#define override(base_class)
std::pair< bool, TrajectoryStateOnSurface > compatible(const TrajectoryStateOnSurface &ts, const Propagator &, const MeasurementEstimator &) const override __attribute__((cold))
float __attribute__((vector_size(8))) cms_float32x2_t
Definition: ExtVec.h:12
void groupedCompatibleDetsV(const TrajectoryStateOnSurface &tsos, const Propagator &prop, const MeasurementEstimator &est, std::vector< DetGroup > &result) const override __attribute__((hot))
std::vector< const GeomDet * > theOuterDetBrothers
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 * > & subRodBrothers(int ind) const
Definition: DetRod.h:13
const std::vector< const GeometricSearchDet * > & components() const override __attribute__((cold))
Returns basic components, if any.
ReferenceCountingPointer< Plane > theOuterPlane
float computeWindowSize(const GeomDet *det, const TrajectoryStateOnSurface &tsos, const MeasurementEstimator &est) const __attribute__((hot))
GenericBinFinderInZ< float, GeomDet > BinFinderType
SubLayerCrossings computeCrossings(const TrajectoryStateOnSurface &tsos, PropagationDirection propDir) const __attribute__((hot))
ReferenceCountingPointer< Plane > theInnerPlane
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))
const std::vector< const GeomDet * > & subRod(int ind) const
std::vector< const GeomDet * > theOuterDets
std::vector< const GeomDet * > theInnerDets
std::vector< const GeomDet * > theInnerDetBrothers