Import Geant4 6.2.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 10:56:29 +02:00
parent 1d812b78b1
commit e083ffb441
1415 changed files with 111223 additions and 21207 deletions
+8 -1
View File
@@ -1,4 +1,4 @@
# $Id: GNUmakefile,v 1.8 2003/10/03 14:46:30 gcosmo Exp $
# $Id: GNUmakefile,v 1.10 2004/06/11 14:27:44 gcosmo Exp $
# ----------------------------------------------------------
# GNUmakefile for run library. Gabriele Cosmo, 3/4/1997.
# ----------------------------------------------------------
@@ -9,8 +9,15 @@ ifndef G4INSTALL
G4INSTALL = ../..
endif
GLOBLIBS = libG4event.lib
GLOBLIBS += libG4tracking.lib libG4processes.lib libG4digits_hits.lib
GLOBLIBS += libG4track.lib libG4particles.lib libG4geometry.lib
GLOBLIBS += libG4materials.lib libG4graphics_reps.lib
GLOBLIBS += libG4intercoms.lib libG4global.lib
include $(G4INSTALL)/config/architecture.gmk
CPPFLAGS += -DG4RUN_ALLOC_EXPORT
CPPFLAGS += \
-I$(G4BASE)/global/management/include \
-I$(G4BASE)/global/HEPRandom/include \
+21 -1
View File
@@ -1,4 +1,4 @@
$Id: History,v 1.109 2004/03/18 08:48:09 gcosmo Exp $
$Id: History,v 1.113 2004/06/11 15:17:17 gcosmo Exp $
-------------------------------------------------------------------
=========================================================
@@ -17,6 +17,26 @@ committal in the CVS repository !
* Reverse chronological order (last date on top), please *
----------------------------------------------------------
June 11, 2004 G.Cosmo (run-V06-01-03)
- Use global flag G4RUN_ALLOC_EXPORT to export extern symbols for DLLs.
Modified GNUmakefile and rearranged usage of extern symbols in G4Run.
June 09, 2004 G.Cosmo (run-V06-01-02)
- Adopt G4DLLIMPORT/G4DLLEXPORT technique to handle extern simbols for
allowing support of DLLs on Windows.
- Coworks with "global-V06-01-02b".
June 04, 2004 G.Cosmo (run-V06-01-01)
- Updated date in G4RunManagerKernel for release 6.2.
- Export extern symbols for allowing support of DLLs on Windows.
Modified G4Run.hh.
- GNUmakefile: added definition of GLOBLIBS for DLLs support on Windows.
- Coworks with "global-V06-01-02a".
May 04, 2004, M.Asai (run-V06-01-00)
- Access methods to G4TrackingManager and G4StackManager are added
to G4RunManagerKernel.
March 18, 2004, M.Asai (run-V06-00-02)
- Added NIM reference to header and WWW info.
- Changed date for release 6.1.
+7 -3
View File
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4Run.hh,v 1.7 2003/04/23 17:54:17 asaim Exp $
// GEANT4 tag $Name: geant4-05-02-patch-01 $
// $Id: G4Run.hh,v 1.10 2004/06/11 14:27:44 gcosmo Exp $
// GEANT4 tag $Name: geant4-06-02 $
//
#ifndef G4Run_h
@@ -90,7 +90,11 @@ class G4Run
{ DCtable = DCtbl; }
};
extern G4Allocator<G4Run> aRunAllocator;
#if defined G4RUN_ALLOC_EXPORT
extern G4DLLEXPORT G4Allocator<G4Run> aRunAllocator;
#else
extern G4DLLIMPORT G4Allocator<G4Run> aRunAllocator;
#endif
inline void* G4Run::operator new(size_t)
{
+9 -3
View File
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4RunManagerKernel.hh,v 1.3 2003/11/04 01:58:28 asaim Exp $
// GEANT4 tag $Name: geant4-06-00-patch-01 $
// $Id: G4RunManagerKernel.hh,v 1.4 2004/05/04 16:43:25 asaim Exp $
// GEANT4 tag $Name: geant4-06-02 $
//
//
@@ -52,13 +52,15 @@
#define G4RunManagerKernel_h 1
class G4VUserPhysicsList;
class G4EventManager;
class G4VPhysicalVolume;
class G4Region;
class G4ExceptionHandler;
class G4StackManager;
class G4TrackingManager;
#include "globals.hh"
#include "G4EventManager.hh"
class G4RunManagerKernel
{
@@ -150,6 +152,10 @@ class G4RunManagerKernel
public:
inline G4EventManager* GetEventManager() const
{ return eventManager; }
inline G4StackManager* GetStackManager() const
{ return eventManager->GetStackManager(); }
inline G4TrackingManager* GetTrackingManager() const
{ return eventManager->GetTrackingManager(); }
inline G4String GetVersionString() const
{ return versionString; }
+2 -2
View File
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4Run.cc,v 1.5 2003/04/23 17:54:31 asaim Exp $
// GEANT4 tag $Name: geant4-05-02-patch-01 $
// $Id: G4Run.cc,v 1.7 2004/06/11 14:27:45 gcosmo Exp $
// GEANT4 tag $Name: geant4-06-02 $
//
#include "G4Run.hh"
+5 -5
View File
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4RunManagerKernel.cc,v 1.13 2004/03/18 08:47:53 gcosmo Exp $
// GEANT4 tag $Name: geant4-06-01 $
// $Id: G4RunManagerKernel.cc,v 1.15 2004/06/07 13:56:42 gcosmo Exp $
// GEANT4 tag $Name: geant4-06-02 $
//
//
@@ -31,7 +31,7 @@
#include "G4StateManager.hh"
#include "G4ApplicationState.hh"
#include "G4ExceptionHandler.hh"
#include "G4EventManager.hh"
//#include "G4EventManager.hh"
#include "G4GeometryManager.hh"
#include "G4TransportationManager.hh"
//#include "G4Navigator.hh"
@@ -79,12 +79,12 @@ G4RunManagerKernel::G4RunManagerKernel()
// version banner
versionString
= " Geant4 version $Name: geant4-06-01 $ (25-March-2004)";
= " Geant4 version $Name: geant4-06-02 $ (25-June-2004)";
G4cout << G4endl
<< "*************************************************************" << G4endl
<< versionString << G4endl
<< " Copyright : Geant4 Collaboration" << G4endl
<< " Reference : NIM A 506 (2003), 250-303." << G4endl
<< " Reference : NIM A 506 (2003), 250-303" << G4endl
<< " WWW : http://cern.ch/geant4" << G4endl
<< "*************************************************************" << G4endl
<< G4endl;