Import Geant4 10.3.0.beta source tree

This commit is contained in:
Gabriele Cosmo
2016-06-30 14:12:05 +02:00
parent a654a7ab1f
commit 4ec577e5c4
2021 changed files with 100995 additions and 78277 deletions
@@ -50,7 +50,10 @@ class G4ParticleHPContAngularPar
G4bool fresh;
G4double currentMeanEnergy;
G4double remaining_energy;
toBeCached():fresh(true),currentMeanEnergy(-2.0),remaining_energy(0.0){};
G4double theTargetCode;
G4ReactionProduct* theTarget;
G4ReactionProduct* thePrimary;
toBeCached():fresh(true),currentMeanEnergy(-2.0),remaining_energy(0.0),theTargetCode(-1.0),theTarget(NULL),thePrimary(NULL){};
};
public:
@@ -63,6 +66,12 @@ class G4ParticleHPContAngularPar
fCache.Put(NULL);
theMinEner = DBL_MAX;
theMaxEner = -DBL_MAX;
theEnergy = -1;
nEnergies = -1;
nDiscreteEnergies = -1;
nAngularParameters = -1;
theProjectile = NULL;
adjustResult = true;
}
G4ParticleHPContAngularPar(G4ParticleDefinition* projectile);
@@ -83,15 +92,15 @@ class G4ParticleHPContAngularPar
void SetPrimary(G4ReactionProduct * aPrimary)
{
thePrimary = aPrimary;
fCache.Get()->thePrimary = aPrimary;
}
void SetTarget(G4ReactionProduct * aTarget)
{
theTarget = aTarget;
fCache.Get()->theTarget = aTarget;
}
void SetTargetCode(G4double aTargetCode) { theTargetCode = aTargetCode; }
void SetTargetCode(G4double aTargetCode) { fCache.Get()->theTargetCode = aTargetCode; }
void SetInterpolation(G4int theInterpolation)
{
@@ -170,9 +179,9 @@ private:
G4ParticleHPInterpolator theInt;
G4double theTargetCode;
G4ReactionProduct * theTarget;
G4ReactionProduct * thePrimary;
//G4double theTargetCode;
//G4ReactionProduct * theTarget;
//G4ReactionProduct * thePrimary;
//G4double currentMeanEnergy;