4 // Author: I. Hrivnacova
8 // Class provides the functions of general use.
9 // It is protected from instantiating (only static data members
10 // and static methods are defined).
27 virtual ~AliGlobals();
30 static void Exception(const char* s=0);
31 // Global error function prints string to cerr, and aborts
32 // program - according to G4Exception.cc
33 static void Warning(const char* s=0);
34 // Global warning function prints string to cerr
36 static void Exception(G4std::string s);
37 static void Exception(G4String s);
38 static void Warning(G4std::string s);
39 static void Warning(G4String s);
42 static void AppendNumberToString(G4String& string, G4int number);
43 static G4int StringToInt(G4String string);
46 static G4double DefaultCut();
50 // only static data members and methods
53 // static data members
54 static const G4double fgkDefaultCut; //default cut value
59 inline G4double AliGlobals::DefaultCut()
60 { return fgkDefaultCut; }
62 #endif //ALI_GLOBALS_H