CMS 3D CMS Logo

MagESector.h
Go to the documentation of this file.
1 #ifndef MagESector_H
2 #define MagESector_H
3 
12 
13 #include <vector>
14 
15 class MagVolume;
16 class MagELayer;
17 
18 class MagESector {
19 public:
21  MagESector(std::vector<MagELayer*>& layers, Geom::Phi<float> phiMin);
22 
24  virtual ~MagESector();
25 
27  const MagVolume* findVolume(const GlobalPoint& gp, double tolerance) const;
28 
30  Geom::Phi<float> minPhi() const { return thePhiMin; }
31 
32 private:
33  std::vector<MagELayer*> theLayers;
35 };
36 #endif
Geom::Phi< float > minPhi() const
Phi of sector start.
Definition: MagESector.h:30
const double tolerance
const MagVolume * findVolume(const GlobalPoint &gp, double tolerance) const
Find the volume containing a point, with a given tolerance.
Definition: MagESector.cc:26
MagESector(std::vector< MagELayer *> &layers, Geom::Phi< float > phiMin)
Constructor.
Definition: MagESector.cc:18
Geom::Phi< float > thePhiMin
Definition: MagESector.h:34
std::vector< MagELayer * > theLayers
Definition: MagESector.h:33
virtual ~MagESector()
Destructor.
Definition: MagESector.cc:20