Import Geant4 11.0.0.beta source tree
This commit is contained in:
@@ -76,54 +76,57 @@ public:
|
||||
explicit G4BraggModel(const G4ParticleDefinition* p = nullptr,
|
||||
const G4String& nam = "Bragg");
|
||||
|
||||
virtual ~G4BraggModel();
|
||||
~G4BraggModel() override;
|
||||
|
||||
virtual void Initialise(const G4ParticleDefinition*,
|
||||
const G4DataVector&) override;
|
||||
void Initialise(const G4ParticleDefinition*, const G4DataVector&) override;
|
||||
|
||||
virtual G4double ComputeCrossSectionPerElectron(
|
||||
G4double ComputeCrossSectionPerElectron(
|
||||
const G4ParticleDefinition*,
|
||||
G4double kineticEnergy,
|
||||
G4double cutEnergy,
|
||||
G4double maxEnergy);
|
||||
|
||||
virtual G4double ComputeCrossSectionPerAtom(
|
||||
G4double ComputeCrossSectionPerAtom(
|
||||
const G4ParticleDefinition*,
|
||||
G4double kineticEnergy,
|
||||
G4double Z, G4double A,
|
||||
G4double cutEnergy,
|
||||
G4double maxEnergy) override;
|
||||
|
||||
virtual G4double CrossSectionPerVolume(const G4Material*,
|
||||
G4double CrossSectionPerVolume(const G4Material*,
|
||||
const G4ParticleDefinition*,
|
||||
G4double kineticEnergy,
|
||||
G4double cutEnergy,
|
||||
G4double maxEnergy) override;
|
||||
|
||||
virtual G4double ComputeDEDXPerVolume(const G4Material*,
|
||||
G4double ComputeDEDXPerVolume(const G4Material*,
|
||||
const G4ParticleDefinition*,
|
||||
G4double kineticEnergy,
|
||||
G4double cutEnergy) override;
|
||||
|
||||
virtual void SampleSecondaries(std::vector<G4DynamicParticle*>*,
|
||||
const G4MaterialCutsCouple*,
|
||||
const G4DynamicParticle*,
|
||||
G4double tmin,
|
||||
G4double maxEnergy) override;
|
||||
void SampleSecondaries(std::vector<G4DynamicParticle*>*,
|
||||
const G4MaterialCutsCouple*,
|
||||
const G4DynamicParticle*,
|
||||
G4double tmin,
|
||||
G4double maxEnergy) override;
|
||||
|
||||
// Compute ion charge
|
||||
virtual G4double GetChargeSquareRatio(const G4ParticleDefinition*,
|
||||
const G4Material*,
|
||||
G4double kineticEnergy) override;
|
||||
G4double GetChargeSquareRatio(const G4ParticleDefinition*,
|
||||
const G4Material*,
|
||||
G4double kineticEnergy) override;
|
||||
|
||||
virtual G4double GetParticleCharge(const G4ParticleDefinition* p,
|
||||
const G4Material* mat,
|
||||
G4double kineticEnergy) override;
|
||||
G4double GetParticleCharge(const G4ParticleDefinition* p,
|
||||
const G4Material* mat,
|
||||
G4double kineticEnergy) override;
|
||||
|
||||
// hide assignment operator
|
||||
G4BraggModel & operator=(const G4BraggModel &right) = delete;
|
||||
G4BraggModel(const G4BraggModel&) = delete;
|
||||
|
||||
protected:
|
||||
|
||||
virtual G4double MaxSecondaryEnergy(const G4ParticleDefinition*,
|
||||
G4double kinEnergy) final;
|
||||
G4double MaxSecondaryEnergy(const G4ParticleDefinition*,
|
||||
G4double kinEnergy) final;
|
||||
|
||||
inline G4double GetChargeSquareRatio() const;
|
||||
|
||||
@@ -136,7 +139,7 @@ private:
|
||||
void HasMaterial(const G4Material* material);
|
||||
|
||||
G4double StoppingPower(const G4Material* material,
|
||||
G4double kineticEnergy);
|
||||
G4double kineticEnergy);
|
||||
|
||||
G4double ElectronicStoppingPower(G4double z,
|
||||
G4double kineticEnergy) const;
|
||||
@@ -147,20 +150,16 @@ private:
|
||||
|
||||
G4double ChemicalFactor(G4double kineticEnergy, G4double eloss125) const;
|
||||
|
||||
// hide assignment operator
|
||||
G4BraggModel & operator=(const G4BraggModel &right) = delete;
|
||||
G4BraggModel(const G4BraggModel&) = delete;
|
||||
G4EmCorrections* corr = nullptr;
|
||||
const G4ParticleDefinition* particle = nullptr;
|
||||
G4ParticleDefinition* theElectron = nullptr;
|
||||
G4ParticleChangeForLoss* fParticleChange = nullptr;
|
||||
G4ICRU90StoppingData* fICRU90 = nullptr;
|
||||
|
||||
G4EmCorrections* corr;
|
||||
const G4Material* currentMaterial = nullptr;
|
||||
const G4Material* baseMaterial = nullptr;
|
||||
|
||||
const G4ParticleDefinition* particle;
|
||||
G4ParticleDefinition* theElectron;
|
||||
G4ParticleChangeForLoss* fParticleChange;
|
||||
static G4PSTARStopping* fPSTAR;
|
||||
G4ICRU90StoppingData* fICRU90;
|
||||
|
||||
const G4Material* currentMaterial;
|
||||
const G4Material* baseMaterial;
|
||||
static G4PSTARStopping* fPSTAR;
|
||||
|
||||
G4double mass;
|
||||
G4double spin;
|
||||
@@ -170,12 +169,12 @@ private:
|
||||
G4double lowestKinEnergy;
|
||||
G4double protonMassAMU;
|
||||
G4double theZieglerFactor;
|
||||
G4double expStopPower125; // Experimental Stopping power at 125keV
|
||||
G4double expStopPower125; // Experimental Stopping power at 125keV
|
||||
|
||||
G4int iMolecula; // index in the molecula's table
|
||||
G4int iPSTAR; // index in PSTAR
|
||||
G4int iICRU90;
|
||||
G4bool isIon;
|
||||
G4int iMolecula = -1; // index in the molecula's table
|
||||
G4int iPSTAR = -1; // index in PSTAR
|
||||
G4int iICRU90 = -1;
|
||||
G4bool isIon = false;
|
||||
};
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
Reference in New Issue
Block a user