CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TECLayer.h
Go to the documentation of this file.
1 #ifndef TkDetLayers_TECLayer_h
2 #define TkDetLayers_TECLayer_h
3 
4 
10 
16  public:
17  TECLayer(std::vector<const TECPetal*>& innerPetals,
18  std::vector<const TECPetal*>& outerPetals);
19  ~TECLayer();
20 
21  // GeometricSearchDet interface
22 
23  virtual const std::vector<const GeomDet*>& basicComponents() const {return theBasicComps;}
24 
25  virtual const std::vector<const GeometricSearchDet*>& components() const {return theComps;}
26 
28  const Propagator& prop,
29  const MeasurementEstimator& est,
30  std::vector<DetGroup> & result) const;
31 
32  // DetLayer interface
34 
35 
36 
37  private:
38  // private methods for the implementation of groupedCompatibleDets()
40  PropagationDirection propDir) const;
41 
42  bool addClosest( const TrajectoryStateOnSurface& tsos,
43  const Propagator& prop,
44  const MeasurementEstimator& est,
45  const SubLayerCrossing& crossing,
46  std::vector<DetGroup>& result) const;
47 
48  void searchNeighbors( const TrajectoryStateOnSurface& tsos,
49  const Propagator& prop,
50  const MeasurementEstimator& est,
51  const SubLayerCrossing& crossing,
52  float window,
53  std::vector<DetGroup>& result,
54  bool checkClosest) const;
55 
56 
57  bool overlap( const GlobalPoint& gpos, const GeometricSearchDet& petal, float window) const;
58 
59  const std::vector<const GeometricSearchDet*>& subLayer( int ind) const {
60  return (ind==0 ? theFrontComps : theBackComps);
61  }
62 
63 
64  protected:
65  virtual BoundDisk* computeDisk( std::vector<const GeometricSearchDet*>& petals) const;
66 
67  std::vector<const GeometricSearchDet*> theComps;
68  std::vector<const GeometricSearchDet*> theFrontComps;
69  std::vector<const GeometricSearchDet*> theBackComps;
70  std::vector<const GeomDet*> theBasicComps;
71 
72 
75 
77 
80 
81 
82 };
83 
84 
85 #endif
def window
Definition: svgfig.py:642
virtual const std::vector< const GeometricSearchDet * > & components() const
Returns basic components, if any.
Definition: TECLayer.h:25
std::vector< const GeomDet * > theBasicComps
Definition: TECLayer.h:70
void searchNeighbors(const TrajectoryStateOnSurface &tsos, const Propagator &prop, const MeasurementEstimator &est, const SubLayerCrossing &crossing, float window, std::vector< DetGroup > &result, bool checkClosest) const
Definition: TECLayer.cc:207
~TECLayer()
Definition: TECLayer.cc:83
ReferenceCountingPointer< BoundDisk > theFrontDisk
Definition: TECLayer.h:73
PropagationDirection
virtual const std::vector< const GeomDet * > & basicComponents() const
Definition: TECLayer.h:23
void groupedCompatibleDetsV(const TrajectoryStateOnSurface &tsos, const Propagator &prop, const MeasurementEstimator &est, std::vector< DetGroup > &result) const
Definition: TECLayer.cc:92
bool addClosest(const TrajectoryStateOnSurface &tsos, const Propagator &prop, const MeasurementEstimator &est, const SubLayerCrossing &crossing, std::vector< DetGroup > &result) const
Definition: TECLayer.cc:189
std::vector< const GeometricSearchDet * > theComps
Definition: TECLayer.h:67
ReferenceCountingPointer< BoundDisk > theBackDisk
Definition: TECLayer.h:74
std::vector< const GeometricSearchDet * > theFrontComps
Definition: TECLayer.h:68
std::vector< const GeometricSearchDet * > theBackComps
Definition: TECLayer.h:69
tuple result
Definition: query.py:137
BinFinderPhi theBackBinFinder
Definition: TECLayer.h:79
PeriodicBinFinderInPhi< double > BinFinderPhi
Definition: TECLayer.h:76
virtual SubDetector subDetector() const
The type of detector (PixelBarrel, PixelEndcap, TIB, TOB, TID, TEC, CSC, DT, RPCBarrel, RPCEndcap)
Definition: TECLayer.h:33
const std::vector< const GeometricSearchDet * > & subLayer(int ind) const
Definition: TECLayer.h:59
SubLayerCrossings computeCrossings(const TrajectoryStateOnSurface &startingState, PropagationDirection propDir) const
Definition: TECLayer.cc:132
BinFinderPhi theFrontBinFinder
Definition: TECLayer.h:78
virtual BoundDisk * computeDisk(std::vector< const GeometricSearchDet * > &petals) const
Definition: TECLayer.cc:265
bool overlap(const GlobalPoint &gpos, const GeometricSearchDet &petal, float window) const
Definition: TECLayer.cc:250
TECLayer(std::vector< const TECPetal * > &innerPetals, std::vector< const TECPetal * > &outerPetals)
Definition: TECLayer.cc:21