CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_2_7_hltpatch1/src/MagneticField/Layers/interface/MagBSector.h

Go to the documentation of this file.
00001 #ifndef MagBSector_H
00002 #define MagBSector_H
00003 
00020 #include <vector>
00021 
00022 class MagBRod;
00023 class MagVolume;
00024 #include "DataFormats/GeometryVector/interface/GlobalPoint.h"
00025 
00026 class MagBSector {
00027 public:
00029   MagBSector(std::vector<MagBRod*>& rods, Geom::Phi<float> phiMin);
00030 
00032   virtual ~MagBSector();  
00033 
00035   MagVolume * findVolume(const GlobalPoint & gp, double tolerance) const;
00036 
00038   Geom::Phi<float> minPhi() const {return thePhiMin;}
00039 
00040 private:
00041   std::vector<MagBRod*> theRods;
00042   Geom::Phi<float> thePhiMin;
00043 };
00044 #endif
00045