Import Geant4 10.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-10 11:51:14 +02:00
parent e2d2f9810a
commit 286caacf06
12421 changed files with 730077 additions and 502383 deletions
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
// $Id$
// $Id: G4EventGenerator.hh 67999 2013-03-13 11:14:32Z gcosmo $
//
#ifndef G4EventGenerator_h
#define G4EventGenerator_h 1
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
// $Id$
// $Id: G4InteractionCode.hh 67999 2013-03-13 11:14:32Z gcosmo $
//
#ifndef G4InteractionCode_h
#define G4InteractionCode_h 1
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
// $Id$
// $Id: G4InteractionContent.hh 67999 2013-03-13 11:14:32Z gcosmo $
//
#ifndef G4InteractionContent_h
@@ -39,6 +39,10 @@
// ------------------------------------------------------------
#include "globals.hh"
#include "G4PhysicalConstants.hh"
#include "G4SystemOfUnits.hh"
#include "G4VSplitableHadron.hh"
#include "G4Nucleon.hh" // Uzhi 16.07.09
@@ -63,6 +67,9 @@ class G4InteractionContent
G4VSplitableHadron * GetProjectile() const ;
G4VSplitableHadron * GetTarget() const;
void SetProjectileNucleon(G4Nucleon * aNucleon); // Uzhi Nov. 2012
G4Nucleon * GetProjectileNucleon() const;
void SetTargetNucleon(G4Nucleon * aNucleon);
G4Nucleon * GetTargetNucleon() const;
@@ -99,6 +106,8 @@ private:
G4VSplitableHadron * theTarget;
G4VSplitableHadron * theProjectile;
G4Nucleon * theProjectileNucleon;
G4Nucleon * theTargetNucleon;
G4int theNumberOfHard;
@@ -127,6 +136,16 @@ inline void G4InteractionContent::SetTarget(G4VSplitableHadron *aTarget)
theTarget = aTarget;
}
inline void G4InteractionContent::SetProjectileNucleon(G4Nucleon * aNucleon)// Uzhi Nov. 2012
{
theProjectileNucleon = aNucleon;
}
inline G4Nucleon * G4InteractionContent::GetProjectileNucleon() const
{
return theProjectileNucleon;
}
inline void G4InteractionContent::SetTargetNucleon(G4Nucleon * aNucleon)
{
theTargetNucleon = aNucleon;
@@ -26,7 +26,7 @@
#ifndef G4PomeronCrossSection_h
#define G4PomeronCrossSection_h 1
//
// $Id$
// $Id: G4PomeronCrossSection.hh 67999 2013-03-13 11:14:32Z gcosmo $
//
#include "G4Proton.hh"
#include "G4Neutron.hh"
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
// $Id$
// $Id: G4StringModel.hh 67999 2013-03-13 11:14:32Z gcosmo $
//
#ifndef G4StringModel_h
#define G4StringModel_h 1
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
// $Id$
// $Id: G4VParticipants.hh 67999 2013-03-13 11:14:32Z gcosmo $
//
#ifndef G4VParticipants_h
@@ -61,9 +61,12 @@ class G4VParticipants
virtual void SetNucleus(G4V3DNucleus* aNucleus);
virtual G4V3DNucleus* GetWoundedNucleus() const;
// protected: // Uzhi 26 July 09
virtual void InitProjectileNucleus(G4int theZ, G4int theA); // Uzhi Nov. 2012
virtual void SetProjectileNucleus(G4V3DNucleus* aNucleus); // Uzhi Nov. 2012
virtual G4V3DNucleus* GetProjectileNucleus() const; // Uzhi Nov. 2012
G4V3DNucleus* theNucleus;
G4V3DNucleus* theProjectileNucleus; // Uzhi Nov. 2012
private:
};
@@ -75,6 +78,10 @@ inline G4V3DNucleus * G4VParticipants::GetWoundedNucleus() const
return theNucleus;
}
inline G4V3DNucleus * G4VParticipants::GetProjectileNucleus() const // Uzhi Nov. 2012
{
return theProjectileNucleus;
}
#endif
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
// $Id$
// $Id: G4VPartonStringModel.hh 67999 2013-03-13 11:14:32Z gcosmo $
//
#ifndef G4VPartonStringModel_h
#define G4VPartonStringModel_h 1
@@ -66,8 +66,8 @@ class G4VPartonStringModel : public G4VHighEnergyGenerator
G4KineticTrackVector * Scatter(const G4Nucleus &theNucleus, const G4DynamicParticle &thePrimary);
virtual G4V3DNucleus * GetWoundedNucleus() const = 0;
virtual void ModelDescription(std::ostream& outFile) const;
// virtual G4V3DNucleus * GetProjectileNucleus() const = 0; // Uzhi Nov. 2012
virtual G4V3DNucleus * GetProjectileNucleus() const; // Uzhi Nov. 2012
protected:
virtual void Init(const G4Nucleus &theNucleus, const G4DynamicParticle &thePrimary) = 0;
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
// $Id$
// $Id: G4VSplitableHadron.hh 67999 2013-03-13 11:14:32Z gcosmo $
//
#ifndef G4VSplitableHadron_h
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
// $Id$
// $Id: G4VStringFragmentation.hh 67999 2013-03-13 11:14:32Z gcosmo $
//
#ifndef G4VStringFragmentation_h
#define G4VStringFragmentation_h 1
@@ -24,7 +24,7 @@
// ********************************************************************
//
//
// $Id$
// $Id: G4VertexCode.hh 67999 2013-03-13 11:14:32Z gcosmo $
//
#ifndef G4VertexCode_h
#define G4VertexCode_h 1