Import Geant4 0.1.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-08 15:09:25 +02:00
parent b97f8d0df7
commit aaa409b6ee
2922 changed files with 55107 additions and 81674 deletions
@@ -1,3 +1,14 @@
// 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: G4HEAntiKaonZeroInelastic.hh,v 1.2 1999/06/16 04:08:25 kurasige Exp $
// GEANT4 tag $Name: geant4-00-01 $
//
//
// G4 Gheisha High Energy model class -- header file
// H. Fesefeldt, RWTH Aachen 23-October-1996
// Last modified: 10-December-1996
@@ -1,3 +1,14 @@
// 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: G4HEAntiLambdaInelastic.hh,v 1.2 1999/06/16 04:09:00 kurasige Exp $
// GEANT4 tag $Name: geant4-00-01 $
//
//
// G4 Gheisha High Energy model class -- header file
// H. Fesefeldt, RWTH Aachen 23-October-1996
// Last modified: 10-December-1996
@@ -1,3 +1,14 @@
// 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: G4HEAntiNeutronInelastic.hh,v 1.2 1999/06/16 04:09:45 kurasige Exp $
// GEANT4 tag $Name: geant4-00-01 $
//
//
// G4 Gheisha High Energy model class -- header file
// H. Fesefeldt, RWTH Aachen 23-October-1996
// Last modified: 10-December-1996
@@ -1,3 +1,14 @@
// 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: G4HEAntiOmegaMinusInelastic.hh,v 1.2 1999/06/16 04:10:08 kurasige Exp $
// GEANT4 tag $Name: geant4-00-01 $
//
//
// G4 Gheisha High Energy model class -- header file
// H. Fesefeldt, RWTH Aachen 23-October-1996
// Last modified: 10-December-1996
@@ -1,3 +1,14 @@
// 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: G4HEAntiProtonInelastic.hh,v 1.2 1999/06/16 04:10:23 kurasige Exp $
// GEANT4 tag $Name: geant4-00-01 $
//
//
// G4 Gheisha High Energy model class -- header file
// H. Fesefeldt, RWTH Aachen 23-October-1996
// Last modified: 10-December-1996
@@ -1,3 +1,14 @@
// 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: G4HEAntiSigmaMinusInelastic.hh,v 1.2 1999/06/16 04:10:37 kurasige Exp $
// GEANT4 tag $Name: geant4-00-01 $
//
//
// G4 Gheisha High Energy model class -- header file
// H. Fesefeldt, RWTH Aachen 23-October-1996
// Last modified: 10-December-1996
@@ -1,3 +1,14 @@
// 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: G4HEAntiSigmaPlusInelastic.hh,v 1.2 1999/06/16 04:11:22 kurasige Exp $
// GEANT4 tag $Name: geant4-00-01 $
//
//
// G4 Gheisha High Energy model class -- header file
// H. Fesefeldt, RWTH Aachen 23-October-1996
// Last modified: 10-December-1996
@@ -1,3 +1,14 @@
// 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: G4HEAntiSigmaZeroInelastic.hh,v 1.2 1999/06/16 04:11:57 kurasige Exp $
// GEANT4 tag $Name: geant4-00-01 $
//
//
// G4 Gheisha High Energy model class -- header file
// H. Fesefeldt, RWTH Aachen 23-October-1996
// Last modified: 10-December-1996
@@ -1,3 +1,14 @@
// 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: G4HEAntiXiMinusInelastic.hh,v 1.2 1999/06/16 04:12:13 kurasige Exp $
// GEANT4 tag $Name: geant4-00-01 $
//
//
// G4 Gheisha High Energy model class -- header file
// H. Fesefeldt, RWTH Aachen 23-October-1996
// Last modified: 10-December-1996
@@ -1,3 +1,14 @@
// 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: G4HEAntiXiZeroInelastic.hh,v 1.2 1999/06/16 04:12:31 kurasige Exp $
// GEANT4 tag $Name: geant4-00-01 $
//
//
// G4 Gheisha High Energy model class -- header file
// H. Fesefeldt, RWTH Aachen 23-October-1996
// Last modified: 10-December-1996
@@ -1,3 +1,14 @@
// 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: G4HEInelastic.hh,v 1.2 1999/06/16 04:12:48 kurasige Exp $
// GEANT4 tag $Name: geant4-00-01 $
//
//
// G4 Gheisha High Energy (GHE) model class -- header file
// H. Fesefeldt, RWTH Aachen 23-October-1996
// Last modified: 10-December-1996
@@ -1,3 +1,14 @@
// 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: G4HEKaonMinusInelastic.hh,v 1.2 1999/06/16 04:13:33 kurasige Exp $
// GEANT4 tag $Name: geant4-00-01 $
//
//
// G4 Gheisha High Energy model class -- header file
// H. Fesefeldt, RWTH Aachen 23-October-1996
// Last modified: 10-December-1996
@@ -1,3 +1,14 @@
// 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: G4HEKaonPlusInelastic.hh,v 1.2 1999/06/16 04:13:53 kurasige Exp $
// GEANT4 tag $Name: geant4-00-01 $
//
//
// G4 Gheisha High Energy model class -- header file
// H. Fesefeldt, RWTH Aachen 23-October-1996
// Last modified: 10-December-1996
@@ -1,3 +1,14 @@
// 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: G4HEKaonZeroInelastic.hh,v 1.2 1999/06/16 04:14:28 kurasige Exp $
// GEANT4 tag $Name: geant4-00-01 $
//
//
// G4 Gheisha High Energy model class -- header file
// H. Fesefeldt, RWTH Aachen 23-October-1996
// Last modified: 10-December-1996
@@ -1,3 +1,14 @@
// 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: G4HEKaonZeroLongInelastic.hh,v 1.2 1999/06/16 04:15:13 kurasige Exp $
// GEANT4 tag $Name: geant4-00-01 $
//
//
// G4 Gheisha High Energy model class -- header file
// H. Fesefeldt, RWTH Aachen 23-October-1996
// Last modified: 10-December-1996
@@ -1,3 +1,14 @@
// 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: G4HEKaonZeroShortInelastic.hh,v 1.2 1999/06/16 04:15:46 kurasige Exp $
// GEANT4 tag $Name: geant4-00-01 $
//
//
// G4 Gheisha High Energy model class -- header file
// H. Fesefeldt, RWTH Aachen 23-October-1996
// Last modified: 10-December-1996
@@ -1,3 +1,14 @@
// 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: G4HELambdaInelastic.hh,v 1.2 1999/06/16 04:17:59 kurasige Exp $
// GEANT4 tag $Name: geant4-00-01 $
//
//
// G4 Gheisha High Energy model class -- header file
// H. Fesefeldt, RWTH Aachen 23-October-1996
// Last modified: 10-December-1996
@@ -1,3 +1,14 @@
// 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: G4HENeutronInelastic.hh,v 1.2 1999/06/16 04:18:16 kurasige Exp $
// GEANT4 tag $Name: geant4-00-01 $
//
//
// G4 Gheisha High Energy model class -- header file
// H. Fesefeldt, RWTH Aachen 23-October-1996
// Last modified: 10-December-1996
@@ -1,3 +1,14 @@
// 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: G4HEOmegaMinusInelastic.hh,v 1.2 1999/06/16 04:18:53 kurasige Exp $
// GEANT4 tag $Name: geant4-00-01 $
//
//
// G4 Gheisha High Energy model class -- header file
// H. Fesefeldt, RWTH Aachen 23-October-1996
// Last modified: 10-December-1996
@@ -1,3 +1,14 @@
// 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: G4HEPionMinusInelastic.hh,v 1.2 1999/06/16 04:19:11 kurasige Exp $
// GEANT4 tag $Name: geant4-00-01 $
//
//
// G4 Gheisha High Energy model class -- header file
// H. Fesefeldt, RWTH Aachen 23-October-1996
// Last modified: 10-December-1996
@@ -1,3 +1,14 @@
// 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: G4HEPionPlusInelastic.hh,v 1.2 1999/06/16 04:20:00 kurasige Exp $
// GEANT4 tag $Name: geant4-00-01 $
//
//
// G4 Gheisha High Energy model class -- header file
// H. Fesefeldt, RWTH Aachen 23-October-1996
// Last modified: 10-December-1996
@@ -1,3 +1,14 @@
// 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: G4HEPlot.hh,v 1.2 1999/06/16 04:20:18 kurasige Exp $
// GEANT4 tag $Name: geant4-00-01 $
//
//
// G4 Gheisha friend class G4HEPlot -- header file
// last modified: H. Fesefeldt 18-November-1996
@@ -1,3 +1,14 @@
// 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: G4HEProtonInelastic.hh,v 1.2 1999/06/16 04:21:12 kurasige Exp $
// GEANT4 tag $Name: geant4-00-01 $
//
//
// G4 Gheisha High Energy model class -- header file
// H. Fesefeldt, RWTH Aachen 23-October-1996
// Last modified: 10-December-1996
@@ -1,3 +1,14 @@
// 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: G4HESigmaMinusInelastic.hh,v 1.2 1999/06/16 04:21:56 kurasige Exp $
// GEANT4 tag $Name: geant4-00-01 $
//
//
// G4 Gheisha High Energy model class -- header file
// H. Fesefeldt, RWTH Aachen 23-October-1996
// Last modified: 10-December-1996
@@ -1,3 +1,14 @@
// 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: G4HESigmaPlusInelastic.hh,v 1.2 1999/06/16 04:22:58 kurasige Exp $
// GEANT4 tag $Name: geant4-00-01 $
//
//
// G4 Gheisha High Energy model class -- header file
// H. Fesefeldt, RWTH Aachen 23-October-1996
// Last modified: 10-December-1996
@@ -1,3 +1,14 @@
// 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: G4HESigmaZeroInelastic.hh,v 1.2 1999/06/16 04:23:18 kurasige Exp $
// GEANT4 tag $Name: geant4-00-01 $
//
//
// G4 Gheisha High Energy model class -- header file
// H. Fesefeldt, RWTH Aachen 23-October-1996
// Last modified: 10-December-1996
@@ -1,3 +1,14 @@
// 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: G4HEVector.hh,v 1.2 1999/06/16 04:23:31 kurasige Exp $
// GEANT4 tag $Name: geant4-00-01 $
//
//
// G4 Gheisha friend class G4KinematicParticle -- header file
// J.L. Chuma, TRIUMF, 22-Feb-1996
// last modified: H. Fesefeldt 18-November-1996
@@ -32,24 +43,7 @@ class G4HEVector
public:
G4HEVector(const G4DynamicParticle * aParticle)
{
G4ThreeVector aMom = 1./GeV*aParticle->GetMomentum();
px = aMom.x();
py = aMom.y();
pz = aMom.z();
energy = aParticle->GetTotalEnergy()/GeV;
kineticEnergy = aParticle->GetKineticEnergy()/GeV;
mass = aParticle->GetMass()/GeV;
charge = aParticle->GetDefinition()->GetPDGCharge()/eplus;
timeOfFlight = 0.0;
side = 0;
flag = false;
code = aParticle->GetDefinition()->GetPDGEncoding();
baryon = aParticle->GetDefinition()->GetBaryonNumber();
particleName = getParticleName(code, baryon);
particleType = aParticle->GetDefinition()->GetParticleType();
}
G4HEVector(const G4DynamicParticle * aParticle);
G4HEVector()
{
@@ -85,29 +79,32 @@ class G4HEVector
code = p.code;
particleName = p.particleName;
particleType = p.particleType;
baryon = 0;
baryon = p.baryon;
}
G4HEVector & operator = ( const G4HEVector & p )
{
px = p.px;
py = p.py;
pz = p.pz;
energy = p.energy;
kineticEnergy = p.kineticEnergy;
mass = p.mass;
charge = p.charge;
timeOfFlight = p.timeOfFlight;
side = p.side;
flag = p.flag;
code = p.code;
particleName = p.particleName;
particleType = p.particleType;
baryon = p.baryon;
if ( this != &p ) {
px = p.px;
py = p.py;
pz = p.pz;
energy = p.energy;
kineticEnergy = p.kineticEnergy;
mass = p.mass;
charge = p.charge;
timeOfFlight = p.timeOfFlight;
side = p.side;
flag = p.flag;
code = p.code;
particleName = p.particleName;
particleType = p.particleType;
baryon = p.baryon;
}
return *this;
}
~G4HEVector(){ };
~G4HEVector(){ };
G4String getParticleName(G4int code, G4int baryon);
@@ -180,6 +177,7 @@ class G4HEVector
void setZero();
G4String getType();
void Add( const G4HEVector & p1, const G4HEVector & p2 );
void Sub( const G4HEVector & p1, const G4HEVector & p2 );
@@ -228,3 +226,5 @@ class G4HEVector
};
#endif
@@ -1,3 +1,14 @@
// 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: G4HEXiMinusInelastic.hh,v 1.2 1999/06/16 04:23:51 kurasige Exp $
// GEANT4 tag $Name: geant4-00-01 $
//
//
// G4 Gheisha High Energy model class -- header file
// H. Fesefeldt, RWTH Aachen 23-October-1996
// Last modified: 10-December-1996
@@ -1,3 +1,14 @@
// 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: G4HEXiZeroInelastic.hh,v 1.2 1999/06/16 04:24:12 kurasige Exp $
// GEANT4 tag $Name: geant4-00-01 $
//
//
// G4 Gheisha High Energy model class -- header file
// H. Fesefeldt, RWTH Aachen 23-October-1996
// Last modified: 10-December-1996