CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PixelBarrelLayer.h
Go to the documentation of this file.
1 #ifndef TkDetLayers_PixelBarrelLayer_h
2 #define TkDetLayers_PixelBarrelLayer_h
3 
4 
6 #include "PixelRod.h"
8 #include "SubLayerCrossings.h"
9 
10 
11 
16 #pragma GCC visibility push(hidden)
17 class PixelBarrelLayer GCC11_FINAL : public RodBarrelLayer, public GeometricSearchDetWithGroups {
18  public:
20 
21 
22  PixelBarrelLayer(std::vector<const PixelRod*>& innerRods,
23  std::vector<const PixelRod*>& outerRods);
24 
25  ~PixelBarrelLayer();
26 
27  // GeometricSearchDet interface
28 
29  virtual const std::vector<const GeomDet*>& basicComponents() const {return theBasicComps;}
30 
31  virtual const std::vector<const GeometricSearchDet*>& components() const {return theComps;}
32 
34  const Propagator& prop,
35  const MeasurementEstimator& est,
36  std::vector<DetGroup> & result) const;
37 
38 
39  // DetLayer interface
41 
42 
43  private:
44  // private methods for the implementation of groupedCompatibleDets()
45  // the implementation of the methods is the same of the TOBLayer one.
46  // In the future, to move common code in a common place!
47 
48  SubLayerCrossings computeCrossings( const TrajectoryStateOnSurface& tsos,
49  PropagationDirection propDir) const;
50 
51  bool addClosest( const TrajectoryStateOnSurface& tsos,
52  const Propagator& prop,
53  const MeasurementEstimator& est,
54  const SubLayerCrossing& crossing,
55  std::vector<DetGroup>& result) const;
56 
57  float computeWindowSize( const GeomDet* det,
58  const TrajectoryStateOnSurface& tsos,
59  const MeasurementEstimator& est) const;
60 
61  double calculatePhiWindow( double Xmax, const GeomDet& det,
62  const TrajectoryStateOnSurface& state) const;
63 
64  bool overlap( const GlobalPoint& gpos, const GeometricSearchDet& rod, float phiWin) const;
65 
66 
67  void searchNeighbors( const TrajectoryStateOnSurface& tsos,
68  const Propagator& prop,
69  const MeasurementEstimator& est,
70  const SubLayerCrossing& crossing,
71  float window,
72  std::vector<DetGroup>& result,
73  bool checkClosest) const;
74 
75  const std::vector<const GeometricSearchDet*>& subLayer( int ind) const {
76  return (ind==0 ? theInnerComps : theOuterComps);}
77 
78  BoundCylinder* cylinder( const std::vector<const GeometricSearchDet*>& rods) const ;
79 
80 
81  private:
82  std::vector<const GeometricSearchDet*> theComps;
83  std::vector<const GeometricSearchDet*> theInnerComps;
84  std::vector<const GeometricSearchDet*> theOuterComps;
85  std::vector<const GeomDet*> theBasicComps;
86 
89 
92 
93 
94 };
95 
96 
97 #pragma GCC visibility pop
98 #endif
def window
Definition: svgfig.py:642
const std::vector< const GeometricSearchDet * > & subLayer(int ind) const
ReferenceCountingPointer< BoundCylinder > theOuterCylinder
BinFinderType theOuterBinFinder
virtual void groupedCompatibleDetsV(const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est, std::vector< DetGroup > &result) const
PropagationDirection
ReferenceCountingPointer< BoundCylinder > theInnerCylinder
virtual const std::vector< const GeomDet * > & basicComponents() const
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
PeriodicBinFinderInPhi< double > BinFinderType
BinFinderType theInnerBinFinder
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
std::vector< const GeometricSearchDet * > theOuterComps
std::vector< const GeometricSearchDet * > theInnerComps
char state
Definition: procUtils.cc:75
float calculatePhiWindow(const MeasurementEstimator::Local2DVector &maxDistance, const TrajectoryStateOnSurface &ts, const Plane &plane)
Definition: TkDetUtil.cc:44
Unlimited (trivial) bounds.