Import Geant4 1.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-08 15:28:20 +02:00
parent aaa409b6ee
commit ca1c8cb059
2995 changed files with 106830 additions and 299600 deletions
@@ -0,0 +1,30 @@
#ifndef DumpFrame_h
#define DumpFrame_h
class DumpFrames
{
public:
static void DumpFrame(G4FastVector<G4ReactionProduct,128> &vec, G4int vecLen)
{
// cout << vecLen<<endl;
// for(G4int i=0; i<vecLen; i++)
// {
// cout << vec[i]->GetDefinition()->GetPDGEncoding()<<" ";
// cout << vec[i]->GetPositionInNucleus()<<" ";
// G4double x,y,z;
// do
// {
// x = G4UniformRand()*10-5;
// y = G4UniformRand()*10-5;
// z = G4UniformRand()*10-5;
// }
// while(sqrt(x*x+y*y+z*z)>5);
// cout << x<<" "<<y<<" "<<z;
// cout << vec[i]->GetMomentum()<<" ";
// cout << vec[i]->GetTotalEnergy();
// cout << endl;
// }
}
};
#endif
@@ -1,12 +1,12 @@
// This code implementation is the intellectual property of
// the RD44 GEANT4 collaboration.
// the 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: G4DynamicParticleVector.hh,v 1.1 1999/01/07 16:13:48 gunter Exp $
// GEANT4 tag $Name: geant4-00-01 $
// $Id: G4DynamicParticleVector.hh,v 1.1.8.1.2.1 1999/12/07 20:52:42 gunter Exp $
// GEANT4 tag $Name: geant4-01-00 $
//
//
// For information related to this code contact:
@@ -23,14 +23,14 @@
#include "G4ios.hh"
class G4DynamicParticle;
#include <rw/tpordvec.h>
#include "g4rw/tpordvec.h"
// #ifdef STL
// //in future use STL vector as container of dynamic particles ...
// typedef Vector<G4DynamicParticle> G4DynamicParticleVector;
// #elseifdef RWT
typedef RWTPtrOrderedVector<G4DynamicParticle> G4DynamicParticleVector;
typedef G4RWTPtrOrderedVector<G4DynamicParticle> G4DynamicParticleVector;
// #endif
@@ -1,12 +1,12 @@
// This code implementation is the intellectual property of
// the RD44 GEANT4 collaboration.
// the 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: G4GHEKinematicsVector.hh,v 1.1 1999/01/07 16:13:48 gunter Exp $
// GEANT4 tag $Name: geant4-00-01 $
// $Id: G4GHEKinematicsVector.hh,v 1.1.10.1 1999/12/07 20:52:42 gunter Exp $
// GEANT4 tag $Name: geant4-01-00 $
//
// ------------------------------------------------------------
// GEANT 4 class header file --- Copyright CERN 1998
@@ -0,0 +1,31 @@
#ifndef G4IsoResult_h
#define G4IsoResult_h
#include "globals.hh"
#include "G4Nucleus.hh"
class G4IsoResult
{
public:
G4IsoResult(const G4String & anIso, const G4Nucleus & aMother)
{
theIsoName = anIso;
theMotherNucleus = aMother;
}
G4String GetIsotope() { return theIsoName; }
G4Nucleus GetMotherNucleus() { return theMotherNucleus; }
private:
G4IsoResult() {}
G4IsoResult & operator = (const G4IsoResult & aResult) { return *this;}
private:
G4String theIsoName;
G4Nucleus theMotherNucleus;
};
#endif
@@ -1,12 +1,12 @@
// This code implementation is the intellectual property of
// the RD44 GEANT4 collaboration.
// the 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: G4LightMedia.hh,v 1.1 1999/01/07 16:13:49 gunter Exp $
// GEANT4 tag $Name: geant4-00-01 $
// $Id: G4LightMedia.hh,v 1.1.10.1 1999/12/07 20:52:42 gunter Exp $
// GEANT4 tag $Name: geant4-01-00 $
//
// Hadronic Process: Light Media Charge and/or Strangeness Exchange
// J.L. Chuma, TRIUMF, 21-Feb-1997
@@ -1,12 +1,12 @@
// This code implementation is the intellectual property of
// the RD44 GEANT4 collaboration.
// the 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: G4Nucleus.hh,v 1.1 1999/01/07 16:13:49 gunter Exp $
// GEANT4 tag $Name: geant4-00-01 $
// $Id: G4Nucleus.hh,v 1.1.10.1 1999/12/07 20:52:42 gunter Exp $
// GEANT4 tag $Name: geant4-01-00 $
//
// original by H.P. Wellisch
// modified by J.L. Chuma, TRIUMF, 19-Nov-1996
@@ -1,12 +1,12 @@
// This code implementation is the intellectual property of
// the RD44 GEANT4 collaboration.
// the 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: G4ParticleVector.hh,v 1.1 1999/01/07 16:13:49 gunter Exp $
// GEANT4 tag $Name: geant4-00-01 $
// $Id: G4ParticleVector.hh,v 1.1.8.1.2.1 1999/12/07 20:52:43 gunter Exp $
// GEANT4 tag $Name: geant4-01-00 $
//
// ------------------------------------------------------------
// HPW decoupling theo models from RW (Mon Mar 16 1998)
@@ -18,13 +18,13 @@
#include "globals.hh"
#include "G4ios.hh"
#include "G4DynamicParticle.hh"
#include <rw/tpordvec.h>
#include "g4rw/tpordvec.h"
// #ifdef STL
// for future use STL vector as container
// typedef Vector<G4DynamicParticle> G4ParticleVector;
// #elseifdef RWT
typedef RWTPtrOrderedVector<G4DynamicParticle> G4ParticleVector;
typedef G4RWTPtrOrderedVector<G4DynamicParticle> G4ParticleVector;
#endif
@@ -1,12 +1,12 @@
// This code implementation is the intellectual property of
// the RD44 GEANT4 collaboration.
// the 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: G4ReactionDynamics.hh,v 1.1 1999/01/07 16:13:49 gunter Exp $
// GEANT4 tag $Name: geant4-00-01 $
// $Id: G4ReactionDynamics.hh,v 1.1.10.1 1999/12/07 20:52:43 gunter Exp $
// GEANT4 tag $Name: geant4-01-00 $
//
// Hadronic Process: Reaction Dynamics
// original by H.P. Wellisch
@@ -1,12 +1,12 @@
// This code implementation is the intellectual property of
// the RD44 GEANT4 collaboration.
// the 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: G4ReactionKinematics.hh,v 1.1 1999/01/07 16:13:49 gunter Exp $
// GEANT4 tag $Name: geant4-00-01 $
// $Id: G4ReactionKinematics.hh,v 1.1.10.1 1999/12/07 20:52:43 gunter Exp $
// GEANT4 tag $Name: geant4-01-00 $
//
// ------------------------------------------------------------
// GEANT 4 class header file --- Copyright CERN 1995
@@ -1,12 +1,12 @@
// This code implementation is the intellectual property of
// the RD44 GEANT4 collaboration.
// the 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: G4ReactionProduct.hh,v 1.1 1999/01/07 16:13:49 gunter Exp $
// GEANT4 tag $Name: geant4-00-01 $
// $Id: G4ReactionProduct.hh,v 1.1.10.1 1999/12/07 20:52:43 gunter Exp $
// GEANT4 tag $Name: geant4-01-00 $
//
// J.L. Chuma, TRIUMF, 31-Oct-1996
// last modified: 19-Dec-1996
@@ -1,12 +1,12 @@
// This code implementation is the intellectual property of
// the RD44 GEANT4 collaboration.
// the 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: G4ReactionProductVector.hh,v 1.1 1999/01/07 16:13:50 gunter Exp $
// GEANT4 tag $Name: geant4-00-01 $
// $Id: G4ReactionProductVector.hh,v 1.1.8.1.2.1 1999/12/07 20:52:43 gunter Exp $
// GEANT4 tag $Name: geant4-01-00 $
//
//
// For information related to this code contact:
@@ -23,14 +23,14 @@
#include "G4ios.hh"
class G4ReactionProduct;
#include <rw/tpordvec.h>
#include "g4rw/tpordvec.h"
// #ifdef STL
// //in future use STL vector as container of reaction products ...
// typedef Vector<G4ReactionProduct> G4ReactionProductVector;
// #elseifdef RWT
typedef RWTPtrOrderedVector<G4ReactionProduct> G4ReactionProductVector;
typedef G4RWTPtrOrderedVector<G4ReactionProduct> G4ReactionProductVector;
// #endif
@@ -1,12 +1,12 @@
// This code implementation is the intellectual property of
// the RD44 GEANT4 collaboration.
// the 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: G4StableIsotopes.hh,v 1.1 1999/01/07 16:13:50 gunter Exp $
// GEANT4 tag $Name: geant4-00-01 $
// $Id: G4StableIsotopes.hh,v 1.1.10.1 1999/12/07 20:52:43 gunter Exp $
// GEANT4 tag $Name: geant4-01-00 $
//
#ifndef G4StableIsotopes_h
#define G4StableIsotopes_h 1