Geant4  10.03
G4SeltzerBergerModel Class Reference

#include <G4SeltzerBergerModel.hh>

+ Inheritance diagram for G4SeltzerBergerModel:
+ Collaboration diagram for G4SeltzerBergerModel:

Public Member Functions

 G4SeltzerBergerModel (const G4ParticleDefinition *p=nullptr, const G4String &nam="eBremSB")
 
virtual ~G4SeltzerBergerModel ()
 
virtual void Initialise (const G4ParticleDefinition *, const G4DataVector &) override
 
virtual void InitialiseForElement (const G4ParticleDefinition *, G4int Z) override
 
virtual void SampleSecondaries (std::vector< G4DynamicParticle * > *, const G4MaterialCutsCouple *, const G4DynamicParticle *, G4double cutEnergy, G4double maxEnergy) override
 
void SetBicubicInterpolationFlag (G4bool)
 
- Public Member Functions inherited from G4eBremsstrahlungRelModel
 G4eBremsstrahlungRelModel (const G4ParticleDefinition *p=0, const G4String &nam="eBremLPM")
 
virtual ~G4eBremsstrahlungRelModel ()
 
virtual void InitialiseLocal (const G4ParticleDefinition *, G4VEmModel *masterModel) override
 
virtual G4double ComputeDEDXPerVolume (const G4Material *, const G4ParticleDefinition *, G4double kineticEnergy, G4double cutEnergy) override
 
virtual G4double ComputeCrossSectionPerAtom (const G4ParticleDefinition *, G4double tkin, G4double Z, G4double, G4double cutEnergy, G4double maxEnergy=DBL_MAX) override
 
virtual void SetupForMaterial (const G4ParticleDefinition *, const G4Material *, G4double) override
 
virtual G4double MinPrimaryEnergy (const G4Material *, const G4ParticleDefinition *, G4double cut) override
 
void SetLPMconstant (G4double val)
 
G4double LPMconstant () const
 
void SetLowestKinEnergy (G4double)
 
G4double LowestKinEnergy () const
 
- Public Member Functions inherited from G4VEmModel
 G4VEmModel (const G4String &nam)
 
virtual ~G4VEmModel ()
 
virtual void InitialiseForMaterial (const G4ParticleDefinition *, const G4Material *)
 
virtual G4double CrossSectionPerVolume (const G4Material *, const G4ParticleDefinition *, G4double kineticEnergy, G4double cutEnergy=0.0, G4double maxEnergy=DBL_MAX)
 
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 G4double GetChargeSquareRatio (const G4ParticleDefinition *, const G4Material *, G4double kineticEnergy)
 
virtual G4double GetParticleCharge (const G4ParticleDefinition *, const G4Material *, G4double kineticEnergy)
 
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 MinEnergyCut (const G4ParticleDefinition *, const G4MaterialCutsCouple *)
 
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 ComputeDXSectionPerAtom (G4double gammaEnergy) override
 
virtual G4String DirectoryPath () const
 
- Protected Member Functions inherited from G4eBremsstrahlungRelModel
void SetCurrentElement (G4int)
 
- Protected Member Functions inherited from G4VEmModel
G4ParticleChangeForLossGetParticleChangeForLoss ()
 
G4ParticleChangeForGammaGetParticleChangeForGamma ()
 
virtual G4double MaxSecondaryEnergy (const G4ParticleDefinition *, G4double kineticEnergy)
 
const G4MaterialCutsCoupleCurrentCouple () const
 
void SetCurrentElement (const G4Element *)
 

Private Member Functions

void ReadData (G4int Z, const char *path=0)
 
G4SeltzerBergerModeloperator= (const G4SeltzerBergerModel &right)=delete
 
 G4SeltzerBergerModel (const G4SeltzerBergerModel &)=delete
 

Private Attributes

G4int nwarn
 
size_t idx
 
size_t idy
 
G4bool useBicubicInterpolation
 

Static Private Attributes

static G4Physics2DVectordataSB [101] = {nullptr}
 
static G4double ylimit [101] = {0.0}
 
static G4double expnumlim = -12.
 

Additional Inherited Members

- Protected Attributes inherited from G4eBremsstrahlungRelModel
G4NistManagernist
 
const G4ParticleDefinitionparticle
 
G4ParticleDefinitiontheGamma
 
G4ParticleChangeForLossfParticleChange
 
G4double bremFactor
 
G4double particleMass
 
G4double kinEnergy
 
G4double totalEnergy
 
G4double densityFactor
 
G4double densityCorr
 
G4int currentZ
 
G4bool isElectron
 
- 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 61 of file G4SeltzerBergerModel.hh.

Constructor & Destructor Documentation

G4SeltzerBergerModel::G4SeltzerBergerModel ( const G4ParticleDefinition p = nullptr,
const G4String nam = "eBremSB" 
)
explicit

Definition at line 78 of file G4SeltzerBergerModel.cc.

References idx, idy, keV, G4eBremsstrahlungRelModel::LowestKinEnergy(), nwarn, G4VEmModel::SetLowEnergyLimit(), G4eBremsstrahlungRelModel::SetLowestKinEnergy(), and G4VEmModel::SetLPMFlag().

+ Here is the call graph for this function:

G4SeltzerBergerModel::~G4SeltzerBergerModel ( )
virtual

Definition at line 91 of file G4SeltzerBergerModel.cc.

References dataSB, and G4VEmModel::IsMaster().

+ Here is the call graph for this function:

G4SeltzerBergerModel::G4SeltzerBergerModel ( const G4SeltzerBergerModel )
privatedelete

Member Function Documentation

G4double G4SeltzerBergerModel::ComputeDXSectionPerAtom ( G4double  gammaEnergy)
overrideprotectedvirtual
G4String G4SeltzerBergerModel::DirectoryPath ( ) const
protectedvirtual

Definition at line 134 of file G4SeltzerBergerModel.cc.

Referenced by ReadData().

+ Here is the caller graph for this function:

void G4SeltzerBergerModel::Initialise ( const G4ParticleDefinition p,
const G4DataVector cuts 
)
overridevirtual

Reimplemented from G4eBremsstrahlungRelModel.

Reimplemented in G4ePolarizedBremsstrahlungModel.

Definition at line 105 of file G4SeltzerBergerModel.cc.

References dataSB, G4lrint(), G4Element::GetElementTable(), G4Element::GetNumberOfElements(), G4eBremsstrahlungRelModel::Initialise(), G4VEmModel::IsMaster(), and ReadData().

Referenced by G4ePolarizedBremsstrahlungModel::Initialise().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4SeltzerBergerModel::InitialiseForElement ( const G4ParticleDefinition ,
G4int  Z 
)
overridevirtual

Reimplemented from G4VEmModel.

Definition at line 379 of file G4SeltzerBergerModel.cc.

References dataSB, and ReadData().

Referenced by ComputeDXSectionPerAtom().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4SeltzerBergerModel& G4SeltzerBergerModel::operator= ( const G4SeltzerBergerModel right)
privatedelete
void G4SeltzerBergerModel::ReadData ( G4int  Z,
const char *  path = 0 
)
private

Definition at line 141 of file G4SeltzerBergerModel.cc.

References dataSB, DirectoryPath(), emaxlog, FatalException, G4Exception(), G4Log(), idx, idy, G4Physics2DVector::Retrieve(), G4Physics2DVector::SetBicubicInterpolation(), useBicubicInterpolation, G4Physics2DVector::Value(), and ylimit.

Referenced by Initialise(), and InitialiseForElement().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4SeltzerBergerModel::SampleSecondaries ( std::vector< G4DynamicParticle * > *  vdp,
const G4MaterialCutsCouple couple,
const G4DynamicParticle dp,
G4double  cutEnergy,
G4double  maxEnergy 
)
overridevirtual

Reimplemented from G4eBremsstrahlungRelModel.

Reimplemented in G4ePolarizedBremsstrahlungModel.

Definition at line 233 of file G4SeltzerBergerModel.cc.

References G4eBremsstrahlungRelModel::currentZ, dataSB, G4eBremsstrahlungRelModel::densityCorr, G4eBremsstrahlungRelModel::densityFactor, elowlimit, emax, epeaklimit, expnumlim, G4eBremsstrahlungRelModel::fParticleChange, fStopAndKill, G4Exception(), G4Exp(), G4Log(), G4VEmModel::GetAngularDistribution(), G4DynamicParticle::GetKineticEnergy(), G4MaterialCutsCouple::GetMaterial(), G4DynamicParticle::GetMomentumDirection(), G4ParticleDefinition::GetParticleName(), idx, idy, G4eBremsstrahlungRelModel::isElectron, JustWarning, keV, MeV, G4INCL::Math::min(), G4InuclParticleNames::nn, nwarn, G4eBremsstrahlungRelModel::particle, G4eBremsstrahlungRelModel::particleMass, G4VParticleChange::ProposeTrackStatus(), G4VEmAngularDistribution::SampleDirection(), G4VEmModel::SecondaryThreshold(), G4VEmModel::SelectRandomAtom(), G4eBremsstrahlungRelModel::SetCurrentElement(), G4ParticleChangeForLoss::SetProposedKineticEnergy(), G4ParticleChangeForLoss::SetProposedMomentumDirection(), G4eBremsstrahlungRelModel::SetupForMaterial(), G4eBremsstrahlungRelModel::theGamma, G4eBremsstrahlungRelModel::totalEnergy, twopi, G4Physics2DVector::Value(), G4VEmModel::Value(), and ylimit.

Referenced by G4ePolarizedBremsstrahlungModel::SampleSecondaries().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4SeltzerBergerModel::SetBicubicInterpolationFlag ( G4bool  val)
inline

Definition at line 106 of file G4SeltzerBergerModel.hh.

References useBicubicInterpolation.

Member Data Documentation

G4Physics2DVector * G4SeltzerBergerModel::dataSB = {nullptr}
staticprivate
G4double G4SeltzerBergerModel::expnumlim = -12.
staticprivate

Definition at line 99 of file G4SeltzerBergerModel.hh.

Referenced by ComputeDXSectionPerAtom(), and SampleSecondaries().

size_t G4SeltzerBergerModel::idx
private
size_t G4SeltzerBergerModel::idy
private
G4int G4SeltzerBergerModel::nwarn
private

Definition at line 100 of file G4SeltzerBergerModel.hh.

Referenced by G4SeltzerBergerModel(), and SampleSecondaries().

G4bool G4SeltzerBergerModel::useBicubicInterpolation
private

Definition at line 103 of file G4SeltzerBergerModel.hh.

Referenced by ReadData(), and SetBicubicInterpolationFlag().

G4double G4SeltzerBergerModel::ylimit = {0.0}
staticprivate

Definition at line 98 of file G4SeltzerBergerModel.hh.

Referenced by ReadData(), and SampleSecondaries().


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