Geant4  10.02.p02
G4WentzelVIRelModel Class Reference

#include <G4WentzelVIRelModel.hh>

+ Inheritance diagram for G4WentzelVIRelModel:
+ Collaboration diagram for G4WentzelVIRelModel:

Public Member Functions

 G4WentzelVIRelModel (G4bool combined=true)
 
virtual ~G4WentzelVIRelModel ()
 
virtual void Initialise (const G4ParticleDefinition *, const G4DataVector &)
 
void StartTracking (G4Track *)
 
virtual G4double ComputeCrossSectionPerAtom (const G4ParticleDefinition *, G4double KineticEnergy, G4double AtomicNumber, G4double AtomicWeight=0., G4double cut=DBL_MAX, G4double emax=DBL_MAX)
 
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=DBL_MAX)
 
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 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 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 *)
 
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)
 

Private Member Functions

G4double ComputeXSectionPerVolume ()
 
void SetupParticle (const G4ParticleDefinition *)
 
void DefineMaterial (const G4MaterialCutsCouple *)
 
G4WentzelVIRelModeloperator= (const G4WentzelVIRelModel &right)
 
 G4WentzelVIRelModel (const G4WentzelVIRelModel &)
 

Private Attributes

G4LossTableManagertheManager
 
G4NistManagerfNistManager
 
G4ParticleChangeForMSCfParticleChange
 
G4WentzelVIRelXSectionwokvi
 
G4PowfG4pow
 
const G4DataVectorcurrentCuts
 
G4double tlimitminfix
 
G4double invsqrt12
 
G4double preKinEnergy
 
G4double tPathLength
 
G4double zPathLength
 
G4double lambdaeff
 
G4double currentRange
 
G4double xtsec
 
std::vector< G4doublexsecn
 
std::vector< G4doubleprob
 
G4int nelments
 
G4double numlimit
 
G4int currentMaterialIndex
 
const G4MaterialCutsCouplecurrentCouple
 
const G4MaterialcurrentMaterial
 
G4double cosThetaMin
 
G4double cosThetaMax
 
G4double cosTetMaxNuc
 
const G4ParticleDefinitionparticle
 
G4double lowEnergyLimit
 
G4bool isCombined
 
G4bool inside
 
G4bool singleScatteringMode
 

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
 
- Static Protected Attributes inherited from G4VEmModel
static const G4double inveplus = 1.0/CLHEP::eplus
 

Detailed Description

Definition at line 69 of file G4WentzelVIRelModel.hh.

Constructor & Destructor Documentation

G4WentzelVIRelModel::G4WentzelVIRelModel ( G4bool  combined = true)

Definition at line 73 of file G4WentzelVIRelModel.cc.

References cosTetMaxNuc, cosThetaMax, currentCuts, currentMaterial, currentMaterialIndex, currentRange, eV, fG4pow, fNistManager, fParticleChange, G4Pow::GetInstance(), G4NistManager::Instance(), G4LossTableManager::Instance(), invsqrt12, lambdaeff, lowEnergyLimit, mm, nelments, particle, preKinEnergy, prob, theManager, tlimitminfix, tPathLength, wokvi, xsecn, xtsec, and zPathLength.

+ Here is the call graph for this function:

G4WentzelVIRelModel::~G4WentzelVIRelModel ( )
virtual

Definition at line 106 of file G4WentzelVIRelModel.cc.

References wokvi.

G4WentzelVIRelModel::G4WentzelVIRelModel ( const G4WentzelVIRelModel )
private

Member Function Documentation

G4double G4WentzelVIRelModel::ComputeCrossSectionPerAtom ( const G4ParticleDefinition p,
G4double  KineticEnergy,
G4double  AtomicNumber,
G4double  AtomicWeight = 0.,
G4double  cut = DBL_MAX,
G4double  emax = DBL_MAX 
)
virtual
G4double G4WentzelVIRelModel::ComputeGeomPathLength ( G4double  truePathLength)
virtual

Reimplemented from G4VMscModel.

Definition at line 286 of file G4WentzelVIRelModel.cc.

References cosTetMaxNuc, currentCouple, currentMaterial, currentRange, DBL_MAX, e1, G4Exp(), G4VMscModel::GetEnergy(), G4VMscModel::GetTransportMeanFreePath(), lambdaeff, numlimit, particle, preKinEnergy, G4WentzelVIRelXSection::SetupKinematic(), tPathLength, wokvi, and zPathLength.

+ Here is the call graph for this function:

G4double G4WentzelVIRelModel::ComputeTrueStepLength ( G4double  geomStepLength)
virtual

Reimplemented from G4VMscModel.

Definition at line 318 of file G4WentzelVIRelModel.cc.

References ComputeXSectionPerVolume(), cosTetMaxNuc, cosThetaMin, currentCouple, currentMaterial, currentRange, DBL_MAX, e1, G4Log(), G4VMscModel::GetEnergy(), G4VMscModel::GetTransportMeanFreePath(), lambdaeff, numlimit, particle, preKinEnergy, G4WentzelVIRelXSection::SetupKinematic(), singleScatteringMode, tPathLength, wokvi, xtsec, and zPathLength.

+ Here is the call graph for this function:

G4double G4WentzelVIRelModel::ComputeXSectionPerVolume ( )
private

Definition at line 593 of file G4WentzelVIRelModel.cc.

References G4WentzelVIRelXSection::ComputeElectronCrossSection(), G4WentzelVIRelXSection::ComputeNuclearCrossSection(), G4WentzelVIRelXSection::ComputeTransportCrossSectionPerAtom(), cosTetMaxNuc, cosThetaMin, currentMaterial, currentMaterialIndex, density, G4lrint(), G4Material::GetElementVector(), G4Material::GetNumberOfElements(), G4Material::GetVecNbOfAtomsPerVolume(), nelments, prob, G4WentzelVIRelXSection::SetupTarget(), wokvi, xsecn, and xtsec.

Referenced by ComputeTrueStepLength().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4WentzelVIRelModel::DefineMaterial ( const G4MaterialCutsCouple cup)
inlineprivate

Definition at line 161 of file G4WentzelVIRelModel.hh.

References currentCouple, currentMaterial, currentMaterialIndex, G4MaterialCutsCouple::GetIndex(), G4MaterialCutsCouple::GetMaterial(), and G4VEmModel::SetCurrentCouple().

Referenced by ComputeCrossSectionPerAtom(), and ComputeTruePathLengthLimit().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4WentzelVIRelModel::Initialise ( const G4ParticleDefinition p,
const G4DataVector cuts 
)
virtual

Implements G4VEmModel.

Definition at line 113 of file G4WentzelVIRelModel.cc.

References cosThetaMax, currentCuts, currentRange, fParticleChange, G4VMscModel::GetParticleChangeForMSC(), G4WentzelVIRelXSection::Initialise(), isCombined, pi, G4VEmModel::PolarAngleLimit(), SetupParticle(), tet, and wokvi.

+ Here is the call graph for this function:

G4WentzelVIRelModel& G4WentzelVIRelModel::operator= ( const G4WentzelVIRelModel right)
private
void G4WentzelVIRelModel::SetupParticle ( const G4ParticleDefinition p)
inlineprivate

Definition at line 173 of file G4WentzelVIRelModel.hh.

References particle, G4WentzelVIRelXSection::SetupParticle(), and wokvi.

Referenced by ComputeCrossSectionPerAtom(), Initialise(), and StartTracking().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4WentzelVIRelModel::StartTracking ( G4Track track)
virtual

Reimplemented from G4VEmModel.

Definition at line 177 of file G4WentzelVIRelModel.cc.

References G4DynamicParticle::GetDefinition(), G4Track::GetDynamicParticle(), inside, SetupParticle(), and G4VEmModel::StartTracking().

+ Here is the call graph for this function:

Member Data Documentation

G4double G4WentzelVIRelModel::cosThetaMax
private
G4double G4WentzelVIRelModel::cosThetaMin
private
const G4MaterialCutsCouple* G4WentzelVIRelModel::currentCouple
private
const G4DataVector* G4WentzelVIRelModel::currentCuts
private

Definition at line 117 of file G4WentzelVIRelModel.hh.

Referenced by G4WentzelVIRelModel(), and Initialise().

G4int G4WentzelVIRelModel::currentMaterialIndex
private
G4double G4WentzelVIRelModel::currentRange
private
G4Pow* G4WentzelVIRelModel::fG4pow
private

Definition at line 115 of file G4WentzelVIRelModel.hh.

Referenced by G4WentzelVIRelModel().

G4NistManager* G4WentzelVIRelModel::fNistManager
private

Definition at line 112 of file G4WentzelVIRelModel.hh.

Referenced by ComputeCrossSectionPerAtom(), and G4WentzelVIRelModel().

G4ParticleChangeForMSC* G4WentzelVIRelModel::fParticleChange
private

Definition at line 113 of file G4WentzelVIRelModel.hh.

Referenced by G4WentzelVIRelModel(), Initialise(), and SampleScattering().

G4bool G4WentzelVIRelModel::inside
private

Definition at line 153 of file G4WentzelVIRelModel.hh.

Referenced by ComputeTruePathLengthLimit(), and StartTracking().

G4double G4WentzelVIRelModel::invsqrt12
private

Definition at line 120 of file G4WentzelVIRelModel.hh.

Referenced by G4WentzelVIRelModel(), and SampleScattering().

G4bool G4WentzelVIRelModel::isCombined
private

Definition at line 152 of file G4WentzelVIRelModel.hh.

Referenced by Initialise().

G4double G4WentzelVIRelModel::lambdaeff
private
G4double G4WentzelVIRelModel::lowEnergyLimit
private
G4int G4WentzelVIRelModel::nelments
private

Definition at line 133 of file G4WentzelVIRelModel.hh.

Referenced by ComputeXSectionPerVolume(), and G4WentzelVIRelModel().

G4double G4WentzelVIRelModel::numlimit
private

Definition at line 135 of file G4WentzelVIRelModel.hh.

Referenced by ComputeGeomPathLength(), and ComputeTrueStepLength().

G4double G4WentzelVIRelModel::preKinEnergy
private
std::vector<G4double> G4WentzelVIRelModel::prob
private
G4bool G4WentzelVIRelModel::singleScatteringMode
private
G4LossTableManager* G4WentzelVIRelModel::theManager
private

Definition at line 111 of file G4WentzelVIRelModel.hh.

Referenced by G4WentzelVIRelModel().

G4double G4WentzelVIRelModel::tlimitminfix
private
G4double G4WentzelVIRelModel::tPathLength
private
std::vector<G4double> G4WentzelVIRelModel::xsecn
private
G4double G4WentzelVIRelModel::xtsec
private
G4double G4WentzelVIRelModel::zPathLength
private

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