4 // Class for generally used basic functions.
5 // It is protected from instantiating (only static data members
6 // and static methods are defined).
23 virtual ~AliGlobals();
26 static void Exception(const char* s=0);
27 // Global error function prints string to cerr, and aborts
28 // program - according to G4Exception.cc
29 static void Warning(const char* s=0);
30 // Global warning function prints string to cerr
32 static void Exception(G4std::string s);
33 static void Exception(G4String s);
34 static void Warning(G4std::string s);
35 static void Warning(G4String s);
38 static void AppendNumberToString(G4String& string, G4int number);
39 static G4int StringToInt(G4String string);
42 static G4double DefaultCut();
46 // only static data members and methods
49 // static data members
50 static const G4double fgkDefaultCut; //default cut value
55 inline G4double AliGlobals::DefaultCut()
56 { return fgkDefaultCut; }
58 #endif //ALI_GLOBALS_H