CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_10_patch1/src/MagneticField/Layers/interface/MagESector.h

Go to the documentation of this file.
00001 #ifndef MagESector_H
00002 #define MagESector_H
00003 
00013 #include "DataFormats/GeometryVector/interface/GlobalPoint.h"
00014 
00015 #include <vector>
00016 
00017 class MagVolume;
00018 class MagELayer; 
00019 
00020 class MagESector {
00021 public:
00023   MagESector(std::vector<MagELayer*>& layers, Geom::Phi<float> phiMin);
00024 
00026   virtual ~MagESector();
00027 
00029   MagVolume * findVolume(const GlobalPoint & gp, double tolerance) const;
00030 
00032   Geom::Phi<float> minPhi() const {return thePhiMin;}
00033 
00034 private:
00035   std::vector<MagELayer*> theLayers;
00036   Geom::Phi<float> thePhiMin;
00037 };
00038 #endif
00039