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 
41  SubLayerCrossings computeCrossings( const TrajectoryStateOnSurface& startingState,
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
def window
Definition: svgfig.py:642
const std::vector< const GeometricSearchDet * > & subLayer(int ind) const
Definition: TIBLayer.h:64
virtual void groupedCompatibleDetsV(const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est, std::vector< DetGroup > &result) const
PropagationDirection
GeneralBinFinderInZforGeometricSearchDet< float > theOuterBinFinder
Definition: TIBLayer.h:79
virtual const std::vector< const GeomDet * > & basicComponents() const
Definition: TIBLayer.h:25
bool overlap(const reco::Muon &muon1, const reco::Muon &muon2, double pullX=1.0, double pullY=1.0, bool checkAdjacentChambers=false)
float computeWindowSize(const GeomDet *det, const TrajectoryStateOnSurface &tsos, const MeasurementEstimator &est)
Definition: TkDetUtil.cc:31
virtual SubDetector subDetector() const
The type of detector (PixelBarrel, PixelEndcap, TIB, TOB, TID, TEC, CSC, DT, RPCBarrel, RPCEndcap)
Definition: TIBLayer.h:35
tuple result
Definition: query.py:137
virtual const std::vector< const GeometricSearchDet * > & components() const
Definition: TIBLayer.h:27
GeneralBinFinderInZforGeometricSearchDet< float > theInnerBinFinder
Definition: TIBLayer.h:78
Unlimited (trivial) bounds.