CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
MagESector.h
Go to the documentation of this file.
1 #ifndef MagESector_H
2 #define MagESector_H
3 
14 
15 #include <vector>
16 
17 class MagVolume;
18 class MagELayer;
19 
20 class MagESector {
21 public:
23  MagESector(std::vector<MagELayer*>& layers, Geom::Phi<float> phiMin);
24 
26  virtual ~MagESector();
27 
29  MagVolume * findVolume(const GlobalPoint & gp, double tolerance) const;
30 
32  Geom::Phi<float> minPhi() const {return thePhiMin;}
33 
34 private:
35  std::vector<MagELayer*> theLayers;
37 };
38 #endif
39 
Geom::Phi< float > thePhiMin
Definition: MagESector.h:36
Geom::Phi< float > minPhi() const
Phi of sector start.
Definition: MagESector.h:32
std::vector< MagELayer * > theLayers
Definition: MagESector.h:35
MagESector(std::vector< MagELayer * > &layers, Geom::Phi< float > phiMin)
Constructor.
Definition: MagESector.cc:20
virtual ~MagESector()
Destructor.
Definition: MagESector.cc:26
MagVolume * findVolume(const GlobalPoint &gp, double tolerance) const
Find the volume containing a point, with a given tolerance.
Definition: MagESector.cc:34