00001 #ifndef eSector_H 00002 #define eSector_H 00003 00013 #include "MagneticField/GeomBuilder/src/MagGeoBuilderFromDDD.h" 00014 #include "MagneticField/GeomBuilder/src/volumeHandle.h" 00015 #include "MagneticField/GeomBuilder/src/eLayer.h" 00016 00017 class MagESector; 00018 00019 class MagGeoBuilderFromDDD::eSector { 00020 public: 00022 eSector(handles::const_iterator begin, handles::const_iterator end); 00023 00025 ~eSector(); 00026 00027 // /// Return all volumes in this sector 00028 // const handles & getVolumes() const {return volumes;} 00029 00031 MagESector* buildMagESector() const; 00032 00033 private: 00034 std::vector<eLayer> layers; // the layers in this sectors 00035 handles theVolumes; // pointers to all volumes in the sector 00036 mutable MagESector* msector; 00037 }; 00038 #endif