Geant4  10.02.p02
G4BraggIonModel Class Reference

#include <G4BraggIonModel.hh>

+ Inheritance diagram for G4BraggIonModel:
+ Collaboration diagram for G4BraggIonModel:

Public Member Functions

 G4BraggIonModel (const G4ParticleDefinition *p=nullptr, const G4String &nam="BraggIon")
 
virtual ~G4BraggIonModel ()
 
virtual void Initialise (const G4ParticleDefinition *, const G4DataVector &)
 
virtual G4double MinEnergyCut (const G4ParticleDefinition *, const G4MaterialCutsCouple *couple)
 
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)
 
virtual G4double CrossSectionPerVolume (const G4Material *, const G4ParticleDefinition *, G4double kineticEnergy, G4double cutEnergy, G4double maxEnergy)
 
virtual G4double ComputeDEDXPerVolume (const G4Material *, const G4ParticleDefinition *, G4double kineticEnergy, G4double cutEnergy)
 
virtual void SampleSecondaries (std::vector< G4DynamicParticle * > *, const G4MaterialCutsCouple *, const G4DynamicParticle *, G4double tmin, G4double maxEnergy)
 
virtual G4double GetChargeSquareRatio (const G4ParticleDefinition *, const G4Material *, G4double kineticEnergy)
 
virtual G4double GetParticleCharge (const G4ParticleDefinition *p, const G4Material *mat, G4double kineticEnergy)
 
virtual void CorrectionsAlongStep (const G4MaterialCutsCouple *, const G4DynamicParticle *, G4double &eloss, G4double &niel, G4double length)
 
- 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, const G4ParticleDefinition *, G4double)
 
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 G4double Value (const G4MaterialCutsCouple *, const G4ParticleDefinition *, G4double kineticEnergy)
 
virtual G4double MinPrimaryEnergy (const G4Material *, const G4ParticleDefinition *, G4double cut=0.0)
 
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 * > *)
 
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=0)
 
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)
 
- Protected Member Functions inherited from G4VEmModel
G4ParticleChangeForLossGetParticleChangeForLoss ()
 
G4ParticleChangeForGammaGetParticleChangeForGamma ()
 
const G4MaterialCutsCoupleCurrentCouple () const
 
void SetCurrentElement (const G4Element *)
 

Private Member Functions

void SetParticle (const G4ParticleDefinition *p)
 
G4double HeEffChargeSquare (G4double z, G4double kinEnergyInMeV) const
 
G4BraggIonModeloperator= (const G4BraggIonModel &right)
 
 G4BraggIonModel (const G4BraggIonModel &)
 
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)
 

Private Attributes

G4EmCorrectionscorr
 
const G4ParticleDefinitionparticle
 
G4ParticleDefinitiontheElectron
 
G4ParticleChangeForLossfParticleChange
 
const G4MaterialcurrentMaterial
 
G4double mass
 
G4double spin
 
G4double chargeSquare
 
G4double massRate
 
G4double ratio
 
G4double lowestKinEnergy
 
G4double HeMass
 
G4double massFactor
 
G4double corrFactor
 
G4double rateMassHe2p
 
G4double theZieglerFactor
 
G4int iMolecula
 
G4int iASTAR
 
G4bool isIon
 
G4bool isInitialised
 

Static Private Attributes

static G4ASTARStoppingfASTAR = 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 68 of file G4BraggIonModel.hh.

Constructor & Destructor Documentation

G4BraggIonModel::G4BraggIonModel ( const G4ParticleDefinition p = nullptr,
const G4String nam = "BraggIon" 
)

Definition at line 78 of file G4BraggIonModel.cc.

References cm2, corrFactor, G4Electron::Electron(), eV, GeV, HeMass, keV, lowestKinEnergy, massFactor, MeV, rateMassHe2p, G4VEmModel::SetHighEnergyLimit(), SetParticle(), theElectron, and theZieglerFactor.

+ Here is the call graph for this function:

G4BraggIonModel::~G4BraggIonModel ( )
virtual

Definition at line 105 of file G4BraggIonModel.cc.

References fASTAR, and G4VEmModel::IsMaster().

+ Here is the call graph for this function:

G4BraggIonModel::G4BraggIonModel ( const G4BraggIonModel )
private

Member Function Documentation

G4double G4BraggIonModel::ComputeCrossSectionPerAtom ( const G4ParticleDefinition p,
G4double  kineticEnergy,
G4double  Z,
G4double  A,
G4double  cutEnergy,
G4double  maxEnergy 
)
virtual

Reimplemented from G4VEmModel.

Definition at line 206 of file G4BraggIonModel.cc.

References ComputeCrossSectionPerElectron().

+ Here is the call graph for this function:

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

Definition at line 177 of file G4BraggIonModel.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 G4BraggIonModel::ComputeDEDXPerVolume ( const G4Material material,
const G4ParticleDefinition p,
G4double  kineticEnergy,
G4double  cutEnergy 
)
virtual

Reimplemented from G4VEmModel.

Reimplemented in G4BraggNoDeltaModel.

Definition at line 235 of file G4BraggIonModel.cc.

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

Referenced by G4BraggNoDeltaModel::ComputeDEDXPerVolume().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4BraggIonModel::CorrectionsAlongStep ( const G4MaterialCutsCouple couple,
const G4DynamicParticle dp,
G4double eloss,
G4double niel,
G4double  length 
)
virtual

Reimplemented from G4VEmModel.

Definition at line 278 of file G4BraggIonModel.cc.

References corr, corrFactor, G4EmCorrections::EffectiveChargeCorrection(), G4EmCorrections::EffectiveChargeSquareRatio(), G4DynamicParticle::GetDefinition(), G4DynamicParticle::GetKineticEnergy(), G4MaterialCutsCouple::GetMaterial(), G4VEmModel::GetModelOfFluctuations(), and G4VEmFluctuationModel::SetParticleAndCharge().

+ Here is the call graph for this function:

G4double G4BraggIonModel::CrossSectionPerVolume ( const G4Material material,
const G4ParticleDefinition p,
G4double  kineticEnergy,
G4double  cutEnergy,
G4double  maxEnergy 
)
virtual

Reimplemented from G4VEmModel.

Reimplemented in G4BraggNoDeltaModel.

Definition at line 220 of file G4BraggIonModel.cc.

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

+ Here is the call graph for this function:

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

Definition at line 643 of file G4BraggIonModel.cc.

References currentMaterial, ElectronicStoppingPower(), fASTAR, G4lrint(), G4Material::GetAtomicNumDensityVector(), G4Material::GetDensity(), G4ASTARStopping::GetElectronicDEDX(), G4Material::GetElementVector(), G4ASTARStopping::GetIndex(), G4Material::GetNumberOfElements(), G4Material::GetTotNbOfAtomsPerVolume(), G4Material::GetTotNbOfElectPerVolume(), G4Element::GetZ(), G4Material::GetZ(), HasMaterial(), HeEffChargeSquare(), iASTAR, iMolecula, MeV, rateMassHe2p, StoppingPower(), theZieglerFactor, and z.

Referenced by ComputeDEDXPerVolume().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Definition at line 491 of file G4BraggIonModel.cc.

References a, G4Exp(), G4Log(), G4lrint(), HeEffChargeSquare(), MeV, and rateMassHe2p.

Referenced by DEDX(), and StoppingPower().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4BraggIonModel::GetChargeSquareRatio ( const G4ParticleDefinition p,
const G4Material mat,
G4double  kineticEnergy 
)
virtual

Reimplemented from G4VEmModel.

Definition at line 152 of file G4BraggIonModel.cc.

References corr, corrFactor, G4EmCorrections::EffectiveChargeCorrection(), and G4EmCorrections::EffectiveChargeSquareRatio().

+ Here is the call graph for this function:

G4double G4BraggIonModel::GetParticleCharge ( const G4ParticleDefinition p,
const G4Material mat,
G4double  kineticEnergy 
)
virtual

Reimplemented from G4VEmModel.

Definition at line 165 of file G4BraggIonModel.cc.

References corr, and G4EmCorrections::GetParticleCharge().

+ Here is the call graph for this function:

G4bool G4BraggIonModel::HasMaterial ( const G4Material material)
private

Definition at line 392 of file G4BraggIonModel.cc.

Referenced by DEDX().

+ Here is the caller graph for this function:

G4double G4BraggIonModel::HeEffChargeSquare ( G4double  z,
G4double  kinEnergyInMeV 
) const
private

Definition at line 696 of file G4BraggIonModel.cc.

References G4Exp(), G4Log(), massFactor, G4INCL::Math::max(), w, x, and z.

Referenced by DEDX(), ElectronicStoppingPower(), and StoppingPower().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4BraggIonModel::MaxSecondaryEnergy ( const G4ParticleDefinition pd,
G4double  kinEnergy 
)
protectedvirtual

Reimplemented from G4VEmModel.

Definition at line 380 of file G4BraggIonModel.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:

G4double G4BraggIonModel::MinEnergyCut ( const G4ParticleDefinition ,
const G4MaterialCutsCouple couple 
)
virtual

Reimplemented from G4VEmModel.

Definition at line 144 of file G4BraggIonModel.cc.

References G4Material::GetIonisation(), G4MaterialCutsCouple::GetMaterial(), and G4IonisParamMat::GetMeanExcitationEnergy().

+ Here is the call graph for this function:

G4BraggIonModel& G4BraggIonModel::operator= ( const G4BraggIonModel right)
private
void G4BraggIonModel::SetParticle ( const G4ParticleDefinition p)
inlineprivate

Definition at line 184 of file G4BraggIonModel.hh.

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

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

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Definition at line 421 of file G4BraggIonModel.cc.

References a, ElectronicStoppingPower(), G4Exp(), G4Log(), G4Material::GetNumberOfElements(), G4Material::GetZ(), HeEffChargeSquare(), iMolecula, MeV, rateMassHe2p, and z.

Referenced by DEDX().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

G4double G4BraggIonModel::chargeSquare
private
G4EmCorrections* G4BraggIonModel::corr
private
G4double G4BraggIonModel::corrFactor
private
const G4Material* G4BraggIonModel::currentMaterial
private

Definition at line 162 of file G4BraggIonModel.hh.

Referenced by DEDX().

G4ASTARStopping * G4BraggIonModel::fASTAR = nullptr
staticprivate

Definition at line 160 of file G4BraggIonModel.hh.

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

G4ParticleChangeForLoss* G4BraggIonModel::fParticleChange
private

Definition at line 158 of file G4BraggIonModel.hh.

Referenced by Initialise(), and SampleSecondaries().

G4double G4BraggIonModel::HeMass
private

Definition at line 170 of file G4BraggIonModel.hh.

Referenced by G4BraggIonModel().

G4int G4BraggIonModel::iASTAR
private

Definition at line 177 of file G4BraggIonModel.hh.

Referenced by DEDX().

G4int G4BraggIonModel::iMolecula
private

Definition at line 176 of file G4BraggIonModel.hh.

Referenced by DEDX(), and StoppingPower().

G4bool G4BraggIonModel::isInitialised
private

Definition at line 179 of file G4BraggIonModel.hh.

Referenced by Initialise().

G4bool G4BraggIonModel::isIon
private

Definition at line 178 of file G4BraggIonModel.hh.

Referenced by Initialise().

G4double G4BraggIonModel::lowestKinEnergy
private

Definition at line 169 of file G4BraggIonModel.hh.

Referenced by ComputeDEDXPerVolume(), and G4BraggIonModel().

G4double G4BraggIonModel::mass
private
G4double G4BraggIonModel::massFactor
private

Definition at line 171 of file G4BraggIonModel.hh.

Referenced by G4BraggIonModel(), and HeEffChargeSquare().

G4double G4BraggIonModel::massRate
private

Definition at line 167 of file G4BraggIonModel.hh.

Referenced by ComputeDEDXPerVolume(), and SetParticle().

const G4ParticleDefinition* G4BraggIonModel::particle
private

Definition at line 156 of file G4BraggIonModel.hh.

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

G4double G4BraggIonModel::rateMassHe2p
private

Definition at line 173 of file G4BraggIonModel.hh.

Referenced by DEDX(), ElectronicStoppingPower(), G4BraggIonModel(), and StoppingPower().

G4double G4BraggIonModel::ratio
private

Definition at line 168 of file G4BraggIonModel.hh.

Referenced by MaxSecondaryEnergy(), and SetParticle().

G4double G4BraggIonModel::spin
private

Definition at line 165 of file G4BraggIonModel.hh.

Referenced by ComputeCrossSectionPerElectron(), and SetParticle().

G4ParticleDefinition* G4BraggIonModel::theElectron
private

Definition at line 157 of file G4BraggIonModel.hh.

Referenced by G4BraggIonModel(), and SampleSecondaries().

G4double G4BraggIonModel::theZieglerFactor
private

Definition at line 174 of file G4BraggIonModel.hh.

Referenced by DEDX(), and G4BraggIonModel().


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