CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TIDLayer.h
Go to the documentation of this file.
1 #ifndef TkDetLayers_TIDLayer_h
2 #define TkDetLayers_TIDLayer_h
3 
4 
6 #include "TIDRing.h"
7 #include<array>
8 
9 
14 #pragma GCC visibility push(hidden)
16  public:
17  TIDLayer(std::vector<const TIDRing*>& rings) __attribute__ ((cold));
18  ~TIDLayer() __attribute__ ((cold));
19 
20  // GeometricSearchDet interface
21 
22  virtual const std::vector<const GeomDet*>& basicComponents() const {return theBasicComps;}
23 
24  virtual const std::vector<const GeometricSearchDet*>& components() const __attribute__ ((cold));
25 
27  const Propagator& prop,
29  std::vector<DetGroup> & result) const __attribute__ ((hot));
30 
31  // DetLayer interface
33 
34 
35  private:
36  // private methods for the implementation of groupedCompatibleDets()
37  BoundDisk* computeDisk( const std::vector<const TIDRing*>& rings) const __attribute__ ((cold));
38 
39  std::array<int,3> ringIndicesByCrossingProximity(const TrajectoryStateOnSurface& startingState,
40  const Propagator& prop ) const;
41 
42  // bool isCompatible( const TrajectoryStateOnSurface& ms,
43  // const MeasurementEstimator& est) const;
44 
45  int findClosest( const GlobalPoint[3] ) const __attribute__ ((hot));
46 
47  int findNextIndex( const GlobalPoint[3] , int ) const __attribute__ ((hot));
48 
49  bool overlapInR( const TrajectoryStateOnSurface& tsos, int i, double ymax) const __attribute__ ((hot));
50 
51 
52  float computeWindowSize( const GeomDet* det,
55 
56  void fillRingPars(int i) __attribute__ ((cold));
57 
58  private:
59  std::vector<GeomDet const*> theBasicComps;
61  struct RingPar { float theRingR, thetaRingMin, thetaRingMax;};
63 
64 };
65 
66 
67 #pragma GCC visibility pop
68 #endif
int i
Definition: DBlmapReader.cc:9
#define GCC11_FINAL
virtual const std::vector< const GeometricSearchDet * > & components() const __attribute__((cold))
Definition: TIDLayer.cc:94
std::vector< GeomDet const * > theBasicComps
Definition: TIDLayer.h:59
std::array< int, 3 > ringIndicesByCrossingProximity(const TrajectoryStateOnSurface &startingState, const Propagator &prop) const
Definition: TIDLayer.cc:239
float thetaRingMin
Definition: TIDLayer.h:61
virtual const std::vector< const GeomDet * > & basicComponents() const
Definition: TIDLayer.h:22
RingPar ringPars[3]
Definition: TIDLayer.h:62
tuple result
Definition: query.py:137
TIDLayer(std::vector< const TIDRing * > &rings) __attribute__((cold))
Definition: TIDLayer.cc:114
~TIDLayer() __attribute__((cold))
Definition: TIDLayer.cc:172
void fillRingPars(int i) __attribute__((cold))
Definition: TIDLayer.cc:102
float __attribute__((vector_size(8))) float32x2_t
Definition: ExtVec.h:6
bool overlapInR(const TrajectoryStateOnSurface &tsos, int i, double ymax) const __attribute__((hot))
Definition: TIDLayer.cc:343
string const
Definition: compareJSON.py:14
#define private
Definition: FWFileEntry.h:17
float computeWindowSize(const GeomDet *det, const TrajectoryStateOnSurface &tsos, const MeasurementEstimator &est) const __attribute__((hot))
Definition: TIDLayer.cc:291
BoundDisk * computeDisk(const std::vector< const TIDRing * > &rings) const __attribute__((cold))
Definition: TIDLayer.cc:142
const TIDRing * theComps[3]
Definition: TIDLayer.h:60
int findClosest(const GlobalPoint[3]) const __attribute__((hot))
Definition: TIDLayer.cc:303
int findNextIndex(const GlobalPoint[3], int) const __attribute__((hot))
Definition: TIDLayer.cc:320
void groupedCompatibleDetsV(const TrajectoryStateOnSurface &tsos, const Propagator &prop, const MeasurementEstimator &est, std::vector< DetGroup > &result) const __attribute__((hot))
Definition: TIDLayer.cc:179
virtual SubDetector subDetector() const
Definition: TIDLayer.h:32