CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DetLayer.h
Go to the documentation of this file.
1 #ifndef DetLayers_DetLayer_h
2 #define DetLayers_DetLayer_h
3 
19 
23 
24 #include <vector>
25 
26 class DetLayer : public virtual GeometricSearchDet {
27  public:
28 
31 
33 
34  virtual ~DetLayer();
35 
36  // Extension of the interface
37 
39  virtual SubDetector subDetector() const = 0;
40 
42  virtual Location location() const = 0;
43 
46 
48  virtual void setNavigableLayer( NavigableLayer* nlp);
49 
52  virtual std::vector<const DetLayer*>
53  nextLayers( NavigationDirection direction) const;
54 
57  virtual std::vector<const DetLayer*>
58  nextLayers( const FreeTrajectoryState& fts,
59  PropagationDirection timeDirection) const;
60 
63  std::vector<const DetLayer*>
64  compatibleLayers( NavigationDirection direction ) const;
65 
68  std::vector<const DetLayer*>
70  PropagationDirection timeDirection) const;
71 
72 
76  std::vector<const DetLayer*>
78  PropagationDirection timeDirection,
79  int& counter) const;
80 
81 
82  private:
84 
85 };
86 
87 #endif
NavigableLayer * navigableLayer() const
Return the NavigableLayer associated with this DetLayer.
Definition: DetLayer.h:45
GeomDetEnumerators::Location Location
Definition: DetLayer.h:30
virtual Location location() const =0
Which part of the detector (barrel, endcap)
virtual void setNavigableLayer(NavigableLayer *nlp)
Set the NavigableLayer associated with this DetLayer.
Definition: DetLayer.cc:10
virtual std::vector< const DetLayer * > nextLayers(NavigationDirection direction) const
Definition: DetLayer.cc:35
virtual SubDetector subDetector() const =0
The type of detector (PixelBarrel, PixelEndcap, TIB, TOB, TID, TEC, CSC, DT, RPCBarrel, RPCEndcap)
PropagationDirection
NavigableLayer * theNavigableLayer
Definition: DetLayer.h:83
virtual ~DetLayer()
Definition: DetLayer.cc:7
GeomDetEnumerators::SubDetector SubDetector
Definition: DetLayer.h:29
std::vector< const DetLayer * > compatibleLayers(NavigationDirection direction) const
Definition: DetLayer.cc:60
DetLayer()
Definition: DetLayer.h:32