00001 #ifndef _BDSLogicalVolumeInfo_hh 00002 #define _BDSLogicalVolumeInfo_hh 1 00003 00004 #include "G4String.hh" 00005 #include "globals.hh" //G4 basic types 00006 00007 class BDSLogicalVolumeInfo 00008 { 00009 public: 00010 BDSLogicalVolumeInfo(G4double SPosIn); 00011 BDSLogicalVolumeInfo(G4String NameIn, G4double SPosIn); 00012 ~BDSLogicalVolumeInfo(); 00013 00014 G4String GetName() 00015 {return name;} 00016 00017 void SetName(G4String NameIn) 00018 {name = NameIn;} 00019 00020 void SetSPos(G4double SPosIn) 00021 {spos = SPosIn;} 00022 00023 G4double GetSPos() 00024 {return spos;} 00025 00026 private: 00027 BDSLogicalVolumeInfo(); 00028 00029 G4String name; 00030 G4double spos; 00031 00032 }; 00033 00034 00035 #endif