/scratch0/jsnuveri/BDSIM/BDSIMgit/bdsim/include/BDSUtilities.hh

00001 #ifndef BDSUTILITIES_H
00002 #define BDSUTILITIES_H
00003 
00004 #include "globals.hh"   // geant4 globals / types
00005 #include <string>
00006 
00015 namespace BDS {
00017   struct non_alpha
00018   {
00019     G4bool operator()(char c);
00020   };
00021 
00023   G4String PrepareSafeName(G4String name);
00024 
00027   G4int    CalculateOrientation(G4double angle);
00028 
00031   std::string GetBDSIMExecPath();
00032 
00039   G4String GetFullPath(G4String filename, bool excludePathFromFileName=false);
00040 
00041   
00046   void HandleAborts(int signal_number);
00047 
00049   G4bool IsFinite(const G4double& variable);
00050 }
00051 
00052 
00053 #endif

Generated on 28 Jun 2015 for BDSIM by  doxygen 1.4.7