Geant4  10.02.p02
G4BetheBlochModel Class Reference

#include <G4BetheBlochModel.hh>

+ Inheritance diagram for G4BetheBlochModel:
+ Collaboration diagram for G4BetheBlochModel:

Public Member Functions

 G4BetheBlochModel (const G4ParticleDefinition *p=nullptr, const G4String &nam="BetheBloch")
 
virtual ~G4BetheBlochModel ()
 
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 G4double GetChargeSquareRatio (const G4ParticleDefinition *p, const G4Material *mat, G4double kineticEnergy)
 
virtual G4double GetParticleCharge (const G4ParticleDefinition *p, const G4Material *mat, G4double kineticEnergy)
 
virtual void CorrectionsAlongStep (const G4MaterialCutsCouple *couple, const G4DynamicParticle *dp, G4double &eloss, G4double &, G4double length)
 
virtual void SampleSecondaries (std::vector< G4DynamicParticle * > *, const G4MaterialCutsCouple *, const G4DynamicParticle *, G4double tmin, G4double maxEnergy)
 
- 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)
 
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 SetupParameters ()
 
void SetParticle (const G4ParticleDefinition *p)
 
void SetGenericIon (const G4ParticleDefinition *p)
 
G4BetheBlochModeloperator= (const G4BetheBlochModel &right)
 
 G4BetheBlochModel (const G4BetheBlochModel &)
 

Private Attributes

const G4ParticleDefinitionparticle
 
G4ParticleDefinitiontheElectron
 
G4EmCorrectionscorr
 
G4ParticleChangeForLossfParticleChange
 
G4NistManagernist
 
G4double mass
 
G4double tlimit
 
G4double spin
 
G4double magMoment2
 
G4double chargeSquare
 
G4double ratio
 
G4double formfact
 
G4double twoln10
 
G4double bg2lim
 
G4double taulim
 
G4double corrFactor
 
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
 
- Static Protected Attributes inherited from G4VEmModel
static const G4double inveplus = 1.0/CLHEP::eplus
 

Detailed Description

Definition at line 72 of file G4BetheBlochModel.hh.

Constructor & Destructor Documentation

G4BetheBlochModel::G4BetheBlochModel ( const G4ParticleDefinition p = nullptr,
const G4String nam = "BetheBloch" 
)

Definition at line 75 of file G4BetheBlochModel.cc.

References corr, G4Electron::Electron(), G4LossTableManager::EmCorrections(), fParticleChange, G4NistManager::Instance(), G4LossTableManager::Instance(), MeV, nist, SetGenericIon(), G4VEmModel::SetLowEnergyLimit(), SetParticle(), and theElectron.

+ Here is the call graph for this function:

G4BetheBlochModel::~G4BetheBlochModel ( )
virtual

Definition at line 101 of file G4BetheBlochModel.cc.

G4BetheBlochModel::G4BetheBlochModel ( const G4BetheBlochModel )
private

Member Function Documentation

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

Reimplemented from G4VEmModel.

Definition at line 226 of file G4BetheBlochModel.cc.

References ComputeCrossSectionPerElectron().

+ Here is the call graph for this function:

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

Definition at line 189 of file G4BetheBlochModel.cc.

References chargeSquare, 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 G4BetheBlochModel::ComputeDEDXPerVolume ( const G4Material material,
const G4ParticleDefinition p,
G4double  kineticEnergy,
G4double  cutEnergy 
)
virtual

Reimplemented from G4VEmModel.

Reimplemented in G4BetheBlochNoDeltaModel.

Definition at line 255 of file G4BetheBlochModel.cc.

References chargeSquare, corr, G4IonisParamMat::DensityCorrection(), G4Log(), G4InuclParticleNames::gam, G4Material::GetElectronDensity(), G4Material::GetIonisation(), G4IonisParamMat::GetMeanExcitationEnergy(), G4EmCorrections::HighOrderCorrections(), G4EmCorrections::IonBarkasCorrection(), isIon, mass, MaxSecondaryEnergy(), G4INCL::Math::min(), G4EmCorrections::ShellCorrection(), spin, twoln10, and x.

Referenced by G4BetheBlochNoDeltaModel::ComputeDEDXPerVolume().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4BetheBlochModel::CorrectionsAlongStep ( const G4MaterialCutsCouple couple,
const G4DynamicParticle dp,
G4double eloss,
G4double ,
G4double  length 
)
virtual
G4double G4BetheBlochModel::CrossSectionPerVolume ( const G4Material material,
const G4ParticleDefinition p,
G4double  kineticEnergy,
G4double  cutEnergy,
G4double  maxEnergy 
)
virtual

Reimplemented from G4VEmModel.

Reimplemented in G4BetheBlochNoDeltaModel.

Definition at line 240 of file G4BetheBlochModel.cc.

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

+ Here is the call graph for this function:

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

Reimplemented from G4VEmModel.

Definition at line 130 of file G4BetheBlochModel.cc.

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

+ Here is the call graph for this function:

G4double G4BetheBlochModel::GetChargeSquareRatio ( ) const
inlineprotected

Definition at line 196 of file G4BetheBlochModel.hh.

References chargeSquare.

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

Reimplemented from G4VEmModel.

Reimplemented in G4BetheBlochIonGasModel.

Definition at line 142 of file G4BetheBlochModel.cc.

References corr, and G4EmCorrections::GetParticleCharge().

+ Here is the call graph for this function:

void G4BetheBlochModel::Initialise ( const G4ParticleDefinition p,
const G4DataVector  
)
virtual

Implements G4VEmModel.

Definition at line 106 of file G4BetheBlochModel.cc.

References fParticleChange, G4VEmModel::GetAngularDistribution(), G4VEmModel::GetParticleChangeForLoss(), isInitialised, G4VEmModel::SetAngularDistribution(), G4VEmModel::SetDeexcitationFlag(), SetGenericIon(), SetParticle(), and G4VEmModel::UseAngularGeneratorFlag().

Referenced by G4TablesForExtrapolator::ComputeMuonDEDX(), and G4TablesForExtrapolator::ComputeProtonDEDX().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Reimplemented from G4VEmModel.

Definition at line 454 of file G4BetheBlochModel.cc.

References mass, G4INCL::Math::min(), ratio, SetParticle(), and tlimit.

Referenced by ComputeCrossSectionPerElectron(), ComputeDEDXPerVolume(), and SampleSecondaries().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Reimplemented from G4VEmModel.

Definition at line 180 of file G4BetheBlochModel.cc.

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

+ Here is the call graph for this function:

G4BetheBlochModel& G4BetheBlochModel::operator= ( const G4BetheBlochModel right)
private
void G4BetheBlochModel::SetChargeSquareRatio ( G4double  val)
inlineprotected

Definition at line 203 of file G4BetheBlochModel.hh.

References chargeSquare.

Referenced by G4BetheBlochIonGasModel::ChargeSquareRatio().

+ Here is the caller graph for this function:

void G4BetheBlochModel::SetGenericIon ( const G4ParticleDefinition p)
inlineprivate

Definition at line 187 of file G4BetheBlochModel.hh.

References G4ParticleDefinition::GetParticleName(), isIon, and particle.

Referenced by G4BetheBlochModel(), and Initialise().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4BetheBlochModel::SetParticle ( const G4ParticleDefinition p)
inlineprivate

Definition at line 175 of file G4BetheBlochModel.hh.

References eplus, G4ParticleDefinition::GetBaryonNumber(), G4ParticleDefinition::GetPDGCharge(), isIon, particle, and SetupParameters().

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

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4BetheBlochModel::SetupParameters ( )
private

Definition at line 154 of file G4BetheBlochModel.cc.

References chargeSquare, corrFactor, eplus, formfact, G4ParticleDefinition::GetLeptonNumber(), G4ParticleDefinition::GetPDGCharge(), G4ParticleDefinition::GetPDGMagneticMoment(), G4ParticleDefinition::GetPDGMass(), G4ParticleDefinition::GetPDGSpin(), G4NistManager::GetZ13(), GeV, magMoment2, mass, nist, particle, ratio, spin, tlimit, and x.

Referenced by SetParticle().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

G4double G4BetheBlochModel::bg2lim
private

Definition at line 166 of file G4BetheBlochModel.hh.

G4double G4BetheBlochModel::chargeSquare
private
G4double G4BetheBlochModel::corrFactor
private
G4double G4BetheBlochModel::formfact
private

Definition at line 164 of file G4BetheBlochModel.hh.

Referenced by SampleSecondaries(), and SetupParameters().

G4ParticleChangeForLoss* G4BetheBlochModel::fParticleChange
private

Definition at line 155 of file G4BetheBlochModel.hh.

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

G4bool G4BetheBlochModel::isInitialised
private

Definition at line 170 of file G4BetheBlochModel.hh.

Referenced by Initialise().

G4bool G4BetheBlochModel::isIon
private
G4double G4BetheBlochModel::magMoment2
private

Definition at line 161 of file G4BetheBlochModel.hh.

Referenced by SampleSecondaries(), and SetupParameters().

G4NistManager* G4BetheBlochModel::nist
private

Definition at line 156 of file G4BetheBlochModel.hh.

Referenced by G4BetheBlochModel(), and SetupParameters().

const G4ParticleDefinition* G4BetheBlochModel::particle
private

Definition at line 152 of file G4BetheBlochModel.hh.

Referenced by SetGenericIon(), SetParticle(), and SetupParameters().

G4double G4BetheBlochModel::ratio
private

Definition at line 163 of file G4BetheBlochModel.hh.

Referenced by MaxSecondaryEnergy(), and SetupParameters().

G4double G4BetheBlochModel::spin
private
G4double G4BetheBlochModel::taulim
private

Definition at line 167 of file G4BetheBlochModel.hh.

G4ParticleDefinition* G4BetheBlochModel::theElectron
private

Definition at line 153 of file G4BetheBlochModel.hh.

Referenced by G4BetheBlochModel(), and SampleSecondaries().

G4double G4BetheBlochModel::tlimit
private

Definition at line 159 of file G4BetheBlochModel.hh.

Referenced by MaxSecondaryEnergy(), and SetupParameters().

G4double G4BetheBlochModel::twoln10
private

Definition at line 165 of file G4BetheBlochModel.hh.

Referenced by ComputeDEDXPerVolume().


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