CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TBPLayer.h
Go to the documentation of this file.
1 #ifndef TkDetLayers_TBPLayer_h
2 #define TkDetLayers_TBPLayer_h
3 
4 
5 #include "TBLayer.h"
6 #include "PixelRod.h"
7 #include "TOBRod.h"
8 #include "Phase2OTBarrelRod.h"
9 
11 
15 #pragma GCC visibility push(hidden)
16 class TBPLayer final : public TBLayer {
17  public:
19 
20 
21  TBPLayer(std::vector<const PixelRod*>& inner,
22  std::vector<const PixelRod*>& outer) __attribute__ ((cold)):
23  TBLayer(inner,outer, GeomDetEnumerators::PixelBarrel){construct();}
24 
25  TBPLayer(std::vector<const TOBRod*>& inner,
26  std::vector<const TOBRod*>& outer) __attribute__ ((cold)):
27  TBLayer(inner,outer, GeomDetEnumerators::TOB){construct();}
28 
29  TBPLayer(std::vector<const Phase2OTBarrelRod*>& inner,
30  std::vector<const Phase2OTBarrelRod*>& outer) __attribute__ ((cold)):
31  TBLayer(inner,outer, GeomDetEnumerators::P2OTB){construct();}
32 
33 
34  ~TBPLayer() __attribute__ ((cold));
35 
36 
37 
38 
39  private:
40  // private methods for the implementation of groupedCompatibleDets()
41 
42  void construct() __attribute__ ((cold));
43 
44 
45  std::tuple<bool,int,int> computeIndexes(GlobalPoint gInnerPoint, GlobalPoint gOuterPoint) const __attribute__ ((hot));
46 
47 
48 
49  float computeWindowSize( const GeomDet* det,
52 
53  static float calculatePhiWindow( float Xmax, const GeomDet& det,
55 
56 
58  const Propagator& prop,
60  const SubLayerCrossing& crossing,
61  float window,
62  std::vector<DetGroup>& result,
63  bool checkClosest) const __attribute__ ((hot));
64 
65 
68 
69 
70  BoundCylinder* cylinder( const std::vector<const GeometricSearchDet*>& rods) const __attribute__ ((cold));
71 
72 
73 };
74 
75 
76 #pragma GCC visibility pop
77 #endif
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: TBPLayer.cc:126
def window
Definition: svgfig.py:642
~TBPLayer() __attribute__((cold))
Definition: TBPLayer.cc:85
BoundCylinder * cylinder(const std::vector< const GeometricSearchDet * > &rods) const __attribute__((cold))
Definition: TBPLayer.cc:87
TBPLayer(std::vector< const Phase2OTBarrelRod * > &inner, std::vector< const Phase2OTBarrelRod * > &outer) __attribute__((cold))
Definition: TBPLayer.h:29
BinFinderType theOuterBinFinder
Definition: TBPLayer.h:67
tuple result
Definition: mps_fire.py:95
TBPLayer(std::vector< const PixelRod * > &inner, std::vector< const PixelRod * > &outer) __attribute__((cold))
Definition: TBPLayer.h:21
void construct() __attribute__((cold))
Definition: TBPLayer.cc:23
TBPLayer(std::vector< const TOBRod * > &inner, std::vector< const TOBRod * > &outer) __attribute__((cold))
Definition: TBPLayer.h:25
PeriodicBinFinderInPhi< float > BinFinderType
Definition: TBPLayer.h:18
float __attribute__((vector_size(8))) float32x2_t
Definition: ExtVec.h:12
string const
Definition: compareJSON.py:14
BinFinderType theInnerBinFinder
Definition: TBPLayer.h:66
static float calculatePhiWindow(float Xmax, const GeomDet &det, const TrajectoryStateOnSurface &state) __attribute__((hot))
float computeWindowSize(const GeomDet *det, const TrajectoryStateOnSurface &tsos, const MeasurementEstimator &est) const __attribute__((hot))
Definition: TBPLayer.cc:117
std::tuple< bool, int, int > computeIndexes(GlobalPoint gInnerPoint, GlobalPoint gOuterPoint) const __attribute__((hot))
Definition: TBPLayer.cc:99