Import Geant4 5.2.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 10:28:22 +02:00
parent fbd4999cf7
commit 4aea781e80
5454 changed files with 223141 additions and 67347 deletions
@@ -1,4 +1,4 @@
# $Id: GNUmakefile,v 1.1 1999/01/07 16:12:04 gunter Exp $
# $Id: GNUmakefile,v 1.2 2003/06/18 13:26:48 gcosmo Exp $
# -----------------------------------------------------------
# GNUmakefile for hadronic library. Gabriele Cosmo, 18/9/96.
# -----------------------------------------------------------
@@ -11,8 +11,6 @@ endif
include $(G4INSTALL)/config/architecture.gmk
G4TMPDIR = $(G4TMP)/$(G4SYSTEM)/$(name)
CPPFLAGS += -I$(G4BASE)/global/management/include \
-I$(G4BASE)/global/HEPRandom/include \
-I$(G4BASE)/global/HEPNumerics/include \
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4V3DNucleus.hh,v 1.10 2002/12/12 19:17:30 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: G4V3DNucleus.hh,v 1.11 2003/06/16 17:07:08 gunter Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
#ifndef G4V3DNucleus_h
#define G4V3DNucleus_h 1
@@ -32,7 +32,7 @@ class G4VNuclearDensity;
#include "G4DynamicParticle.hh"
#include "G4Pair.hh"
#include "Randomize.hh"
#include "g4std/vector"
#include <vector>
class G4V3DNucleus
{
@@ -51,7 +51,7 @@ class G4V3DNucleus
virtual void Init(G4double theA, G4double theZ) = 0;
virtual G4bool StartLoop() = 0;
virtual G4Nucleon * GetNextNucleon() = 0;
virtual const G4std::vector<G4Nucleon *> & GetNucleons() = 0;
virtual const std::vector<G4Nucleon *> & GetNucleons() = 0;
virtual G4int GetMassNumber() = 0;
virtual G4double GetMass() = 0;
virtual G4int GetCharge() = 0;
@@ -22,7 +22,7 @@
//
//
// $Id: G4VHighEnergyGenerator.hh,v 1.7 2002/12/12 19:17:30 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
#ifndef G4VHighEnergyGenerator_h
#define G4VHighEnergyGenerator_h 1
@@ -22,7 +22,7 @@
//
//
// $Id: G4VIntraNuclearTransportModel.hh,v 1.9 2002/12/12 19:17:30 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
// $Id: G4IntraNuclearTransportMode.hh,v 1.0 1998/06/30
// -----------------------------------------------------------------------------
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4VKineticNucleon.hh,v 1.5 2002/12/12 19:17:30 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: G4VKineticNucleon.hh,v 1.6 2003/05/30 14:09:57 hpw Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
#ifndef G4VKineticNucleon_h
#define G4VKineticNucleon_h 1
@@ -72,7 +72,7 @@ inline G4KineticTrackVector* G4VKineticNucleon::Decay()
return NULL;
}
inline const G4VKineticNucleon& G4VKineticNucleon::operator=(const G4VKineticNucleon& right)
inline const G4VKineticNucleon& G4VKineticNucleon::operator=(const G4VKineticNucleon& )
{
return *this;
}
@@ -22,7 +22,7 @@
//
//
// $Id: G4VNuclearDensity.hh,v 1.7 2002/12/12 19:17:30 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
#ifndef G4VNuclearDensity_h
#define G4VNuclearDensity_h 1
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4VPreCompoundModel.hh,v 1.7 2002/12/12 19:17:30 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: G4VPreCompoundModel.hh,v 1.8 2003/05/30 14:09:57 hpw Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
#ifndef G4VPreCompoundModel_h
@@ -56,7 +56,7 @@ protected:
G4VPreCompoundModel() {};
private:
// copy constructor
G4VPreCompoundModel(const G4VPreCompoundModel &right) {};
G4VPreCompoundModel(const G4VPreCompoundModel &) : G4HadronicInteraction() {};
// operators
const G4VPreCompoundModel& operator=(const G4VPreCompoundModel &right);
G4bool operator==(const G4VPreCompoundModel &right) const;
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4V3DNucleus.cc,v 1.5 2002/12/12 19:17:30 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: G4V3DNucleus.cc,v 1.6 2003/05/30 14:09:58 hpw Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
#include "G4V3DNucleus.hh"
@@ -30,7 +30,7 @@ G4V3DNucleus::G4V3DNucleus()
{
}
G4V3DNucleus::G4V3DNucleus(const G4V3DNucleus &right)
G4V3DNucleus::G4V3DNucleus(const G4V3DNucleus &)
{
}
@@ -40,19 +40,19 @@ G4V3DNucleus::~G4V3DNucleus()
}
const G4V3DNucleus & G4V3DNucleus::operator=(const G4V3DNucleus &right)
const G4V3DNucleus & G4V3DNucleus::operator=(const G4V3DNucleus &)
{
G4Exception("G4V3DNucleus::operator= meant to not be accessable"); // needs to be looked at @@
return *this;
}
int G4V3DNucleus::operator==(const G4V3DNucleus &right) const
int G4V3DNucleus::operator==(const G4V3DNucleus &) const
{
return 0;
}
int G4V3DNucleus::operator!=(const G4V3DNucleus &right) const
int G4V3DNucleus::operator!=(const G4V3DNucleus &) const
{
return 1;
}
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4VHighEnergyGenerator.cc,v 1.5 2002/12/12 19:17:30 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: G4VHighEnergyGenerator.cc,v 1.6 2003/05/30 14:09:58 hpw Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
// G4VHighEnergyGenerator
#include "G4VHighEnergyGenerator.hh"
@@ -31,7 +31,7 @@ G4VHighEnergyGenerator::G4VHighEnergyGenerator()
{
}
G4VHighEnergyGenerator::G4VHighEnergyGenerator(const G4VHighEnergyGenerator &right)
G4VHighEnergyGenerator::G4VHighEnergyGenerator(const G4VHighEnergyGenerator &)
{
}
@@ -41,19 +41,19 @@ G4VHighEnergyGenerator::~G4VHighEnergyGenerator()
}
const G4VHighEnergyGenerator & G4VHighEnergyGenerator::operator=(const G4VHighEnergyGenerator &right)
const G4VHighEnergyGenerator & G4VHighEnergyGenerator::operator=(const G4VHighEnergyGenerator &)
{
G4Exception("G4VHighEnergyGenerator::operator= meant to not be accessable");
return *this;
}
int G4VHighEnergyGenerator::operator==(const G4VHighEnergyGenerator &right) const
int G4VHighEnergyGenerator::operator==(const G4VHighEnergyGenerator &) const
{
return 0;
}
int G4VHighEnergyGenerator::operator!=(const G4VHighEnergyGenerator &right) const
int G4VHighEnergyGenerator::operator!=(const G4VHighEnergyGenerator &) const
{
return 1;
}
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4VIntraNuclearTransportModel.cc,v 1.6 2002/12/12 19:17:31 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: G4VIntraNuclearTransportModel.cc,v 1.7 2003/05/30 14:09:58 hpw Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
// $Id: G4VIntraNuclearTransportModel.cc,v 1.0 1998/06/30
// -----------------------------------------------------------------------------
@@ -48,7 +48,7 @@ G4VIntraNuclearTransportModel::G4VIntraNuclearTransportModel() :
}
G4VIntraNuclearTransportModel::
G4VIntraNuclearTransportModel(const G4VIntraNuclearTransportModel& right)
G4VIntraNuclearTransportModel(const G4VIntraNuclearTransportModel& right) : G4HadronicInteraction()
{
the3DNucleus = right.Get3DNucleus();
theDeExcitation = right.GetDeExcitation();
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4VKineticNucleon.cc,v 1.5 2002/12/12 19:17:31 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: G4VKineticNucleon.cc,v 1.6 2003/05/30 14:09:58 hpw Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
#include "G4VKineticNucleon.hh"
@@ -30,7 +30,7 @@ G4VKineticNucleon::G4VKineticNucleon()
{
}
G4VKineticNucleon::G4VKineticNucleon(const G4VKineticNucleon &right)
G4VKineticNucleon::G4VKineticNucleon(const G4VKineticNucleon &)
{
}
@@ -22,7 +22,7 @@
//
//
// $Id: G4VNuclearDensity.cc,v 1.6 2002/12/12 19:17:31 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// GEANT4 tag $Name: geant4-05-02 $
//
#include "G4VNuclearDensity.hh"
@@ -21,8 +21,8 @@
// ********************************************************************
//
//
// $Id: G4VPreCompoundModel.cc,v 1.5 2002/12/12 19:17:31 gunter Exp $
// GEANT4 tag $Name: geant4-05-01 $
// $Id: G4VPreCompoundModel.cc,v 1.6 2003/05/30 14:09:58 hpw Exp $
// GEANT4 tag $Name: geant4-05-02 $
//
#include "G4VPreCompoundModel.hh"
@@ -34,18 +34,18 @@ G4VPreCompoundModel::G4VPreCompoundModel(G4ExcitationHandler *const value):
const G4VPreCompoundModel &
G4VPreCompoundModel::operator=(const G4VPreCompoundModel &right)
G4VPreCompoundModel::operator=(const G4VPreCompoundModel &)
{
G4Exception("G4VPreCompoundModel::operator= meant to not be accessable");
return *this;
}
G4bool G4VPreCompoundModel::operator==(const G4VPreCompoundModel &right) const
G4bool G4VPreCompoundModel::operator==(const G4VPreCompoundModel &) const
{
return false;
}
G4bool G4VPreCompoundModel::operator!=(const G4VPreCompoundModel &right) const
G4bool G4VPreCompoundModel::operator!=(const G4VPreCompoundModel &) const
{
return true;
}