![]() |
![]() |
00001 #ifndef MagBSlab_H 00002 #define MagBSlab_H 00003 00020 #include <vector> 00021 00022 class MagVolume; 00023 #include "DataFormats/GeometryVector/interface/GlobalPoint.h" 00024 00025 class MagBSlab { 00026 public: 00028 MagBSlab(std::vector<MagVolume*> volumes, double zMin); 00029 00031 virtual ~MagBSlab(); 00032 00034 MagVolume * findVolume(const GlobalPoint & gp, double tolerance) const; 00035 00037 double minZ() const { return theZMin;} 00038 00039 private: 00040 std::vector<MagVolume*> theVolumes; 00041 double theZMin; 00042 00043 }; 00044 #endif 00045