| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

GiGaVolume.h

Go to the documentation of this file.
00001 // $Id: GiGaVolume.h,v 1.1 2002/01/22 18:24:42 ibelyaev Exp $
00002 // ============================================================================
00003 // CVS tag $Name: v18r6 $ 
00004 // ============================================================================
00005 // $Log: GiGaVolume.h,v $
00006 // Revision 1.1  2002/01/22 18:24:42  ibelyaev
00007 //  Vanya: update for newer versions of Geant4 and Gaudi
00008 // 
00009 // ============================================================================
00010 #ifndef GIGACNV_GIGAVOLUME_H 
00011 #define GIGACNV_GIGAVOLUME_H 1
00012 // Include files
00013 class G4LogicalVolume  ;   
00014 class GiGaAssembly     ;   
00015 
00024 class GiGaVolume 
00025 {
00026 
00027 public:
00028 
00033   GiGaVolume( G4LogicalVolume* volume   = 0 ,
00034               GiGaAssembly*    assembly = 0 )
00035     : m_volume   ( volume   ) 
00036     , m_assembly ( assembly )
00037   {};
00038   
00041   ~GiGaVolume(){}; 
00042   
00046   inline G4LogicalVolume*  volume   () const { return m_volume   ; }
00047   
00051   inline GiGaAssembly*     assembly () const { return m_assembly ; }
00052   
00056   inline bool              valid    () const  
00057   {
00058     return 
00059       0 == volume () && 0 == assembly () ? false :
00060       0 != volume () && 0 != assembly () ? false : true ;
00061   };
00062   
00066   inline void setVolume   ( G4LogicalVolume* value = 0 ) 
00067   { m_volume  = value ; }
00068   
00072   inline void setAssembly ( GiGaAssembly*    value = 0 ) 
00073   { m_assembly = value ; }
00074   
00075 private:
00076   
00077   G4LogicalVolume* m_volume     ;
00078   GiGaAssembly*    m_assembly   ;
00079   
00080 };
00081 
00082 // ============================================================================
00083 // End 
00084 // ============================================================================
00085 #endif // GIGACNV_GIGAVOLUME_H
00086 // ============================================================================
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Mon Apr 11 20:03:52 2011 for GiGaCnv by doxygen 1.4.7