00001 #ifndef bSector_H 00002 #define bSector_H 00003 00013 #include "MagneticField/GeomBuilder/src/MagGeoBuilderFromDDD.h" 00014 #include "MagneticField/GeomBuilder/src/volumeHandle.h" 00015 #include "MagneticField/GeomBuilder/src/bRod.h" 00016 00017 class MagBSector; 00018 00019 class MagGeoBuilderFromDDD::bSector { 00020 public: 00022 bSector(); 00023 00025 bSector(handles::const_iterator begin, handles::const_iterator end); 00026 00028 ~bSector(); 00029 00031 const float RN() const { 00032 return volumes.front()->RN(); 00033 } 00034 00036 const handles & getVolumes() const {return volumes;} 00037 00039 MagBSector* buildMagBSector() const; 00040 00041 private: 00042 std::vector<bRod> rods; // the rods in this layer 00043 handles volumes; // pointers to all volumes in the sector 00044 mutable MagBSector* msector; 00045 }; 00046 #endif