Import Geant4 0.1.0 source tree
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
// This code implementation is the intellectual property of
|
||||
// the RD44 GEANT4 collaboration.
|
||||
//
|
||||
// By copying, distributing or modifying the Program (or any work
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: globals.hh,v 1.1 1999/01/08 16:31:35 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-00-01 $
|
||||
//
|
||||
|
||||
// Global Constants and typedefs
|
||||
//
|
||||
// History:
|
||||
// 30.06.95 P.Kent
|
||||
|
||||
#ifndef GLOBALS_HH
|
||||
#define GLOBALS_HH
|
||||
|
||||
// Typedefs for numeric types
|
||||
// [NOTE: Will in future need to be made more sophisticated]
|
||||
typedef double G4double;
|
||||
typedef float G4float;
|
||||
typedef long G4long;
|
||||
typedef int G4int;
|
||||
|
||||
// Typedefs to decouple from library classes
|
||||
//#include <rw/cstring.h>
|
||||
//typedef RWCString G4String;
|
||||
|
||||
// Boolean - define G4_HAVE_BOOL if bool type available
|
||||
#ifdef G4_HAVE_BOOL
|
||||
typedef bool G4bool;
|
||||
#else
|
||||
typedef int G4bool;
|
||||
const int false = 0;
|
||||
const int true = 1;
|
||||
//enum G4bool {false = 0, true = 1};
|
||||
#endif
|
||||
|
||||
// Global error function
|
||||
//void G4Exception(const char* s=0);
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user