Geant4  10.00.p02
G4BraggModel Class Reference

#include <G4BraggModel.hh>

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

Public Member Functions

 G4BraggModel (const G4ParticleDefinition *p=0, const G4String &nam="Bragg")
 
virtual ~G4BraggModel ()
 
virtual void Initialise (const G4ParticleDefinition *, const G4DataVector &)
 
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)
 
- 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 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 *)
 
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
 

Protected Member Functions

virtual G4double MaxSecondaryEnergy (const G4ParticleDefinition *, G4double kinEnergy)
 
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
 
void SetExpStopPower125 (G4double value)
 
G4BraggModeloperator= (const G4BraggModel &right)
 
 G4BraggModel (const G4BraggModel &)
 

Private Attributes

G4EmCorrectionscorr
 
const G4ParticleDefinitionparticle
 
G4ParticleDefinitiontheElectron
 
G4ParticleChangeForLossfParticleChange
 
G4PSTARStopping pstar
 
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
 
G4bool isInitialised
 

Additional Inherited Members

- Protected Attributes inherited from G4VEmModel
G4ElementDatafElementData
 
G4VParticleChangepParticleChange
 
G4PhysicsTablexSectionTable
 
const std::vector< G4double > * theDensityFactor
 
const std::vector< G4int > * theDensityIdx
 
size_t idxTable
 

Detailed Description

Definition at line 71 of file G4BraggModel.hh.

Constructor & Destructor Documentation

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

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 109 of file G4BraggModel.cc.

G4BraggModel::G4BraggModel ( const G4BraggModel )
private

Member Function Documentation

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

Definition at line 765 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 
)
virtual

Reimplemented from G4VEmModel.

Definition at line 188 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 162 of file G4BraggModel.cc.

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

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 
)
virtual

Reimplemented from G4VEmModel.

Definition at line 217 of file G4BraggModel.cc.

References chargeSquare, DEDX(), G4Log(), G4InuclParticleNames::gam, G4Material::GetElectronDensity(), lowestKinEnergy, mass, massRate, 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 
)
virtual

Reimplemented from G4VEmModel.

Definition at line 202 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 592 of file G4BraggModel.cc.

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

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 447 of file G4BraggModel.cc.

References a, fac, G4Exp(), G4Log(), keV, 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 
)
virtual

Reimplemented from G4VEmModel.

Definition at line 140 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 193 of file G4BraggModel.hh.

References chargeSquare.

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

Reimplemented from G4VEmModel.

Reimplemented in G4BraggIonGasModel.

Definition at line 152 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 344 of file G4BraggModel.cc.

References G4Material::GetChemicalFormula(), G4Material::GetState(), iMolecula, iPSTAR, and kStateGas.

Referenced by DEDX().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4BraggModel::Initialise ( const G4ParticleDefinition p,
const G4DataVector  
)
virtual
G4double G4BraggModel::MaxSecondaryEnergy ( const G4ParticleDefinition pd,
G4double  kinEnergy 
)
protectedvirtual

Reimplemented from G4VEmModel.

Definition at line 332 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 667 of file G4BraggModel.cc.

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

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)
private
void G4BraggModel::SetChargeSquareRatio ( G4double  val)
inlineprotected

Definition at line 198 of file G4BraggModel.hh.

References chargeSquare.

Referenced by G4BraggIonGasModel::ChargeSquareRatio().

+ Here is the caller graph for this function:

void G4BraggModel::SetExpStopPower125 ( G4double  value)
inlineprivate

Definition at line 149 of file G4BraggModel.hh.

References expStopPower125.

Referenced by MolecIsInZiegler1988().

+ Here is the caller graph for this function:

void G4BraggModel::SetParticle ( const G4ParticleDefinition p)
inlineprivate

Definition at line 182 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, invLog10, keV, protonMassAMU, 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 G4BraggModel::chargeSquare
private
G4EmCorrections* G4BraggModel::corr
private

Definition at line 155 of file G4BraggModel.hh.

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

const G4Material* G4BraggModel::currentMaterial
private

Definition at line 162 of file G4BraggModel.hh.

Referenced by DEDX().

G4double G4BraggModel::expStopPower125
private

Definition at line 172 of file G4BraggModel.hh.

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

G4ParticleChangeForLoss* G4BraggModel::fParticleChange
private

Definition at line 159 of file G4BraggModel.hh.

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

G4int G4BraggModel::iMolecula
private

Definition at line 174 of file G4BraggModel.hh.

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

G4int G4BraggModel::iPSTAR
private

Definition at line 175 of file G4BraggModel.hh.

Referenced by DEDX(), and HasMaterial().

G4bool G4BraggModel::isInitialised
private

Definition at line 177 of file G4BraggModel.hh.

Referenced by Initialise().

G4bool G4BraggModel::isIon
private

Definition at line 176 of file G4BraggModel.hh.

Referenced by Initialise().

G4double G4BraggModel::lowestKinEnergy
private

Definition at line 169 of file G4BraggModel.hh.

Referenced by ComputeDEDXPerVolume(), and G4BraggModel().

G4double G4BraggModel::massRate
private

Definition at line 167 of file G4BraggModel.hh.

Referenced by ComputeDEDXPerVolume(), and SetParticle().

const G4ParticleDefinition* G4BraggModel::particle
private

Definition at line 157 of file G4BraggModel.hh.

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

G4double G4BraggModel::protonMassAMU
private

Definition at line 170 of file G4BraggModel.hh.

Referenced by ElectronicStoppingPower(), and StoppingPower().

G4PSTARStopping G4BraggModel::pstar
private

Definition at line 160 of file G4BraggModel.hh.

Referenced by DEDX().

G4double G4BraggModel::ratio
private

Definition at line 168 of file G4BraggModel.hh.

Referenced by MaxSecondaryEnergy(), and SetParticle().

G4double G4BraggModel::spin
private

Definition at line 165 of file G4BraggModel.hh.

Referenced by SetParticle().

G4ParticleDefinition* G4BraggModel::theElectron
private

Definition at line 158 of file G4BraggModel.hh.

Referenced by G4BraggModel(), and SampleSecondaries().

G4double G4BraggModel::theZieglerFactor
private

Definition at line 171 of file G4BraggModel.hh.

Referenced by DEDX(), and G4BraggModel().


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