CMS 3D CMS Logo

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  std::vector<const GeomDet*>& innerDetBrothers,
21  std::vector<const GeomDet*>& outerDetBrothers) __attribute__((cold));
22  ~Phase2OTBarrelRod() override __attribute__((cold));
23 
24  // GeometricSearchDet interface
25 
26  const std::vector<const GeomDet*>& basicComponents() const override { return theDets; }
27 
28  const std::vector<const GeometricSearchDet*>& components() const override __attribute__((cold));
29 
33  __attribute__((cold));
34 
36  const Propagator& prop,
38  std::vector<DetGroup>& result) const override __attribute__((hot));
39 
40 private:
41  // private methods for the implementation of groupedCompatibleDets()
42 
44  __attribute__((hot));
45 
47  const Propagator& prop,
49  const SubLayerCrossing& crossing,
50  std::vector<DetGroup>& result,
51  std::vector<DetGroup>& brotherresult) const __attribute__((hot));
52 
53  float computeWindowSize(const GeomDet* det,
56 
58  const Propagator& prop,
60  const SubLayerCrossing& crossing,
61  float window,
62  std::vector<DetGroup>& result,
63  std::vector<DetGroup>& brotherresult,
64  bool checkClosest) const __attribute__((hot));
65 
66  const std::vector<const GeomDet*>& subRod(int ind) const { return (ind == 0 ? theInnerDets : theOuterDets); }
67 
68  const std::vector<const GeomDet*>& subRodBrothers(int ind) const {
69  return (ind == 0 ? theInnerDetBrothers : theOuterDetBrothers);
70  }
71 
72 private:
73  std::vector<const GeomDet*> theDets;
74  std::vector<const GeomDet*> theInnerDets;
75  std::vector<const GeomDet*> theOuterDets;
76  std::vector<const GeomDet*> theInnerDetBrothers;
77  std::vector<const GeomDet*> theOuterDetBrothers;
78 
81 
84 };
85 
86 #pragma GCC visibility pop
87 #endif
MeasurementEstimator
Definition: MeasurementEstimator.h:19
GeomDet
Definition: GeomDet.h:27
Phase2OTBarrelRod::~Phase2OTBarrelRod
~Phase2OTBarrelRod() override __attribute__((cold))
Definition: Phase2OTBarrelRod.cc:80
Phase2OTBarrelRod::subRod
const std::vector< const GeomDet * > & subRod(int ind) const
Definition: Phase2OTBarrelRod.h:66
svgfig.window
def window(xmin, xmax, ymin, ymax, x=0, y=0, width=100, height=100, xlogbase=None, ylogbase=None, minusInfinity=-1000, flipx=False, flipy=True)
Definition: svgfig.py:643
GeometricSearchDet.h
Phase2OTBarrelRod::theInnerDetBrothers
std::vector< const GeomDet * > theInnerDetBrothers
Definition: Phase2OTBarrelRod.h:76
Phase2OTBarrelRod::theOuterDets
std::vector< const GeomDet * > theOuterDets
Definition: Phase2OTBarrelRod.h:75
ReferenceCountingPointer< Plane >
watchdog.const
const
Definition: watchdog.py:83
Phase2OTBarrelRod::groupedCompatibleDetsV
void groupedCompatibleDetsV(const TrajectoryStateOnSurface &tsos, const Propagator &prop, const MeasurementEstimator &est, std::vector< DetGroup > &result) const override __attribute__((hot))
Definition: Phase2OTBarrelRod.cc:93
SubLayerCrossings.h
Phase2OTBarrelRod::compatible
std::pair< bool, TrajectoryStateOnSurface > compatible(const TrajectoryStateOnSurface &ts, const Propagator &, const MeasurementEstimator &) const override __attribute__((cold))
Definition: Phase2OTBarrelRod.cc:86
Phase2OTBarrelRod::Phase2OTBarrelRod
Phase2OTBarrelRod(std::vector< const GeomDet * > &innerDets, std::vector< const GeomDet * > &outerDets, std::vector< const GeomDet * > &innerDetBrothers, std::vector< const GeomDet * > &outerDetBrothers) __attribute__((cold))
Definition: Phase2OTBarrelRod.cc:27
Propagator
Definition: Propagator.h:44
TrajectoryStateOnSurface
Definition: TrajectoryStateOnSurface.h:16
Phase2OTBarrelRod
Definition: Phase2OTBarrelRod.h:14
Phase2OTBarrelRod::searchNeighbors
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))
Definition: Phase2OTBarrelRod.cc:240
DetRod
Definition: DetRod.h:13
Phase2OTBarrelRod::components
const std::vector< const GeometricSearchDet * > & components() const override __attribute__((cold))
Returns basic components, if any.
Definition: Phase2OTBarrelRod.cc:82
Phase2OTBarrelRod::subRodBrothers
const std::vector< const GeomDet * > & subRodBrothers(int ind) const
Definition: Phase2OTBarrelRod.h:68
Phase2OTBarrelRod::theOuterPlane
ReferenceCountingPointer< Plane > theOuterPlane
Definition: Phase2OTBarrelRod.h:80
Phase2OTBarrelRod::basicComponents
const std::vector< const GeomDet * > & basicComponents() const override
Definition: Phase2OTBarrelRod.h:26
Phase2OTBarrelRod::theDets
std::vector< const GeomDet * > theDets
Definition: Phase2OTBarrelRod.h:73
Phase2OTBarrelRod::computeCrossings
SubLayerCrossings computeCrossings(const TrajectoryStateOnSurface &tsos, PropagationDirection propDir) const __attribute__((hot))
Definition: Phase2OTBarrelRod.cc:160
Phase2OTBarrelRod::theInnerPlane
ReferenceCountingPointer< Plane > theInnerPlane
Definition: Phase2OTBarrelRod.h:79
__attribute__
float __attribute__((vector_size(8))) cms_float32x2_t
Definition: ExtVec.h:12
Phase2OTBarrelRod::theInnerBinFinder
BinFinderType theInnerBinFinder
Definition: Phase2OTBarrelRod.h:82
Phase2OTBarrelRod::addClosest
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))
Definition: Phase2OTBarrelRod.cc:193
Phase2OTBarrelRod::theOuterDetBrothers
std::vector< const GeomDet * > theOuterDetBrothers
Definition: Phase2OTBarrelRod.h:77
DetRod.h
std
Definition: JetResolutionObject.h:76
GenericBinFinderInZ< float, GeomDet >
GenericBinFinderInZ.h
Phase2OTBarrelRod::theInnerDets
std::vector< const GeomDet * > theInnerDets
Definition: Phase2OTBarrelRod.h:74
PropagationDirection
PropagationDirection
Definition: PropagationDirection.h:4
SubLayerCrossing
Definition: SubLayerCrossings.h:7
DetGroup
Definition: DetGroup.h:41
mps_fire.result
result
Definition: mps_fire.py:303
Phase2OTBarrelRod::theOuterBinFinder
BinFinderType theOuterBinFinder
Definition: Phase2OTBarrelRod.h:83
Phase2OTBarrelRod::computeWindowSize
float computeWindowSize(const GeomDet *det, const TrajectoryStateOnSurface &tsos, const MeasurementEstimator &est) const __attribute__((hot))
Definition: Phase2OTBarrelRod.cc:209
SubLayerCrossings
Definition: SubLayerCrossings.h:22
Phase2OTBarrelRod::BinFinderType
GenericBinFinderInZ< float, GeomDet > BinFinderType
Definition: Phase2OTBarrelRod.h:16