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)
18  public:
20 
21 
22  PixelBarrelLayer(std::vector<const PixelRod*>& innerRods,
23  std::vector<const PixelRod*>& outerRods);
24 
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 
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 > theInnerCylinder
bool overlap(const GlobalPoint &gpos, const GeometricSearchDet &rod, float phiWin) const
PropagationDirection
double calculatePhiWindow(double Xmax, const GeomDet &det, const TrajectoryStateOnSurface &state) const
void searchNeighbors(const TrajectoryStateOnSurface &tsos, const Propagator &prop, const MeasurementEstimator &est, const SubLayerCrossing &crossing, float window, std::vector< DetGroup > &result, bool checkClosest) const
std::vector< const GeometricSearchDet * > theInnerComps
virtual const std::vector< const GeometricSearchDet * > & components() const
Returns basic components, if any.
ReferenceCountingPointer< BoundCylinder > theOuterCylinder
BoundCylinder * cylinder(const std::vector< const GeometricSearchDet * > &rods) const
std::vector< const GeomDet * > theBasicComps
#define GCC11_FINAL
virtual const std::vector< const GeomDet * > & basicComponents() const
tuple result
Definition: query.py:137
BinFinderType theOuterBinFinder
float computeWindowSize(const GeomDet *det, const TrajectoryStateOnSurface &tsos, const MeasurementEstimator &est) const
BinFinderType theInnerBinFinder
PixelBarrelLayer(std::vector< const PixelRod * > &innerRods, std::vector< const PixelRod * > &outerRods)
PeriodicBinFinderInPhi< double > BinFinderType
std::vector< const GeometricSearchDet * > theComps
SubLayerCrossings computeCrossings(const TrajectoryStateOnSurface &tsos, PropagationDirection propDir) const
virtual SubDetector subDetector() const
The type of detector (PixelBarrel, PixelEndcap, TIB, TOB, TID, TEC, CSC, DT, RPCBarrel, RPCEndcap)
void groupedCompatibleDetsV(const TrajectoryStateOnSurface &tsos, const Propagator &prop, const MeasurementEstimator &est, std::vector< DetGroup > &result) const
bool addClosest(const TrajectoryStateOnSurface &tsos, const Propagator &prop, const MeasurementEstimator &est, const SubLayerCrossing &crossing, std::vector< DetGroup > &result) const
char state
Definition: procUtils.cc:75
std::vector< const GeometricSearchDet * > theOuterComps