Import Geant4 8.3.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 15:07:44 +02:00
parent fe73f43734
commit 75c7fd177d
764 changed files with 45230 additions and 95238 deletions
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4HadronicInteraction.hh,v 1.7 2006/06/29 20:45:31 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// $Id: G4HadronicInteraction.hh,v 1.8 2007/01/11 05:30:01 dennis Exp $
// GEANT4 tag $Name: geant4-08-03 $
//
// Hadronic Interaction abstract base class
// This class is the base class for the model classes.
@@ -62,9 +62,9 @@
{
public:
G4HadronicInteraction() :
verboseLevel(0), theMinEnergy(0.0*GeV),
theMaxEnergy(25.0*GeV), isBlocked(false)
G4HadronicInteraction(const G4String& modelName = "HadronicModel") :
verboseLevel(0), theMinEnergy(0.0*GeV), theMaxEnergy(25.0*GeV),
isBlocked(false), theModelName(modelName)
{
G4HadronicInteractionRegistry::RegisterMe(this);
}
@@ -133,6 +133,9 @@
inline void SetVerboseLevel( G4int value )
{ verboseLevel = value; }
inline const G4String& GetModelName() const
{ return theModelName; }
public: // With description
// This is the interface to implement for final state production code.
@@ -189,6 +192,8 @@ public: // Without description
G4bool IsBlocked() const { return isBlocked;}
void Block() { isBlocked = true; }
G4bool isBlocked;
G4String theModelName;
private:
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4InelasticInteraction.hh,v 1.4 2006/06/29 20:45:35 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// $Id: G4InelasticInteraction.hh,v 1.5 2007/01/11 05:30:12 dennis Exp $
// GEANT4 tag $Name: geant4-08-03 $
//
// Hadronic Process: Inelastic Interaction
// This class is an abstract base class, since the pure virtual
@@ -56,7 +56,8 @@
{
public:
G4InelasticInteraction() : G4HadronicInteraction()
G4InelasticInteraction(const G4String& modelName = "LEInelastic")
: G4HadronicInteraction(modelName)
{ cache = 0.0;}
virtual ~G4InelasticInteraction()
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4VIntraNuclearTransportModel.hh,v 1.3 2006/06/29 20:45:43 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// $Id: G4VIntraNuclearTransportModel.hh,v 1.4 2007/01/11 05:29:46 dennis Exp $
// GEANT4 tag $Name: geant4-08-03 $
//
// $Id: G4IntraNuclearTransportMode.hh,v 1.0 1998/06/30
// -----------------------------------------------------------------------------
@@ -62,7 +62,7 @@ class G4VIntraNuclearTransportModel : public G4HadronicInteraction
{
public:
G4VIntraNuclearTransportModel();
G4VIntraNuclearTransportModel(const G4String& modelName = "CascadeModel");
G4VIntraNuclearTransportModel(const G4VIntraNuclearTransportModel& right);
@@ -83,14 +83,17 @@ class G4VIntraNuclearTransportModel : public G4HadronicInteraction
protected:
G4String GetModelName() const;
G4V3DNucleus* Get3DNucleus() const;
G4VPreCompoundModel* GetDeExcitation() const;
protected:
G4String theTransportModelName;
G4V3DNucleus* the3DNucleus;
G4VPreCompoundModel* theDeExcitation;
@@ -101,6 +104,11 @@ class G4VIntraNuclearTransportModel : public G4HadronicInteraction
// Class G4VIntraNuclearTransportModel
inline G4String G4VIntraNuclearTransportModel::GetModelName() const
{
return theTransportModelName;
}
inline G4V3DNucleus* G4VIntraNuclearTransportModel::Get3DNucleus() const
{
return the3DNucleus;
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4VPreCompoundModel.hh,v 1.4 2006/06/29 20:45:51 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// $Id: G4VPreCompoundModel.hh,v 1.5 2007/01/11 05:29:34 dennis Exp $
// GEANT4 tag $Name: geant4-08-03 $
//
#ifndef G4VPreCompoundModel_h
@@ -51,7 +51,8 @@ class G4VPreCompoundModel : public G4HadronicInteraction
{
public:
G4VPreCompoundModel(G4ExcitationHandler *const value);
G4VPreCompoundModel(G4ExcitationHandler* const value,
const G4String& modelName = "PrecompoundModel");
virtual ~G4VPreCompoundModel() {};
protected: