Geant4  10.01.p02
G4WentzelVIModel Class Reference

#include <G4WentzelVIModel.hh>

+ Inheritance diagram for G4WentzelVIModel:
+ Collaboration diagram for G4WentzelVIModel:

Public Member Functions

 G4WentzelVIModel (G4bool comb=true, const G4String &nam="WentzelVIUni")
 
virtual ~G4WentzelVIModel ()
 
virtual void Initialise (const G4ParticleDefinition *, const G4DataVector &)
 
virtual void InitialiseLocal (const G4ParticleDefinition *, G4VEmModel *masterModel)
 
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)
 
void SetFixedCut (G4double)
 
G4double GetFixedCut () const
 
G4WentzelOKandVIxSectionGetWVICrossSection ()
 
void SetUseSecondMoment (G4bool)
 
G4bool UseSecondMoment () const
 
G4PhysicsTableGetSecondMomentTable ()
 
G4double SecondMoment (const G4ParticleDefinition *, const G4MaterialCutsCouple *, G4double kineticEnergy)
 
void SetSingleScatteringFactor (G4double)
 
- 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 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
 
const G4IsotopeGetCurrentIsotope () const
 

Protected Member Functions

void DefineMaterial (const G4MaterialCutsCouple *)
 
- 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

G4WentzelOKandVIxSectionwokvi
 
G4double tlimitminfix
 
G4double ssFactor
 
G4double invssFactor
 
G4double preKinEnergy
 
G4double tPathLength
 
G4double zPathLength
 
G4double lambdaeff
 
G4double currentRange
 
G4double cosTetMaxNuc
 
G4int currentMaterialIndex
 
const G4MaterialCutsCouplecurrentCouple
 
const G4MaterialcurrentMaterial
 
const G4ParticleDefinitionparticle
 
G4bool inside
 
G4bool singleScatteringMode
 
- 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
CLHEP::HepRandomEngine * rndmEngineMod
 
G4ElementDatafElementData
 
G4VParticleChangepParticleChange
 
G4PhysicsTablexSectionTable
 
const std::vector< G4double > * theDensityFactor
 
const std::vector< G4int > * theDensityIdx
 
size_t idxTable
 

Private Member Functions

G4double ComputeTransportXSectionPerVolume (G4double cosTheta)
 
G4double ComputeSecondMoment (const G4ParticleDefinition *, G4double kineticEnergy)
 
void SetupParticle (const G4ParticleDefinition *)
 
G4WentzelVIModeloperator= (const G4WentzelVIModel &right)
 
 G4WentzelVIModel (const G4WentzelVIModel &)
 

Private Attributes

G4ParticleChangeForMSCfParticleChange
 
const G4DataVectorcurrentCuts
 
G4double invsqrt12
 
G4double fixedCut
 
G4double effKinEnergy
 
G4double cosThetaMin
 
G4double cosThetaMax
 
G4PhysicsTablefSecondMoments
 
size_t idx2
 
G4double xtsec
 
std::vector< G4doublexsecn
 
std::vector< G4doubleprob
 
G4int nelments
 
G4double numlimit
 
G4double lowEnergyLimit
 
G4bool isCombined
 
G4bool useSecondMoment
 

Additional Inherited Members

- Static Protected Attributes inherited from G4VEmModel
static const G4double inveplus = 1.0/CLHEP::eplus
 

Detailed Description

Definition at line 66 of file G4WentzelVIModel.hh.

Constructor & Destructor Documentation

G4WentzelVIModel::G4WentzelVIModel ( G4bool  comb = true,
const G4String nam = "WentzelVIUni" 
)

Definition at line 76 of file G4WentzelVIModel.cc.

References cosTetMaxNuc, currentCuts, currentMaterial, currentMaterialIndex, currentRange, effKinEnergy, eV, fixedCut, fParticleChange, invsqrt12, lambdaeff, lowEnergyLimit, mm, nelments, particle, preKinEnergy, prob, SetSingleScatteringFactor(), tlimitminfix, tPathLength, wokvi, xsecn, xtsec, and zPathLength.

+ Here is the call graph for this function:

G4WentzelVIModel::~G4WentzelVIModel ( )
virtual

Definition at line 113 of file G4WentzelVIModel.cc.

References fSecondMoments, G4VEmModel::IsMaster(), and wokvi.

+ Here is the call graph for this function:

G4WentzelVIModel::G4WentzelVIModel ( const G4WentzelVIModel )
private

Member Function Documentation

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

Reimplemented from G4VEmModel.

Definition at line 211 of file G4WentzelVIModel.cc.

References G4WentzelOKandVIxSection::ComputeTransportCrossSectionPerAtom(), cosTetMaxNuc, G4VEmModel::CurrentCouple(), currentMaterial, DefineMaterial(), FatalException, fixedCut, G4Exception(), G4lrint(), lowEnergyLimit, particle, G4WentzelOKandVIxSection::SetupKinematic(), SetupParticle(), G4WentzelOKandVIxSection::SetupTarget(), and wokvi.

+ Here is the call graph for this function:

G4double G4WentzelVIModel::ComputeGeomPathLength ( G4double  truePathLength)
virtual

Reimplemented from G4VMscModel.

Definition at line 349 of file G4WentzelVIModel.cc.

References ComputeTransportXSectionPerVolume(), cosTetMaxNuc, cosThetaMin, currentCouple, currentMaterial, currentRange, DBL_MAX, e1, effKinEnergy, G4Exp(), G4VMscModel::GetEnergy(), G4VMscModel::GetTransportMeanFreePath(), lambdaeff, minNCollisions, numlimit, particle, preKinEnergy, G4WentzelOKandVIxSection::SetupKinematic(), singleScatteringMode, tPathLength, wokvi, xtsec, and zPathLength.

+ Here is the call graph for this function:

G4double G4WentzelVIModel::ComputeSecondMoment ( const G4ParticleDefinition p,
G4double  kineticEnergy 
)
private

Definition at line 753 of file G4WentzelVIModel.cc.

References G4WentzelOKandVIxSection::ComputeSecondTransportMoment(), cosTetMaxNuc, currentMaterial, currentMaterialIndex, fixedCut, G4lrint(), G4Material::GetElementVector(), G4Material::GetNumberOfElements(), G4Material::GetVecNbOfAtomsPerVolume(), G4WentzelOKandVIxSection::SetupKinematic(), SetupParticle(), G4WentzelOKandVIxSection::SetupTarget(), and wokvi.

Referenced by Initialise(), and SecondMoment().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4WentzelVIModel::ComputeTransportXSectionPerVolume ( G4double  cosTheta)
private

Definition at line 698 of file G4WentzelVIModel.cc.

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

Referenced by ComputeGeomPathLength(), and ComputeTrueStepLength().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4WentzelVIModel::ComputeTrueStepLength ( G4double  geomStepLength)
virtual
void G4WentzelVIModel::DefineMaterial ( const G4MaterialCutsCouple cup)
inlineprotected

Definition at line 202 of file G4WentzelVIModel.hh.

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

Referenced by ComputeCrossSectionPerAtom(), G4LowEWentzelVIModel::ComputeTruePathLengthLimit(), ComputeTruePathLengthLimit(), Initialise(), and SecondMoment().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4WentzelVIModel::GetFixedCut ( ) const
inline

Definition at line 232 of file G4WentzelVIModel.hh.

References fixedCut.

G4PhysicsTable * G4WentzelVIModel::GetSecondMomentTable ( )
inline

Definition at line 260 of file G4WentzelVIModel.hh.

References fSecondMoments.

Referenced by InitialiseLocal().

+ Here is the caller graph for this function:

G4WentzelOKandVIxSection * G4WentzelVIModel::GetWVICrossSection ( )
inline

Definition at line 239 of file G4WentzelVIModel.hh.

References wokvi.

void G4WentzelVIModel::InitialiseLocal ( const G4ParticleDefinition ,
G4VEmModel masterModel 
)
virtual

Reimplemented from G4VEmModel.

Definition at line 202 of file G4WentzelVIModel.cc.

References fSecondMoments, and GetSecondMomentTable().

+ Here is the call graph for this function:

G4WentzelVIModel& G4WentzelVIModel::operator= ( const G4WentzelVIModel right)
private
G4double G4WentzelVIModel::SecondMoment ( const G4ParticleDefinition part,
const G4MaterialCutsCouple couple,
G4double  kineticEnergy 
)
inline

Definition at line 268 of file G4WentzelVIModel.hh.

References ComputeSecondMoment(), currentMaterialIndex, DefineMaterial(), fSecondMoments, idx2, and useSecondMoment.

Referenced by SampleScattering().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4WentzelVIModel::SetFixedCut ( G4double  val)
inline

Definition at line 225 of file G4WentzelVIModel.hh.

References fixedCut.

void G4WentzelVIModel::SetSingleScatteringFactor ( G4double  val)

Definition at line 783 of file G4WentzelVIModel.cc.

References invssFactor, and ssFactor.

Referenced by G4LowEWentzelVIModel::G4LowEWentzelVIModel(), and G4WentzelVIModel().

+ Here is the caller graph for this function:

void G4WentzelVIModel::SetupParticle ( const G4ParticleDefinition p)
inlineprivate

Definition at line 214 of file G4WentzelVIModel.hh.

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

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

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4WentzelVIModel::SetUseSecondMoment ( G4bool  val)
inline

Definition at line 246 of file G4WentzelVIModel.hh.

References useSecondMoment.

void G4WentzelVIModel::StartTracking ( G4Track track)
virtual

Reimplemented from G4VEmModel.

Definition at line 244 of file G4WentzelVIModel.cc.

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

+ Here is the call graph for this function:

G4bool G4WentzelVIModel::UseSecondMoment ( ) const
inline

Definition at line 253 of file G4WentzelVIModel.hh.

References useSecondMoment.

Member Data Documentation

G4double G4WentzelVIModel::cosThetaMax
private

Definition at line 177 of file G4WentzelVIModel.hh.

Referenced by ComputeTruePathLengthLimit(), and Initialise().

G4double G4WentzelVIModel::cosThetaMin
private
const G4DataVector* G4WentzelVIModel::currentCuts
private

Definition at line 167 of file G4WentzelVIModel.hh.

Referenced by G4WentzelVIModel(), and Initialise().

G4int G4WentzelVIModel::currentMaterialIndex
protected
G4double G4WentzelVIModel::effKinEnergy
private
G4ParticleChangeForMSC* G4WentzelVIModel::fParticleChange
private

Definition at line 166 of file G4WentzelVIModel.hh.

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

G4PhysicsTable* G4WentzelVIModel::fSecondMoments
private
size_t G4WentzelVIModel::idx2
private

Definition at line 180 of file G4WentzelVIModel.hh.

Referenced by SecondMoment().

G4bool G4WentzelVIModel::inside
protected

Definition at line 161 of file G4WentzelVIModel.hh.

G4double G4WentzelVIModel::invsqrt12
private

Definition at line 169 of file G4WentzelVIModel.hh.

Referenced by G4WentzelVIModel(), and SampleScattering().

G4double G4WentzelVIModel::invssFactor
protected

Definition at line 143 of file G4WentzelVIModel.hh.

Referenced by ComputeTruePathLengthLimit(), and SetSingleScatteringFactor().

G4bool G4WentzelVIModel::isCombined
private

Definition at line 194 of file G4WentzelVIModel.hh.

Referenced by Initialise().

G4double G4WentzelVIModel::lowEnergyLimit
private
G4int G4WentzelVIModel::nelments
private

Definition at line 186 of file G4WentzelVIModel.hh.

Referenced by ComputeTransportXSectionPerVolume(), and G4WentzelVIModel().

G4double G4WentzelVIModel::numlimit
private

Definition at line 188 of file G4WentzelVIModel.hh.

Referenced by ComputeGeomPathLength(), and ComputeTrueStepLength().

std::vector<G4double> G4WentzelVIModel::prob
private
G4double G4WentzelVIModel::ssFactor
protected

Definition at line 142 of file G4WentzelVIModel.hh.

Referenced by ComputeTrueStepLength(), and SetSingleScatteringFactor().

G4double G4WentzelVIModel::tlimitminfix
protected
G4double G4WentzelVIModel::tPathLength
protected
G4bool G4WentzelVIModel::useSecondMoment
private
std::vector<G4double> G4WentzelVIModel::xsecn
private
G4double G4WentzelVIModel::zPathLength
protected

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