00001 // $Id: GiGaVolumeUtils.h,v 1.2 2003/05/30 15:53:10 ibelyaev Exp $ 00002 // ============================================================================ 00003 // CVS tag $Name: v18r6 $ 00004 // ============================================================================ 00005 // $Log: GiGaVolumeUtils.h,v $ 00006 // Revision 1.2 2003/05/30 15:53:10 ibelyaev 00007 // add 'findRegion' function 00008 // 00009 // Revision 1.1 2002/07/09 20:33:54 ibelyaev 00010 // move GiGaVolumeUtils into public location 00011 // 00012 // Revision 1.1 2002/01/22 18:24:44 ibelyaev 00013 // Vanya: update for newer versions of Geant4 and Gaudi 00014 // 00015 // ============================================================================ 00016 #ifndef GIGACNV_GIGAVOLUMEUTILS_H 00017 #define GIGACNV_GIGAVOLUMEUTILS_H 1 00018 // Include files 00019 // STD & STL 00020 #include <string> 00021 // forward declarations 00022 class G4LogicalVolume ; 00023 class G4Region ; 00024 class G4VPhysicalVolume ; 00025 class GiGaAssembly ; 00026 00036 namespace GiGaVolumeUtils 00037 { 00038 00044 G4LogicalVolume* findLVolume ( const std::string& Name ); 00045 00051 G4VPhysicalVolume* findPVolume ( const std::string& Name ); 00052 00058 GiGaAssembly* findLAssembly ( const std::string& Name ); 00059 00065 G4Region* findRegion ( const std::string& Name ); 00066 00067 }; 00068 00069 // ============================================================================ 00070 // End 00071 // ============================================================================ 00072 #endif // GIGACNV_GIGAVOLUMEUTILS_H 00073 // ============================================================================