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, public GeometricSearchDetWithGroups {
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 {return theComps;}
25 
27  const Propagator& prop,
28  const MeasurementEstimator& est,
29  std::vector<DetGroup> & result) const;
30 
31  // DetLayer interface
33 
34 
35  private:
36  // methods for groupedCompatibleDets implementation
37  int computeHelicity(const GeometricSearchDet* firstBlade,const GeometricSearchDet* secondBlade) const;
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;
56 
58  computeCrossings( const TrajectoryStateOnSurface& startingState,
59  PropagationDirection propDir) const;
60 
61  float computeWindowSize( const GeomDet* det,
62  const TrajectoryStateOnSurface& tsos,
63  const MeasurementEstimator& est) const;
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
float computeWindowSize(const GeomDet *det, const TrajectoryStateOnSurface &tsos, const MeasurementEstimator &est)
Definition: TkDetUtil.cc:31
PeriodicBinFinderInPhi< double > BinFinderType
virtual SubDetector subDetector() const
The type of detector (PixelBarrel, PixelEndcap, TIB, TOB, TID, TEC, CSC, DT, RPCBarrel, RPCEndcap)
tuple result
Definition: query.py:137
virtual const std::vector< const GeometricSearchDet * > & components() const
SubTurbineCrossings(int ci, int ni, float nd)
BinFinderType theBinFinder
Unlimited (trivial) bounds.