Geant4  10.00.p02
G4GoudsmitSaundersonMscModel Class Reference

#include <G4GoudsmitSaundersonMscModel.hh>

+ Inheritance diagram for G4GoudsmitSaundersonMscModel:
+ Collaboration diagram for G4GoudsmitSaundersonMscModel:

Public Member Functions

 G4GoudsmitSaundersonMscModel (const G4String &nam="GoudsmitSaunderson")
 
virtual ~G4GoudsmitSaundersonMscModel ()
 
virtual void Initialise (const G4ParticleDefinition *, const G4DataVector &)
 
void StartTracking (G4Track *)
 
virtual G4double ComputeCrossSectionPerAtom (const G4ParticleDefinition *particle, G4double KineticEnergy, G4double AtomicNumber, G4double, G4double, G4double)
 
virtual G4ThreeVectorSampleScattering (const G4ThreeVector &, G4double safety)
 
virtual G4double ComputeTruePathLengthLimit (const G4Track &track, G4double &currentMinimalStep)
 
virtual G4double ComputeGeomPathLength (G4double truePathLength)
 
virtual G4double ComputeTrueStepLength (G4double geomStepLength)
 
- Public Member Functions inherited from G4VMscModel
 G4VMscModel (const G4String &nam)
 
virtual ~G4VMscModel ()
 
virtual void SampleSecondaries (std::vector< G4DynamicParticle * > *, const G4MaterialCutsCouple *, const G4DynamicParticle *, G4double tmin, G4double tmax)
 
void SetStepLimitType (G4MscStepLimitType)
 
void SetLateralDisplasmentFlag (G4bool val)
 
void SetRangeFactor (G4double)
 
void SetGeomFactor (G4double)
 
void SetSkin (G4double)
 
void SetSampleZ (G4bool)
 
G4VEnergyLossProcessGetIonisation () const
 
void SetIonisation (G4VEnergyLossProcess *, const G4ParticleDefinition *part)
 
G4double ComputeSafety (const G4ThreeVector &position, G4double limit)
 
G4double ComputeGeomLimit (const G4Track &, G4double &presafety, G4double limit)
 
G4double GetDEDX (const G4ParticleDefinition *part, G4double kineticEnergy, const G4MaterialCutsCouple *couple)
 
G4double GetRange (const G4ParticleDefinition *part, G4double kineticEnergy, const G4MaterialCutsCouple *couple)
 
G4double GetEnergy (const G4ParticleDefinition *part, G4double range, const G4MaterialCutsCouple *couple)
 
G4double GetTransportMeanFreePath (const G4ParticleDefinition *part, G4double kinEnergy)
 
- 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 ComputeDEDXPerVolume (const G4Material *, const G4ParticleDefinition *, G4double kineticEnergy, G4double cutEnergy=DBL_MAX)
 
virtual G4double CrossSectionPerVolume (const G4Material *, const G4ParticleDefinition *, G4double kineticEnergy, 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 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
 

Private Member Functions

void SampleCosineTheta (G4double, G4double, G4double &, G4double &)
 
void CalculateIntegrals (const G4ParticleDefinition *, G4double, G4double, G4double &, G4double &)
 
void LoadELSEPAXSections ()
 
void SetParticle (const G4ParticleDefinition *p)
 
G4double GetLambda (G4double)
 
G4GoudsmitSaundersonMscModeloperator= (const G4GoudsmitSaundersonMscModel &right)
 
 G4GoudsmitSaundersonMscModel (const G4GoudsmitSaundersonMscModel &)
 

Private Attributes

G4double lowKEnergy
 
G4double highKEnergy
 
G4double currentKinEnergy
 
G4double currentRange
 
G4double smallstep
 
G4double tlimitminfix
 
G4double skindepth
 
G4double fr
 
G4double rangeinit
 
G4double masslimite
 
G4double tgeom
 
G4double par1
 
G4double par2
 
G4double par3
 
G4double zPathLength
 
G4double truePathLength
 
G4double tausmall
 
G4double taulim
 
G4double tlimit
 
G4double tlimitmin
 
G4double geommin
 
G4double geombig
 
G4double charge
 
G4double lambdalimit
 
G4double tPathLength
 
G4double stepmin
 
G4double lambda0
 
G4double lambda1
 
G4double lambda11
 
G4double mass
 
G4int currentMaterialIndex
 
G4bool firstStep
 
G4bool inside
 
G4bool insideskin
 
G4GoudsmitSaundersonTableGSTable
 
G4LossTableManagertheManager
 
const G4ParticleDefinitionparticle
 
G4ParticleChangeForMSCfParticleChange
 
const G4MaterialCutsCouplecurrentCouple
 

Static Private Attributes

static G4double ener [106] = {-1.}
 
static G4double TCSE [103][106]
 
static G4double FTCSE [103][106]
 
static G4double TCSP [103][106]
 
static G4double FTCSP [103][106]
 

Additional Inherited Members

- Protected Member Functions inherited from G4VMscModel
G4ParticleChangeForMSCGetParticleChangeForMSC (const G4ParticleDefinition *p=0)
 
G4double ConvertTrueToGeom (G4double &tLength, G4double &gLength)
 
- Protected Member Functions inherited from G4VEmModel
G4ParticleChangeForLossGetParticleChangeForLoss ()
 
G4ParticleChangeForGammaGetParticleChangeForGamma ()
 
virtual G4double MaxSecondaryEnergy (const G4ParticleDefinition *, G4double kineticEnergy)
 
const G4MaterialCutsCoupleCurrentCouple () const
 
void SetCurrentElement (const G4Element *)
 
- Protected Attributes inherited from G4VMscModel
G4double facrange
 
G4double facgeom
 
G4double facsafety
 
G4double skin
 
G4double dtrl
 
G4double lambdalimit
 
G4double geomMin
 
G4double geomMax
 
G4ThreeVector fDisplacement
 
G4MscStepLimitType steppingAlgorithm
 
G4bool samplez
 
G4bool latDisplasment
 
- 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 73 of file G4GoudsmitSaundersonMscModel.hh.

Constructor & Destructor Documentation

G4GoudsmitSaundersonMscModel::G4GoudsmitSaundersonMscModel ( const G4String nam = "GoudsmitSaunderson")
G4GoudsmitSaundersonMscModel::~G4GoudsmitSaundersonMscModel ( )
virtual

Definition at line 126 of file G4GoudsmitSaundersonMscModel.cc.

References GSTable.

G4GoudsmitSaundersonMscModel::G4GoudsmitSaundersonMscModel ( const G4GoudsmitSaundersonMscModel )
private

Member Function Documentation

void G4GoudsmitSaundersonMscModel::CalculateIntegrals ( const G4ParticleDefinition p,
G4double  Z,
G4double  kinEnergy,
G4double Sig0,
G4double Sig1 
)
private

Definition at line 350 of file G4GoudsmitSaundersonMscModel.cc.

References barn, G4Electron::Electron(), ener, eV, FTCSE, FTCSP, G4Exp(), G4Log(), highKEnergy, lowKEnergy, G4Positron::Positron(), TCSE, and TCSP.

Referenced by ComputeCrossSectionPerAtom(), and SampleScattering().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4GoudsmitSaundersonMscModel::ComputeCrossSectionPerAtom ( const G4ParticleDefinition particle,
G4double  KineticEnergy,
G4double  AtomicNumber,
G4double  ,
G4double  ,
G4double   
)
virtual

Reimplemented from G4VEmModel.

Definition at line 142 of file G4GoudsmitSaundersonMscModel.cc.

References CalculateIntegrals(), highKEnergy, and lowKEnergy.

+ Here is the call graph for this function:

G4double G4GoudsmitSaundersonMscModel::ComputeGeomPathLength ( G4double  truePathLength)
virtual

Reimplemented from G4VMscModel.

Definition at line 650 of file G4GoudsmitSaundersonMscModel.cc.

References currentCouple, currentKinEnergy, currentRange, G4VMscModel::dtrl, firstStep, G4Exp(), G4Log(), G4UniformRand, G4VMscModel::GetEnergy(), G4VMscModel::GetTransportMeanFreePath(), insideskin, lambda1, lambda11, mass, par1, par2, par3, particle, G4VMscModel::samplez, stepmin, taulim, tausmall, tlimitminfix, tPathLength, and zPathLength.

+ Here is the call graph for this function:

G4double G4GoudsmitSaundersonMscModel::ComputeTrueStepLength ( G4double  geomStepLength)
virtual

Reimplemented from G4VMscModel.

Definition at line 735 of file G4GoudsmitSaundersonMscModel.cc.

References currentRange, G4Exp(), G4Log(), insideskin, lambda1, par1, par3, tausmall, tlimitminfix, tPathLength, and zPathLength.

+ Here is the call graph for this function:

G4double G4GoudsmitSaundersonMscModel::GetLambda ( G4double  )
inlineprivate
void G4GoudsmitSaundersonMscModel::Initialise ( const G4ParticleDefinition p,
const G4DataVector  
)
virtual

Implements G4VEmModel.

Definition at line 131 of file G4GoudsmitSaundersonMscModel.cc.

References fParticleChange, G4VMscModel::GetParticleChangeForMSC(), SetParticle(), G4VMscModel::skin, skindepth, and stepmin.

+ Here is the call graph for this function:

void G4GoudsmitSaundersonMscModel::LoadELSEPAXSections ( )
private

Definition at line 768 of file G4GoudsmitSaundersonMscModel.cc.

References ener, FatalException, FTCSE, FTCSP, G4Exception(), G4Log(), TCSE, and TCSP.

Referenced by G4GoudsmitSaundersonMscModel().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4GoudsmitSaundersonMscModel& G4GoudsmitSaundersonMscModel::operator= ( const G4GoudsmitSaundersonMscModel right)
private
void G4GoudsmitSaundersonMscModel::SampleCosineTheta ( G4double  lambdan,
G4double  scrA,
G4double cost,
G4double sint 
)
private

Definition at line 318 of file G4GoudsmitSaundersonMscModel.cc.

References G4Log(), G4UniformRand, GSTable, G4GoudsmitSaundersonTable::SampleTheta(), and scrA.

Referenced by SampleScattering().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4GoudsmitSaundersonMscModel::SetParticle ( const G4ParticleDefinition p)
inlineprivate

Definition at line 151 of file G4GoudsmitSaundersonMscModel.hh.

References charge, eplus, G4ParticleDefinition::GetPDGCharge(), G4ParticleDefinition::GetPDGMass(), mass, and particle.

Referenced by Initialise(), and StartTracking().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4GoudsmitSaundersonMscModel::StartTracking ( G4Track track)
virtual

Reimplemented from G4VEmModel.

Definition at line 444 of file G4GoudsmitSaundersonMscModel.cc.

References firstStep, geombig, G4DynamicParticle::GetDefinition(), G4Track::GetDynamicParticle(), inside, insideskin, SetParticle(), and tlimit.

+ Here is the call graph for this function:

Member Data Documentation

G4double G4GoudsmitSaundersonMscModel::charge
private

Definition at line 125 of file G4GoudsmitSaundersonMscModel.hh.

Referenced by G4GoudsmitSaundersonMscModel(), and SetParticle().

const G4MaterialCutsCouple* G4GoudsmitSaundersonMscModel::currentCouple
private
G4double G4GoudsmitSaundersonMscModel::currentKinEnergy
private
G4int G4GoudsmitSaundersonMscModel::currentMaterialIndex
private
G4double G4GoudsmitSaundersonMscModel::currentRange
private
G4double G4GoudsmitSaundersonMscModel::ener = {-1.}
staticprivate
G4bool G4GoudsmitSaundersonMscModel::firstStep
private
G4ParticleChangeForMSC* G4GoudsmitSaundersonMscModel::fParticleChange
private

Definition at line 138 of file G4GoudsmitSaundersonMscModel.hh.

Referenced by Initialise(), and SampleScattering().

G4double G4GoudsmitSaundersonMscModel::fr
private
G4double G4GoudsmitSaundersonMscModel::FTCSE
staticprivate

Definition at line 143 of file G4GoudsmitSaundersonMscModel.hh.

Referenced by CalculateIntegrals(), and LoadELSEPAXSections().

G4double G4GoudsmitSaundersonMscModel::FTCSP
staticprivate

Definition at line 145 of file G4GoudsmitSaundersonMscModel.hh.

Referenced by CalculateIntegrals(), and LoadELSEPAXSections().

G4double G4GoudsmitSaundersonMscModel::geombig
private
G4double G4GoudsmitSaundersonMscModel::geommin
private
G4GoudsmitSaundersonTable* G4GoudsmitSaundersonMscModel::GSTable
private
G4double G4GoudsmitSaundersonMscModel::highKEnergy
private
G4bool G4GoudsmitSaundersonMscModel::inside
private
G4bool G4GoudsmitSaundersonMscModel::insideskin
private
G4double G4GoudsmitSaundersonMscModel::lambda0
private
G4double G4GoudsmitSaundersonMscModel::lambda11
private
G4double G4GoudsmitSaundersonMscModel::lambdalimit
private
G4double G4GoudsmitSaundersonMscModel::lowKEnergy
private
G4double G4GoudsmitSaundersonMscModel::mass
private
G4double G4GoudsmitSaundersonMscModel::masslimite
private
G4double G4GoudsmitSaundersonMscModel::par1
private
G4double G4GoudsmitSaundersonMscModel::par2
private
G4double G4GoudsmitSaundersonMscModel::par3
private
const G4ParticleDefinition* G4GoudsmitSaundersonMscModel::particle
private
G4double G4GoudsmitSaundersonMscModel::rangeinit
private
G4double G4GoudsmitSaundersonMscModel::skindepth
private
G4double G4GoudsmitSaundersonMscModel::smallstep
private
G4double G4GoudsmitSaundersonMscModel::stepmin
private
G4double G4GoudsmitSaundersonMscModel::taulim
private
G4double G4GoudsmitSaundersonMscModel::tausmall
private
G4double G4GoudsmitSaundersonMscModel::TCSE
staticprivate

Definition at line 142 of file G4GoudsmitSaundersonMscModel.hh.

Referenced by CalculateIntegrals(), and LoadELSEPAXSections().

G4double G4GoudsmitSaundersonMscModel::TCSP
staticprivate

Definition at line 144 of file G4GoudsmitSaundersonMscModel.hh.

Referenced by CalculateIntegrals(), and LoadELSEPAXSections().

G4double G4GoudsmitSaundersonMscModel::tgeom
private
G4LossTableManager* G4GoudsmitSaundersonMscModel::theManager
private

Definition at line 136 of file G4GoudsmitSaundersonMscModel.hh.

Referenced by G4GoudsmitSaundersonMscModel().

G4double G4GoudsmitSaundersonMscModel::tlimit
private
G4double G4GoudsmitSaundersonMscModel::tlimitmin
private
G4double G4GoudsmitSaundersonMscModel::tlimitminfix
private
G4double G4GoudsmitSaundersonMscModel::tPathLength
private
G4double G4GoudsmitSaundersonMscModel::truePathLength
private

Definition at line 123 of file G4GoudsmitSaundersonMscModel.hh.

Referenced by G4GoudsmitSaundersonMscModel().

G4double G4GoudsmitSaundersonMscModel::zPathLength
private

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