Import Geant4 0.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-01 15:25:35 +02:00
parent 54d6b71f95
commit b97f8d0df7
3237 changed files with 807095 additions and 0 deletions
+50
View File
@@ -0,0 +1,50 @@
# $Id: GNUmakefile,v 1.2 1998/11/09 17:16:04 morita Exp $
name := G4prun
G4ODBMS := true
ifndef G4INSTALL
G4INSTALL = ../../..
endif
include $(G4INSTALL)/config/architecture.gmk
# $(G4TMPDIR) will be overrided in common.gmk later.
G4TMPDIR := $(G4TMP)/$(G4SYSTEM)/$(name)
CPPFLAGS += \
-Iinclude \
-I$(G4TMPDIR) \
-I$(G4INSTALL)/source/run/include \
-I$(G4INSTALL)/source/event/include \
-I$(G4INSTALL)/source/global/management/include \
-I$(G4INSTALL)/source/global/HEPRandom/include \
-I$(G4INSTALL)/source/global/HEPGeometry/include \
-I$(G4INSTALL)/source/geometry/management/include \
-I$(G4INSTALL)/source/geometry/volumes/include \
-I$(G4INSTALL)/source/geometry/solids/CSG/include \
-I$(G4INSTALL)/source/events+tracks/include \
-I$(G4INSTALL)/source/processes/management/include \
-I$(G4INSTALL)/source/materials/include \
-I$(G4INSTALL)/source/particles/management/include \
-I$(G4INSTALL)/source/graphics_reps/include \
-I$(G4INSTALL)/source/tracking/include \
-I$(G4INSTALL)/source/track/include \
-I$(G4INSTALL)/source/persistency/management/include \
-I$(G4INSTALL)/source/digits+hits/detector/include \
-I$(G4INSTALL)/source/digits+hits/hits/include \
-I$(G4INSTALL)/source/digits+hits/digits/include
#--------------------------------------------------------------------
include $(G4INSTALL)/config/G4ODBMS_BUILD.gmk
include $(G4INSTALL)/config/common.gmk
#--------------------------------------------------------------------
# Explicit DDL dependencies:
# G4PEvent.ddl includes G4PPrimaryVertex.hh, so G4PPrimaryVertex.hh
# should be created before G4PEvent.hh.
$(G4TMPDIR)/G4PEvent.hh: $(G4TMPDIR)/G4PPrimaryVertex.hh
#--------------------------------------------------------------------
+61
View File
@@ -0,0 +1,61 @@
// 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: G4PRun.ddl,v 1.2 1998/11/09 17:17:21 morita Exp $
// GEANT4 tag $Name: geant4-00 $
//
#ifndef G4PRun_h
#define G4PRun_h 1
#include "globals.hh"
#include "G4Allocator.hh"
#include "HepODBMS/odbms/HepODBMS.h"
#include "G4PersistentTypes.hh"
class G4Run;
//class G4HCtable;
//class G4DCtable;
class G4PRun
: public HepPersObj
{
public:
G4PRun();
G4PRun(const G4Run* aRun);
virtual ~G4PRun();
protected:
G4Pint runID;
G4Pint numberOfEvent;
// G4HCtable* HCtable;
// G4DCtable* DCtable;
public:
inline void SetRunID(G4int id)
{ runID = id; }
inline G4int GetRunID() const
{ return runID; }
inline G4int GetNumberOfEvent() const
{ return numberOfEvent; }
// inline virtual void RecordEvent(G4Event*)
// { numberOfEvent++; }
// inline void SetHCtable(G4HCtable* HCtbl)
// { HCtable = HCtbl; }
// inline const G4HCtable* GetHCtable() const
// { return HCtable; }
// inline void SetDCtable(G4DCtable* DCtbl)
// { DCtable = DCtbl; }
// inline const G4DCtable* GetDCtable() const
// { return DCtable; }
};
#endif
+28
View File
@@ -0,0 +1,28 @@
// 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: G4PRun.cc,v 1.2 1998/11/09 17:17:50 morita Exp $
// GEANT4 tag $Name: geant4-00 $
//
#include "G4Run.hh"
#include "G4PRun.hh"
G4PRun::G4PRun()
// :runID(0),numberOfEvent(0),HCtable(NULL),DCtable(NULL)
:runID(0),numberOfEvent(0)
{;}
G4PRun::G4PRun(const G4Run* aRun)
{
runID = aRun->GetRunID();
numberOfEvent = aRun->GetNumberOfEvent();
}
G4PRun::~G4PRun()
{;}