]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TGeant4/TG4Globals.h
Enable clusterizing from any Digits branch
[u/mrichter/AliRoot.git] / TGeant4 / TG4Globals.h
index df2bca0e47911df1a994af0627c4c41bc4e5d3a8..8841d14662ac7c405bf6fd07ebbed7c7fce6d458 100644 (file)
@@ -1,31 +1,33 @@
 // $Id$
 // Category: global
 //
-// Class for generally used basic types and functions.
+// Author: I. Hrivnacova
+//
+// Class TG4Globals
+// ----------------
+// Class provides the basic types and functions of general use. 
 // It is protected from instantiating (only static data members
 // and static methods are defined).
 
 #ifndef TG4_GLOBALS_H
 #define TG4_GLOBALS_H
 
+#include "TG4G3Control.h"
+
 #include <globals.hh>
 #include <g4std/vector>
 #include <g4std/set>
-#include <g4rw/tvordvec.h>
-#include <g4rw/tpordvec.h>
 #include <G4RotationMatrix.hh>
 
 class G4Material;
 class G4Element;
 
-typedef G4std::vector<G4bool>  TG4boolVector;
-typedef G4std::vector<G4int>   TG4intVector;
-typedef G4std::vector<const G4RotationMatrix*> TG4RotationMatrixVector;
+// basic types containers
+typedef G4std::vector<G4bool>   TG4boolVector;
+typedef G4std::vector<G4int>    TG4intVector;
+typedef G4std::vector<G4double> TG4doubleVector;
+typedef G4std::vector<G4String> TG4StringVector;
 typedef G4std::set <G4String, G4std::less<G4String> > TG4StringSet; 
-typedef G4RWTValOrderedVector<G4double> TG4doubleVector;
-typedef G4RWTValOrderedVector<G4String> TG4StringVector;
-typedef G4RWTPtrOrderedVector<G4Material>   TG4MaterialVector;
-typedef G4RWTPtrOrderedVector<G4Element>    TG4ElementVector;  
 
 class TG4Globals
 {
@@ -41,6 +43,8 @@ class TG4Globals
     static void Warning(const char* string=0);
       // Global warning function prints string to cerr
     static void AppendNumberToString(G4String& string, G4int number);
+    static G4bool Compare(G4bool activation, TG4G3ControlValue controlValue);
+    static void PrintStars(G4bool emptyLineFirst);
 
   protected:
     TG4Globals();