CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PixelForwardLayer.h
Go to the documentation of this file.
1 #ifndef TkDetLayers_PixelForwardLayer_h
2 #define TkDetLayers_PixelForwardLayer_h
3 
4 
6 #include "PixelBlade.h"
8 
9 
14 #pragma GCC visibility push(hidden)
15 class PixelForwardLayer GCC11_FINAL : public ForwardDetLayer {
16  public:
17  PixelForwardLayer(std::vector<const PixelBlade*>& blades);
18  ~PixelForwardLayer();
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)) {return theComps;}
25 
27  const Propagator& prop,
28  const MeasurementEstimator& est,
29  std::vector<DetGroup> & result) const __attribute__ ((hot));
30 
31  // DetLayer interface
33 
34 
35  private:
36  // methods for groupedCompatibleDets implementation
37  static int computeHelicity(const GeometricSearchDet* firstBlade,const GeometricSearchDet* secondBlade);
38 
40  SubTurbineCrossings(): isValid(false){}
41  SubTurbineCrossings( int ci, int ni, float nd) :
42  isValid(true),closestIndex(ci), nextIndex(ni), nextDistance(nd) {}
43 
44  bool isValid;
46  int nextIndex;
47  float nextDistance;
48  };
49 
50  void searchNeighbors( const TrajectoryStateOnSurface& tsos,
51  const Propagator& prop,
52  const MeasurementEstimator& est,
53  const SubTurbineCrossings& crossings,
54  float window,
55  std::vector<DetGroup>& result) const __attribute__ ((hot));
56 
58  computeCrossings( const TrajectoryStateOnSurface& startingState,
59  PropagationDirection propDir) const __attribute__ ((hot));
60 
61  static float computeWindowSize( const GeomDet* det,
62  const TrajectoryStateOnSurface& tsos,
63  const MeasurementEstimator& est);
64 
65  private:
68 
69  std::vector<const GeometricSearchDet*> theComps;
70  std::vector<const GeomDet*> theBasicComps;
71 };
72 
73 
74 #pragma GCC visibility pop
75 #endif
def window
Definition: svgfig.py:642
virtual void groupedCompatibleDetsV(const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est, std::vector< DetGroup > &result) const
PropagationDirection
virtual const std::vector< const GeomDet * > & basicComponents() const
virtual const std::vector< const GeometricSearchDet * > & components() const __attribute__((cold))
Returns basic components, if any.
virtual SubDetector subDetector() const
The type of detector (PixelBarrel, PixelEndcap, TIB, TOB, TID, TEC, CSC, DT, RPCBarrel, RPCEndcap)
tuple result
Definition: query.py:137
SubTurbineCrossings(int ci, int ni, float nd)
float computeWindowSize(const GeomDet *det, const TrajectoryStateOnSurface &tsos, const MeasurementEstimator &est)
Definition: BarrelUtil.h:35
float __attribute__((vector_size(8))) float32x2_t
Definition: ExtVec.h:6
string const
Definition: compareJSON.py:14
BinFinderType theBinFinder
PeriodicBinFinderInPhi< float > BinFinderType
volatile std::atomic< bool > shutdown_flag false
Unlimited (trivial) bounds.