4 // Author: I. Hrivnacova
8 // Class provides the basic types and functions of general use.
9 // It is protected from instantiating (only static data members
10 // and static methods are defined).
15 #include "TG4G3Control.h"
18 #include <g4std/vector>
20 #include <G4RotationMatrix.hh>
25 // basic types containers
26 typedef G4std::vector<G4bool> TG4boolVector;
27 typedef G4std::vector<G4int> TG4intVector;
28 typedef G4std::vector<G4double> TG4doubleVector;
29 typedef G4std::vector<G4String> TG4StringVector;
30 typedef G4std::set <G4String, G4std::less<G4String> > TG4StringSet;
37 virtual ~TG4Globals();
40 static void Exception(const char* string=0);
41 // Global error function prints string to cerr, and aborts
42 // program - according to G4Exception.cc
43 static void Warning(const char* string=0);
44 // Global warning function prints string to cerr
45 static void AppendNumberToString(G4String& string, G4int number);
46 static G4bool Compare(G4bool activation, TG4G3ControlValue controlValue);
47 static void PrintStars(G4bool emptyLineFirst);
51 // only typedefs's and static methods