Import Geant4 1.1.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-08 15:34:16 +02:00
parent ca1c8cb059
commit 103bda00c8
2654 changed files with 29719 additions and 20203 deletions
@@ -78,15 +78,7 @@ protected:
const G4ParticleDefinition& aParticleType,
G4double KineticEnergy,
G4double AtomicNumber);
//--------------------------------------------------------start
virtual G4double ComputeBarkasTerm(
const G4Material* material,
const G4double KinEnergy,
const G4double PartMass);
//Function to compute the Barkas term
//---------------------------------------------------------end
public: // With description
void SetStoppingPowerTableName(const G4String& dedxTable);
@@ -99,22 +91,28 @@ public: // With description
// This method switch off calculation of the nuclear stopping power.
void SetAntiProtonStoppingOn();
// This method switch on calculation of the loss table for antiproton
// using antiproron formulation (down to 100 keV).
// This method switch on calculation of the Barkas Effect for antiproton
void SetAntiProtonStoppingOff();
// This method switch off calculation of the loss table for antiproton
// using antiproron formulation (down to 100 keV).
// This method switch on calculation of the Barkas Effect for antiproton
G4double GetParametrisedLoss(const G4Material* material,
const G4double KinEnergy,
const G4double DeltaRayCutNow,
const G4double PartMass,
const G4double PartCharge);
virtual G4double GetParametrisedLoss(G4Material* aMaterial,
const G4double KinEnergy,
const G4double DeltaRayCutNow);
// This method returns parametrised energy loss.
// NEW**** modified totake account of the Barkas correction
G4double GetPreciseDEDX(G4Material* aMaterial,
const G4double KinEnergy,
const G4ParticleDefinition* aParticleType);
// This method returns electron ionisation energy loss for any energy.
G4double GetNuclearDEDX(G4Material* aMaterial,
const G4double KinEnergy,
const G4ParticleDefinition* aParticleType);
// This method returns nuclear energy loss.
G4double GetBetheBlochLoss(const G4Material* material, const G4double KinEnergy,
G4double GetBetheBlochLoss(const G4Material* material,
const G4double KinEnergy,
const G4double DeltaRayCutNow);
// This method returns energy loss calculated via Bethe-Bloch formula.
@@ -205,6 +203,17 @@ public: // With description
// The Stopping and Range of Ions in Matter,
// Vol.1, Pergamon Press, 1985
G4double ComputeBarkasTerm(const G4Material* material, const G4double KinEnergy);
// Function to compute the Barkas term
G4double GetConstraints(const G4DynamicParticle *aParticle,
G4Material *aMaterial);
// Function to determine StepLimit
G4VParticleChange* AlongStepDoIt(const G4Track& trackData ,
const G4Step& stepData );
// Function to determine total energy deposition on the step
private:
// hide assignment operator
@@ -234,8 +243,9 @@ protected:
const G4double Factor;
const G4double bg2lim;
const G4double taulim; // energy to start to switch off shell corrections
G4double RateMass;
G4double MassRatio;
G4double RateMass; // m_e/M
G4double MassRatio; // m_p/M
G4ParticleDefinition* theParticle;
// particles , cuts in kinetic energy ........
const G4Electron* theElectron;