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 <g4rw/tvordvec.h>
21 #include <g4rw/tpordvec.h>
22 #include <G4RotationMatrix.hh>
27 // basic types containers
28 typedef G4std::vector<G4bool> TG4boolVector;
29 typedef G4std::vector<G4int> TG4intVector;
30 typedef G4std::vector<G4double> TG4doubleVector;
31 typedef G4std::vector<G4String> TG4StringVector;
32 typedef G4std::set <G4String, G4std::less<G4String> > TG4StringSet;
39 virtual ~TG4Globals();
42 static void Exception(const char* string=0);
43 // Global error function prints string to cerr, and aborts
44 // program - according to G4Exception.cc
45 static void Warning(const char* string=0);
46 // Global warning function prints string to cerr
47 static void AppendNumberToString(G4String& string, G4int number);
48 static G4bool Compare(G4bool activation, TG4G3ControlValue controlValue);
49 static void PrintStars(G4bool emptyLineFirst);
53 // only typedefs's and static methods