CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TIBLayer.h
Go to the documentation of this file.
1 #ifndef TkDetLayers_TIBLayer_h
2 #define TkDetLayers_TIBLayer_h
3 
4 
6 #include "TIBRing.h"
7 #include "SubLayerCrossings.h"
9 
14 #pragma GCC visibility push(hidden)
16  public:
17 
18  TIBLayer(std::vector<const TIBRing*>& innerRings,
19  std::vector<const TIBRing*>& outerRings);
20 
21  ~TIBLayer();
22 
23  // GeometricSearchDet interface
24 
25  virtual const std::vector<const GeomDet*>& basicComponents() const {return theBasicComps;}
26 
27  virtual const std::vector<const GeometricSearchDet*>& components() const {return theComps;}
28 
30  const Propagator& prop,
31  const MeasurementEstimator& est,
32  std::vector<DetGroup> & result) const;
33 
34  // DetLayer interface
36 
37 
38  private:
39  // private methods for the implementation of groupedCompatibleDets()
40 
42  PropagationDirection propDir) const;
43 
44  bool addClosest( const TrajectoryStateOnSurface& tsos,
45  const Propagator& prop,
46  const MeasurementEstimator& est,
47  const SubLayerCrossing& crossing,
48  std::vector<DetGroup>& result) const;
49 
50  void searchNeighbors( const TrajectoryStateOnSurface& tsos,
51  const Propagator& prop,
52  const MeasurementEstimator& est,
53  const SubLayerCrossing& crossing,
54  float window,
55  std::vector<DetGroup>& result,
56  bool checkClosest) const;
57 
58  float computeWindowSize( const GeomDet* det,
59  const TrajectoryStateOnSurface& tsos,
60  const MeasurementEstimator& est) const;
61 
62  bool overlap( const GlobalPoint& gpos, const GeometricSearchDet& ring, float window) const;
63 
64  const std::vector<const GeometricSearchDet*>& subLayer( int ind) const {
65  return (ind==0 ? theInnerComps : theOuterComps);
66  }
67 
68 
69  private:
70  std::vector<const GeometricSearchDet*> theComps;
71  std::vector<const GeometricSearchDet*> theInnerComps;
72  std::vector<const GeometricSearchDet*> theOuterComps;
73  std::vector<const GeomDet*> theBasicComps;
74 
77 
80 
81  BoundCylinder* cylinder( const std::vector<const GeometricSearchDet*>& rings);
82 
83 
84 };
85 
86 
87 #pragma GCC visibility pop
88 #endif
bool addClosest(const TrajectoryStateOnSurface &tsos, const Propagator &prop, const MeasurementEstimator &est, const SubLayerCrossing &crossing, std::vector< DetGroup > &result) const
Definition: TIBLayer.cc:197
def window
Definition: svgfig.py:642
BoundCylinder * cylinder(const std::vector< const GeometricSearchDet * > &rings)
Definition: TIBLayer.cc:102
virtual const std::vector< const GeometricSearchDet * > & components() const
Returns basic components, if any.
Definition: TIBLayer.h:27
void searchNeighbors(const TrajectoryStateOnSurface &tsos, const Propagator &prop, const MeasurementEstimator &est, const SubLayerCrossing &crossing, float window, std::vector< DetGroup > &result, bool checkClosest) const
Definition: TIBLayer.cc:210
bool overlap(const GlobalPoint &gpos, const GeometricSearchDet &ring, float window) const
Definition: TIBLayer.cc:248
std::vector< const GeometricSearchDet * > theOuterComps
Definition: TIBLayer.h:72
void groupedCompatibleDetsV(const TrajectoryStateOnSurface &tsos, const Propagator &prop, const MeasurementEstimator &est, std::vector< DetGroup > &result) const
Definition: TIBLayer.cc:133
PropagationDirection
SubLayerCrossings computeCrossings(const TrajectoryStateOnSurface &startingState, PropagationDirection propDir) const
Definition: TIBLayer.cc:162
GeneralBinFinderInZforGeometricSearchDet< float > theOuterBinFinder
Definition: TIBLayer.h:79
std::vector< const GeometricSearchDet * > theComps
Definition: TIBLayer.h:70
float computeWindowSize(const GeomDet *det, const TrajectoryStateOnSurface &tsos, const MeasurementEstimator &est) const
Definition: TIBLayer.cc:265
ReferenceCountingPointer< BoundCylinder > theInnerCylinder
Definition: TIBLayer.h:75
virtual const std::vector< const GeomDet * > & basicComponents() const
Definition: TIBLayer.h:25
virtual SubDetector subDetector() const
The type of detector (PixelBarrel, PixelEndcap, TIB, TOB, TID, TEC, CSC, DT, RPCBarrel, RPCEndcap)
Definition: TIBLayer.h:35
#define GCC11_FINAL
tuple result
Definition: query.py:137
const std::vector< const GeometricSearchDet * > & subLayer(int ind) const
Definition: TIBLayer.h:64
std::vector< const GeomDet * > theBasicComps
Definition: TIBLayer.h:73
std::vector< const GeometricSearchDet * > theInnerComps
Definition: TIBLayer.h:71
GeneralBinFinderInZforGeometricSearchDet< float > theInnerBinFinder
Definition: TIBLayer.h:78
TIBLayer(std::vector< const TIBRing * > &innerRings, std::vector< const TIBRing * > &outerRings)
Definition: TIBLayer.cc:20
ReferenceCountingPointer< BoundCylinder > theOuterCylinder
Definition: TIBLayer.h:76
~TIBLayer()
Definition: TIBLayer.cc:91