CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CompositeTECPetal.h
Go to the documentation of this file.
1 #ifndef TkDetLayers_CompositeTECPetal_h
2 #define TkDetLayers_CompositeTECPetal_h
3 
4 
9 
10 
14 class CompositeTECPetal : public TECPetal{
15  public:
16  CompositeTECPetal(std::vector<const TECWedge*>& innerWedges,
17  std::vector<const TECWedge*>& outerWedges);
18 
20 
21  // GeometricSearchDet interface
22  virtual const std::vector<const GeomDet*>& basicComponents() const {return theBasicComps;}
23 
24  virtual const std::vector<const GeometricSearchDet*>& components() const {return theComps;}
25 
26  virtual std::pair<bool, TrajectoryStateOnSurface>
28  const MeasurementEstimator&) const;
29 
30  virtual void
32  const Propagator& prop,
33  const MeasurementEstimator& est,
34  std::vector<DetGroup> & result) const;
35 
36 
37  private:
38  // private methods for the implementation of groupedCompatibleDets()
40  PropagationDirection propDir) const;
41 
42 
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  static
59  bool overlap( const GlobalPoint& gpos, const GeometricSearchDet& rod, float window);
60 
61  static
62  float computeWindowSize( const GeomDet* det,
63  const TrajectoryStateOnSurface& tsos,
64  const MeasurementEstimator& est);
65 
66  int findBin( float R,int layer) const;
67 
68  GlobalPoint findPosition(int index,int diskSectorIndex) const ;
69 
70  const std::vector<const GeometricSearchDet*>& subLayer( int ind) const {
71  return (ind==0 ? theFrontComps : theBackComps);
72  }
73 
74 
75  private:
76  std::vector<const GeometricSearchDet*> theComps;
77  std::vector<const GeometricSearchDet*> theFrontComps;
78  std::vector<const GeometricSearchDet*> theBackComps;
79  std::vector<const GeomDet*> theBasicComps;
80 
81  std::vector<float> theFrontBoundaries;
82  std::vector<float> theBackBoundaries;
83 
86 
87 };
88 
89 
90 #endif
std::vector< float > theFrontBoundaries
int findBin(float R, int layer) const
def window
Definition: svgfig.py:642
std::vector< const GeometricSearchDet * > theFrontComps
SubLayerCrossings computeCrossings(const TrajectoryStateOnSurface &tsos, PropagationDirection propDir) const
const std::vector< const GeometricSearchDet * > & subLayer(int ind) const
std::vector< const GeometricSearchDet * > theComps
static bool overlap(const GlobalPoint &gpos, const GeometricSearchDet &rod, float window)
PropagationDirection
void searchNeighbors(const TrajectoryStateOnSurface &tsos, const Propagator &prop, const MeasurementEstimator &est, const SubLayerCrossing &crossing, float window, std::vector< DetGroup > &result, bool checkClosest) const
CompositeTECPetal(std::vector< const TECWedge * > &innerWedges, std::vector< const TECWedge * > &outerWedges)
tuple result
Definition: query.py:137
std::vector< const GeometricSearchDet * > theBackComps
static float computeWindowSize(const GeomDet *det, const TrajectoryStateOnSurface &tsos, const MeasurementEstimator &est)
ReferenceCountingPointer< BoundDiskSector > theFrontSector
GlobalPoint findPosition(int index, int diskSectorIndex) const
bool addClosest(const TrajectoryStateOnSurface &tsos, const Propagator &prop, const MeasurementEstimator &est, const SubLayerCrossing &crossing, std::vector< DetGroup > &result) const
ReferenceCountingPointer< BoundDiskSector > theBackSector
virtual std::pair< bool, TrajectoryStateOnSurface > compatible(const TrajectoryStateOnSurface &ts, const Propagator &, const MeasurementEstimator &) const
std::vector< const GeomDet * > theBasicComps
virtual void groupedCompatibleDetsV(const TrajectoryStateOnSurface &startingState, const Propagator &prop, const MeasurementEstimator &est, std::vector< DetGroup > &result) const
virtual const std::vector< const GeometricSearchDet * > & components() const
Returns basic components, if any.
virtual const std::vector< const GeomDet * > & basicComponents() const
std::vector< float > theBackBoundaries