Geant4  10.03
G4BraggModel Class Reference

#include <G4BraggModel.hh>

+ Inheritance diagram for G4BraggModel:
+ Collaboration diagram for G4BraggModel:

Public Member Functions

 G4BraggModel (const G4ParticleDefinition *p=nullptr, const G4String &nam="Bragg")
 
virtual ~G4BraggModel ()
 
virtual void Initialise (const G4ParticleDefinition *, const G4DataVector &) override
 
virtual G4double ComputeCrossSectionPerElectron (const G4ParticleDefinition *, G4double kineticEnergy, G4double cutEnergy, G4double maxEnergy)
 
virtual G4double ComputeCrossSectionPerAtom (const G4ParticleDefinition *, G4double kineticEnergy, G4double Z, G4double A, G4double cutEnergy, G4double maxEnergy) override
 
virtual G4double CrossSectionPerVolume (const G4Material *, const G4ParticleDefinition *, G4double kineticEnergy, G4double cutEnergy, G4double maxEnergy) override
 
virtual 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
 
virtual G4double GetChargeSquareRatio (const G4ParticleDefinition *, const G4Material *, G4double kineticEnergy) override
 
virtual G4double GetParticleCharge (const G4ParticleDefinition *p, const G4Material *mat, G4double kineticEnergy) override
 
- Public Member Functions inherited from G4VEmModel
 G4VEmModel (const G4String &nam)
 
virtual ~G4VEmModel ()
 
virtual void InitialiseLocal (const G4ParticleDefinition *, G4VEmModel *masterModel)
 
virtual void InitialiseForMaterial (const G4ParticleDefinition *, const G4Material *)
 
virtual void InitialiseForElement (const G4ParticleDefinition *, G4int Z)
 
virtual G4double GetPartialCrossSection (const G4Material *, G4int level, const G4ParticleDefinition *, G4double kineticEnergy)
 
virtual G4double ComputeCrossSectionPerShell (const G4ParticleDefinition *, G4int Z, G4int shellIdx, G4double kinEnergy, G4double cutEnergy=0.0, G4double maxEnergy=DBL_MAX)
 
virtual G4double ChargeSquareRatio (const G4Track &)
 
virtual void StartTracking (G4Track *)
 
virtual void CorrectionsAlongStep (const G4MaterialCutsCouple *, const G4DynamicParticle *, G4double &eloss, G4double &niel, G4double length)
 
virtual G4double Value (const G4MaterialCutsCouple *, const G4ParticleDefinition *, G4double kineticEnergy)
 
virtual G4double MinPrimaryEnergy (const G4Material *, const G4ParticleDefinition *, G4double cut=0.0)
 
virtual G4double MinEnergyCut (const G4ParticleDefinition *, const G4MaterialCutsCouple *)
 
virtual void SetupForMaterial (const G4ParticleDefinition *, const G4Material *, G4double kineticEnergy)
 
virtual void DefineForRegion (const G4Region *)
 
virtual void ModelDescription (std::ostream &outFile) const
 
void InitialiseElementSelectors (const G4ParticleDefinition *, const G4DataVector &)
 
std::vector
< G4EmElementSelector * > * 
GetElementSelectors ()
 
void SetElementSelectors (std::vector< G4EmElementSelector * > *)
 
virtual G4double ComputeDEDX (const G4MaterialCutsCouple *, const G4ParticleDefinition *, G4double kineticEnergy, G4double cutEnergy=DBL_MAX)
 
G4double CrossSection (const G4MaterialCutsCouple *, const G4ParticleDefinition *, G4double kineticEnergy, G4double cutEnergy=0.0, G4double maxEnergy=DBL_MAX)
 
G4double ComputeMeanFreePath (const G4ParticleDefinition *, G4double kineticEnergy, const G4Material *, G4double cutEnergy=0.0, G4double maxEnergy=DBL_MAX)
 
G4double ComputeCrossSectionPerAtom (const G4ParticleDefinition *, const G4Element *, G4double kinEnergy, G4double cutEnergy=0.0, G4double maxEnergy=DBL_MAX)
 
G4int SelectIsotopeNumber (const G4Element *)
 
const G4ElementSelectRandomAtom (const G4MaterialCutsCouple *, const G4ParticleDefinition *, G4double kineticEnergy, G4double cutEnergy=0.0, G4double maxEnergy=DBL_MAX)
 
const G4ElementSelectRandomAtom (const G4Material *, const G4ParticleDefinition *, G4double kineticEnergy, G4double cutEnergy=0.0, G4double maxEnergy=DBL_MAX)
 
G4int SelectRandomAtomNumber (const G4Material *)
 
void SetParticleChange (G4VParticleChange *, G4VEmFluctuationModel *f=nullptr)
 
void SetCrossSectionTable (G4PhysicsTable *, G4bool isLocal)
 
G4ElementDataGetElementData ()
 
G4PhysicsTableGetCrossSectionTable ()
 
G4VEmFluctuationModelGetModelOfFluctuations ()
 
G4VEmAngularDistributionGetAngularDistribution ()
 
void SetAngularDistribution (G4VEmAngularDistribution *)
 
G4double HighEnergyLimit () const
 
G4double LowEnergyLimit () const
 
G4double HighEnergyActivationLimit () const
 
G4double LowEnergyActivationLimit () const
 
G4double PolarAngleLimit () const
 
G4double SecondaryThreshold () const
 
G4bool LPMFlag () const
 
G4bool DeexcitationFlag () const
 
G4bool ForceBuildTableFlag () const
 
G4bool UseAngularGeneratorFlag () const
 
void SetAngularGeneratorFlag (G4bool)
 
void SetHighEnergyLimit (G4double)
 
void SetLowEnergyLimit (G4double)
 
void SetActivationHighEnergyLimit (G4double)
 
void SetActivationLowEnergyLimit (G4double)
 
G4bool IsActive (G4double kinEnergy)
 
void SetPolarAngleLimit (G4double)
 
void SetSecondaryThreshold (G4double)
 
void SetLPMFlag (G4bool val)
 
void SetDeexcitationFlag (G4bool val)
 
void SetForceBuildTable (G4bool val)
 
void SetMasterThread (G4bool val)
 
G4bool IsMaster () const
 
G4double MaxSecondaryKinEnergy (const G4DynamicParticle *dynParticle)
 
const G4StringGetName () const
 
void SetCurrentCouple (const G4MaterialCutsCouple *)
 
const G4ElementGetCurrentElement () const
 
const G4IsotopeGetCurrentIsotope () const
 
G4bool IsLocked () const
 
void SetLocked (G4bool)
 

Protected Member Functions

virtual G4double MaxSecondaryEnergy (const G4ParticleDefinition *, G4double kinEnergy) final
 
G4double GetChargeSquareRatio () const
 
void SetChargeSquareRatio (G4double val)
 
- Protected Member Functions inherited from G4VEmModel
G4ParticleChangeForLossGetParticleChangeForLoss ()
 
G4ParticleChangeForGammaGetParticleChangeForGamma ()
 
const G4MaterialCutsCoupleCurrentCouple () const
 
void SetCurrentElement (const G4Element *)
 

Private Member Functions

void SetParticle (const G4ParticleDefinition *p)
 
G4bool HasMaterial (const G4Material *material)
 
G4double StoppingPower (const G4Material *material, G4double kineticEnergy)
 
G4double ElectronicStoppingPower (G4double z, G4double kineticEnergy) const
 
G4double DEDX (const G4Material *material, G4double kineticEnergy)
 
G4bool MolecIsInZiegler1988 (const G4Material *material)
 
G4double ChemicalFactor (G4double kineticEnergy, G4double eloss125) const
 
G4BraggModeloperator= (const G4BraggModel &right)=delete
 
 G4BraggModel (const G4BraggModel &)=delete
 

Private Attributes

G4EmCorrectionscorr
 
const G4ParticleDefinitionparticle
 
G4ParticleDefinitiontheElectron
 
G4ParticleChangeForLossfParticleChange
 
const G4MaterialcurrentMaterial
 
G4double mass
 
G4double spin
 
G4double chargeSquare
 
G4double massRate
 
G4double ratio
 
G4double lowestKinEnergy
 
G4double protonMassAMU
 
G4double theZieglerFactor
 
G4double expStopPower125
 
G4int iMolecula
 
G4int iPSTAR
 
G4bool isIon
 

Static Private Attributes

static G4PSTARStoppingfPSTAR = nullptr
 

Additional Inherited Members

- Protected Attributes inherited from G4VEmModel
G4ElementDatafElementData
 
G4VParticleChangepParticleChange
 
G4PhysicsTablexSectionTable
 
const std::vector< G4double > * theDensityFactor
 
const std::vector< G4int > * theDensityIdx
 
size_t idxTable
 
- Static Protected Attributes inherited from G4VEmModel
static const G4double inveplus = 1.0/CLHEP::eplus
 

Detailed Description

Definition at line 71 of file G4BraggModel.hh.

Constructor & Destructor Documentation

G4BraggModel::G4BraggModel ( const G4ParticleDefinition p = nullptr,
const G4String nam = "Bragg" 
)
explicit

Definition at line 84 of file G4BraggModel.cc.

References cm2, corr, G4Electron::Electron(), G4LossTableManager::EmCorrections(), eV, expStopPower125, fParticleChange, G4LossTableManager::Instance(), keV, lowestKinEnergy, MeV, G4VEmModel::SetHighEnergyLimit(), SetParticle(), theElectron, and theZieglerFactor.

+ Here is the call graph for this function:

G4BraggModel::~G4BraggModel ( )
virtual

Definition at line 108 of file G4BraggModel.cc.

References fPSTAR, and G4VEmModel::IsMaster().

+ Here is the call graph for this function:

G4BraggModel::G4BraggModel ( const G4BraggModel )
privatedelete

Member Function Documentation

G4double G4BraggModel::ChemicalFactor ( G4double  kineticEnergy,
G4double  eloss125 
) const
private

Definition at line 771 of file G4BraggModel.cc.

References expStopPower125, G4Exp(), and keV.

Referenced by DEDX().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4BraggModel::ComputeCrossSectionPerAtom ( const G4ParticleDefinition p,
G4double  kineticEnergy,
G4double  Z,
G4double  A,
G4double  cutEnergy,
G4double  maxEnergy 
)
overridevirtual

Reimplemented from G4VEmModel.

Definition at line 196 of file G4BraggModel.cc.

References ComputeCrossSectionPerElectron().

+ Here is the call graph for this function:

G4double G4BraggModel::ComputeCrossSectionPerElectron ( const G4ParticleDefinition p,
G4double  kineticEnergy,
G4double  cutEnergy,
G4double  maxEnergy 
)
virtual

Definition at line 167 of file G4BraggModel.cc.

References chargeSquare, G4INCL::KinematicsUtils::energy(), G4Log(), mass, MaxSecondaryEnergy(), G4INCL::Math::min(), and spin.

Referenced by ComputeCrossSectionPerAtom(), and CrossSectionPerVolume().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4BraggModel::ComputeDEDXPerVolume ( const G4Material material,
const G4ParticleDefinition p,
G4double  kineticEnergy,
G4double  cutEnergy 
)
overridevirtual

Reimplemented from G4VEmModel.

Definition at line 225 of file G4BraggModel.cc.

References chargeSquare, DEDX(), G4Log(), G4InuclParticleNames::gam, G4Material::GetElectronDensity(), lowestKinEnergy, mass, massRate, G4INCL::Math::max(), and MaxSecondaryEnergy().

+ Here is the call graph for this function:

G4double G4BraggModel::CrossSectionPerVolume ( const G4Material material,
const G4ParticleDefinition p,
G4double  kineticEnergy,
G4double  cutEnergy,
G4double  maxEnergy 
)
overridevirtual

Reimplemented from G4VEmModel.

Definition at line 210 of file G4BraggModel.cc.

References ComputeCrossSectionPerElectron(), and G4Material::GetElectronDensity().

+ Here is the call graph for this function:

G4double G4BraggModel::DEDX ( const G4Material material,
G4double  kineticEnergy 
)
private

Definition at line 601 of file G4BraggModel.cc.

References ChemicalFactor(), currentMaterial, ElectronicStoppingPower(), fPSTAR, G4Material::GetAtomicNumDensityVector(), G4Material::GetDensity(), G4PSTARStopping::GetElectronicDEDX(), G4Material::GetElementVector(), G4PSTARStopping::GetIndex(), G4Material::GetNumberOfElements(), G4Material::GetTotNbOfAtomsPerVolume(), G4Element::GetZ(), G4Material::GetZ(), HasMaterial(), iMolecula, iPSTAR, keV, MolecIsInZiegler1988(), StoppingPower(), and theZieglerFactor.

Referenced by ComputeDEDXPerVolume().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4BraggModel::ElectronicStoppingPower ( G4double  z,
G4double  kineticEnergy 
) const
private

Definition at line 452 of file G4BraggModel.cc.

References a, fac, G4Exp(), G4Log(), G4lrint(), keV, G4INCL::Math::max(), and protonMassAMU.

Referenced by DEDX(), and StoppingPower().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4BraggModel::GetChargeSquareRatio ( const G4ParticleDefinition p,
const G4Material mat,
G4double  kineticEnergy 
)
overridevirtual

Reimplemented from G4VEmModel.

Definition at line 145 of file G4BraggModel.cc.

References corr, G4EmCorrections::EffectiveChargeCorrection(), G4EmCorrections::EffectiveChargeSquareRatio(), G4VEmModel::GetModelOfFluctuations(), and G4VEmFluctuationModel::SetParticleAndCharge().

+ Here is the call graph for this function:

G4double G4BraggModel::GetChargeSquareRatio ( ) const
inlineprotected

Definition at line 191 of file G4BraggModel.hh.

References chargeSquare.

G4double G4BraggModel::GetParticleCharge ( const G4ParticleDefinition p,
const G4Material mat,
G4double  kineticEnergy 
)
overridevirtual

Reimplemented from G4VEmModel.

Reimplemented in G4BraggIonGasModel.

Definition at line 157 of file G4BraggModel.cc.

References corr, and G4EmCorrections::GetParticleCharge().

+ Here is the call graph for this function:

G4bool G4BraggModel::HasMaterial ( const G4Material material)
private

Definition at line 354 of file G4BraggModel.cc.

Referenced by DEDX().

+ Here is the caller graph for this function:

void G4BraggModel::Initialise ( const G4ParticleDefinition p,
const G4DataVector  
)
overridevirtual
G4double G4BraggModel::MaxSecondaryEnergy ( const G4ParticleDefinition pd,
G4double  kinEnergy 
)
finalprotectedvirtual

Reimplemented from G4VEmModel.

Definition at line 342 of file G4BraggModel.cc.

References mass, particle, ratio, and SetParticle().

Referenced by ComputeCrossSectionPerElectron(), and ComputeDEDXPerVolume().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4bool G4BraggModel::MolecIsInZiegler1988 ( const G4Material material)
private

Definition at line 677 of file G4BraggModel.cc.

References expStopPower125, G4Material::GetChemicalFormula(), G4Material::GetState(), G4Material::GetTotNbOfAtomsPerVolume(), kStateGas, and numberOfMolecula.

Referenced by DEDX().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4BraggModel& G4BraggModel::operator= ( const G4BraggModel right)
privatedelete
void G4BraggModel::SetChargeSquareRatio ( G4double  val)
inlineprotected

Definition at line 196 of file G4BraggModel.hh.

References chargeSquare.

Referenced by G4BraggIonGasModel::ChargeSquareRatio().

+ Here is the caller graph for this function:

void G4BraggModel::SetParticle ( const G4ParticleDefinition p)
inlineprivate

Definition at line 180 of file G4BraggModel.hh.

References chargeSquare, eplus, G4ParticleDefinition::GetPDGCharge(), G4ParticleDefinition::GetPDGMass(), G4ParticleDefinition::GetPDGSpin(), mass, massRate, particle, ratio, and spin.

Referenced by G4BraggModel(), Initialise(), and MaxSecondaryEnergy().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4BraggModel::StoppingPower ( const G4Material material,
G4double  kineticEnergy 
)
private

Definition at line 382 of file G4BraggModel.cc.

References a, ElectronicStoppingPower(), G4Exp(), G4Log(), G4Material::GetNumberOfElements(), G4Material::GetZ(), iMolecula, keV, G4INCL::Math::max(), and protonMassAMU.

Referenced by DEDX().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

G4double G4BraggModel::chargeSquare
private
G4EmCorrections* G4BraggModel::corr
private

Definition at line 154 of file G4BraggModel.hh.

Referenced by G4BraggModel(), GetChargeSquareRatio(), and GetParticleCharge().

const G4Material* G4BraggModel::currentMaterial
private

Definition at line 161 of file G4BraggModel.hh.

Referenced by DEDX().

G4double G4BraggModel::expStopPower125
private

Definition at line 171 of file G4BraggModel.hh.

Referenced by ChemicalFactor(), G4BraggModel(), and MolecIsInZiegler1988().

G4ParticleChangeForLoss* G4BraggModel::fParticleChange
private

Definition at line 158 of file G4BraggModel.hh.

Referenced by G4BraggModel(), Initialise(), and SampleSecondaries().

G4PSTARStopping * G4BraggModel::fPSTAR = nullptr
staticprivate

Definition at line 159 of file G4BraggModel.hh.

Referenced by DEDX(), Initialise(), and ~G4BraggModel().

G4int G4BraggModel::iMolecula
private

Definition at line 173 of file G4BraggModel.hh.

Referenced by DEDX(), and StoppingPower().

G4int G4BraggModel::iPSTAR
private

Definition at line 174 of file G4BraggModel.hh.

Referenced by DEDX().

G4bool G4BraggModel::isIon
private

Definition at line 175 of file G4BraggModel.hh.

Referenced by Initialise().

G4double G4BraggModel::lowestKinEnergy
private

Definition at line 168 of file G4BraggModel.hh.

Referenced by ComputeDEDXPerVolume(), and G4BraggModel().

G4double G4BraggModel::massRate
private

Definition at line 166 of file G4BraggModel.hh.

Referenced by ComputeDEDXPerVolume(), and SetParticle().

const G4ParticleDefinition* G4BraggModel::particle
private

Definition at line 156 of file G4BraggModel.hh.

Referenced by Initialise(), MaxSecondaryEnergy(), and SetParticle().

G4double G4BraggModel::protonMassAMU
private

Definition at line 169 of file G4BraggModel.hh.

Referenced by ElectronicStoppingPower(), and StoppingPower().

G4double G4BraggModel::ratio
private

Definition at line 167 of file G4BraggModel.hh.

Referenced by MaxSecondaryEnergy(), and SetParticle().

G4double G4BraggModel::spin
private

Definition at line 164 of file G4BraggModel.hh.

Referenced by ComputeCrossSectionPerElectron(), and SetParticle().

G4ParticleDefinition* G4BraggModel::theElectron
private

Definition at line 157 of file G4BraggModel.hh.

Referenced by G4BraggModel(), and SampleSecondaries().

G4double G4BraggModel::theZieglerFactor
private

Definition at line 170 of file G4BraggModel.hh.

Referenced by DEDX(), and G4BraggModel().


The documentation for this class was generated from the following files: