Geant4  10.00.p02
G4VMscModel Class Reference

#include <G4VMscModel.hh>

+ Inheritance diagram for G4VMscModel:
+ Collaboration diagram for G4VMscModel:

Public Member Functions

 G4VMscModel (const G4String &nam)
 
virtual ~G4VMscModel ()
 
virtual G4double ComputeTruePathLengthLimit (const G4Track &track, G4double &stepLimit)
 
virtual G4double ComputeGeomPathLength (G4double truePathLength)
 
virtual G4double ComputeTrueStepLength (G4double geomPathLength)
 
virtual G4ThreeVectorSampleScattering (const G4ThreeVector &, G4double safety)
 
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 Initialise (const G4ParticleDefinition *, const G4DataVector &)=0
 
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 ComputeCrossSectionPerAtom (const G4ParticleDefinition *, G4double kinEnergy, G4double Z, G4double A=0., 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 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
 

Protected Member Functions

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

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
 

Private Member Functions

G4VMscModeloperator= (const G4VMscModel &right)
 
 G4VMscModel (const G4VMscModel &)
 

Private Attributes

G4SafetyHelpersafetyHelper
 
G4VEnergyLossProcessionisation
 
const G4ParticleDefinitioncurrentPart
 
G4LossTableManagerman
 
G4double dedx
 
G4double localtkin
 
G4double localrange
 

Detailed Description

Definition at line 68 of file G4VMscModel.hh.

Constructor & Destructor Documentation

G4VMscModel::G4VMscModel ( const G4String nam)

Definition at line 58 of file G4VMscModel.cc.

References cm2, currentPart, DBL_MAX, dedx, g, G4LossTableManager::Instance(), localrange, localtkin, man, and MeV.

+ Here is the call graph for this function:

G4VMscModel::~G4VMscModel ( )
virtual

Definition at line 83 of file G4VMscModel.cc.

G4VMscModel::G4VMscModel ( const G4VMscModel )
private

Member Function Documentation

G4double G4VMscModel::ComputeGeomLimit ( const G4Track track,
G4double presafety,
G4double  limit 
)
inline

Definition at line 256 of file G4VMscModel.hh.

References G4SafetyHelper::CheckNextStep(), geomMax, G4Track::GetMomentumDirection(), G4StepPoint::GetPosition(), G4Step::GetPreStepPoint(), G4Track::GetStep(), G4Track::GetVolume(), G4SafetyHelper::GetWorldVolume(), and safetyHelper.

Referenced by G4WentzelVIModel::ComputeTruePathLengthLimit(), G4WentzelVIRelModel::ComputeTruePathLengthLimit(), G4GoudsmitSaundersonMscModel::ComputeTruePathLengthLimit(), and G4UrbanMscModel::ComputeTruePathLengthLimit().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4VMscModel::ComputeGeomPathLength ( G4double  truePathLength)
virtual

Reimplemented in G4UrbanMscModel, G4GoudsmitSaundersonMscModel, G4WentzelVIModel, and G4WentzelVIRelModel.

Definition at line 152 of file G4VMscModel.cc.

Referenced by ConvertTrueToGeom().

+ Here is the caller graph for this function:

G4double G4VMscModel::ComputeSafety ( const G4ThreeVector position,
G4double  limit 
)
inline

Definition at line 238 of file G4VMscModel.hh.

References G4SafetyHelper::ComputeSafety(), and safetyHelper.

Referenced by G4WentzelVIModel::ComputeTruePathLengthLimit(), G4WentzelVIRelModel::ComputeTruePathLengthLimit(), G4GoudsmitSaundersonMscModel::ComputeTruePathLengthLimit(), and G4UrbanMscModel::ComputeTruePathLengthLimit().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4VMscModel::ComputeTruePathLengthLimit ( const G4Track track,
G4double stepLimit 
)
virtual

Reimplemented in G4UrbanMscModel, G4GoudsmitSaundersonMscModel, G4WentzelVIModel, and G4WentzelVIRelModel.

Definition at line 145 of file G4VMscModel.cc.

References DBL_MAX.

Referenced by G4VMultipleScattering::AlongStepGetPhysicalInteractionLength().

+ Here is the caller graph for this function:

G4double G4VMscModel::ComputeTrueStepLength ( G4double  geomPathLength)
virtual

Reimplemented in G4UrbanMscModel, G4GoudsmitSaundersonMscModel, G4WentzelVIModel, and G4WentzelVIRelModel.

Definition at line 159 of file G4VMscModel.cc.

Referenced by G4VMultipleScattering::AlongStepDoIt().

+ Here is the caller graph for this function:

G4double G4VMscModel::ConvertTrueToGeom ( G4double tLength,
G4double gLength 
)
inlineprotected

Definition at line 246 of file G4VMscModel.hh.

References ComputeGeomPathLength().

Referenced by G4WentzelVIModel::ComputeTruePathLengthLimit(), G4WentzelVIRelModel::ComputeTruePathLengthLimit(), G4GoudsmitSaundersonMscModel::ComputeTruePathLengthLimit(), and G4UrbanMscModel::ComputeTruePathLengthLimit().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4VMscModel::GetDEDX ( const G4ParticleDefinition part,
G4double  kineticEnergy,
const G4MaterialCutsCouple couple 
)
inline

Definition at line 273 of file G4VMscModel.hh.

References dedx, eplus, G4VEnergyLossProcess::GetDEDX(), G4ParticleDefinition::GetPDGCharge(), and ionisation.

Referenced by G4GoudsmitSaundersonMscModel::SampleScattering(), and G4UrbanMscModel::SampleScattering().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4VMscModel::GetEnergy ( const G4ParticleDefinition part,
G4double  range,
const G4MaterialCutsCouple couple 
)
inline

Definition at line 308 of file G4VMscModel.hh.

References dedx, eplus, G4Material::GetDensity(), G4VEnergyLossProcess::GetKineticEnergy(), G4MaterialCutsCouple::GetMaterial(), G4ParticleDefinition::GetPDGCharge(), ionisation, localrange, and localtkin.

Referenced by G4WentzelVIModel::ComputeGeomPathLength(), G4WentzelVIRelModel::ComputeGeomPathLength(), G4GoudsmitSaundersonMscModel::ComputeGeomPathLength(), G4UrbanMscModel::ComputeGeomPathLength(), G4WentzelVIRelModel::ComputeTrueStepLength(), G4WentzelVIModel::ComputeTrueStepLength(), G4GoudsmitSaundersonMscModel::SampleScattering(), and G4UrbanMscModel::SampleScattering().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4VEnergyLossProcess * G4VMscModel::GetIonisation ( ) const
inline

Definition at line 328 of file G4VMscModel.hh.

References ionisation.

G4double G4VMscModel::GetRange ( const G4ParticleDefinition part,
G4double  kineticEnergy,
const G4MaterialCutsCouple couple 
)
inline

Definition at line 288 of file G4VMscModel.hh.

References dedx, eplus, G4Material::GetDensity(), G4MaterialCutsCouple::GetMaterial(), G4ParticleDefinition::GetPDGCharge(), G4VEnergyLossProcess::GetRangeForLoss(), ionisation, localrange, and localtkin.

Referenced by G4VMultipleScattering::AlongStepDoIt(), G4WentzelVIRelModel::ComputeTruePathLengthLimit(), G4WentzelVIModel::ComputeTruePathLengthLimit(), G4GoudsmitSaundersonMscModel::ComputeTruePathLengthLimit(), and G4UrbanMscModel::ComputeTruePathLengthLimit().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4VMscModel::GetTransportMeanFreePath ( const G4ParticleDefinition part,
G4double  kinEnergy 
)
inline
G4VMscModel& G4VMscModel::operator= ( const G4VMscModel right)
private
G4ThreeVector & G4VMscModel::SampleScattering ( const G4ThreeVector ,
G4double  safety 
)
virtual

Reimplemented in G4UrbanMscModel, G4GoudsmitSaundersonMscModel, G4WentzelVIModel, and G4WentzelVIRelModel.

Definition at line 138 of file G4VMscModel.cc.

References fDisplacement.

Referenced by G4VMultipleScattering::AlongStepDoIt().

+ Here is the caller graph for this function:

void G4VMscModel::SampleSecondaries ( std::vector< G4DynamicParticle * > *  ,
const G4MaterialCutsCouple ,
const G4DynamicParticle ,
G4double  tmin,
G4double  tmax 
)
virtual

Implements G4VEmModel.

Reimplemented in G4DummyModel.

Definition at line 166 of file G4VMscModel.cc.

void G4VMscModel::SetGeomFactor ( G4double  val)
inline

Definition at line 217 of file G4VMscModel.hh.

References facgeom.

Referenced by G4AdjointhMultipleScattering::InitialiseProcess(), and G4VMultipleScattering::PreparePhysicsTable().

+ Here is the caller graph for this function:

void G4VMscModel::SetIonisation ( G4VEnergyLossProcess p,
const G4ParticleDefinition part 
)
inline

Definition at line 335 of file G4VMscModel.hh.

References currentPart, and ionisation.

Referenced by G4VMultipleScattering::PreparePhysicsTable(), G4VMultipleScattering::SetIonisation(), and G4VMultipleScattering::StartTracking().

+ Here is the caller graph for this function:

void G4VMscModel::SetLateralDisplasmentFlag ( G4bool  val)
inline

Definition at line 196 of file G4VMscModel.hh.

References latDisplasment.

Referenced by G4AdjointhMultipleScattering::InitialiseProcess(), and G4VMultipleScattering::PreparePhysicsTable().

+ Here is the caller graph for this function:

void G4VMscModel::SetRangeFactor ( G4double  val)
inline

Definition at line 210 of file G4VMscModel.hh.

References facrange.

Referenced by G4AdjointhMultipleScattering::InitialiseProcess(), and G4VMultipleScattering::PreparePhysicsTable().

+ Here is the caller graph for this function:

void G4VMscModel::SetSampleZ ( G4bool  val)
inline

Definition at line 231 of file G4VMscModel.hh.

References samplez.

Referenced by G4UrbanMscModel::G4UrbanMscModel().

+ Here is the caller graph for this function:

void G4VMscModel::SetSkin ( G4double  val)
inline

Definition at line 203 of file G4VMscModel.hh.

References skin.

Referenced by G4AdjointhMultipleScattering::InitialiseProcess(), and G4VMultipleScattering::PreparePhysicsTable().

+ Here is the caller graph for this function:

void G4VMscModel::SetStepLimitType ( G4MscStepLimitType  val)
inline

Definition at line 224 of file G4VMscModel.hh.

References steppingAlgorithm.

Referenced by G4AdjointhMultipleScattering::InitialiseProcess(), and G4VMultipleScattering::PreparePhysicsTable().

+ Here is the caller graph for this function:

Member Data Documentation

const G4ParticleDefinition* G4VMscModel::currentPart
private

Definition at line 167 of file G4VMscModel.hh.

Referenced by G4VMscModel(), and SetIonisation().

G4double G4VMscModel::dedx
private

Definition at line 170 of file G4VMscModel.hh.

Referenced by G4VMscModel(), GetDEDX(), GetEnergy(), and GetRange().

G4double G4VMscModel::geomMax
protected

Definition at line 183 of file G4VMscModel.hh.

Referenced by ComputeGeomLimit().

G4double G4VMscModel::geomMin
protected

Definition at line 182 of file G4VMscModel.hh.

G4VEnergyLossProcess* G4VMscModel::ionisation
private

Definition at line 166 of file G4VMscModel.hh.

Referenced by GetDEDX(), GetEnergy(), GetIonisation(), GetRange(), and SetIonisation().

G4double G4VMscModel::lambdalimit
protected

Definition at line 181 of file G4VMscModel.hh.

G4double G4VMscModel::localrange
private

Definition at line 172 of file G4VMscModel.hh.

Referenced by G4VMscModel(), GetEnergy(), and GetRange().

G4double G4VMscModel::localtkin
private

Definition at line 171 of file G4VMscModel.hh.

Referenced by G4VMscModel(), GetEnergy(), and GetRange().

G4LossTableManager* G4VMscModel::man
private

Definition at line 168 of file G4VMscModel.hh.

Referenced by G4VMscModel(), and GetParticleChangeForMSC().

G4SafetyHelper* G4VMscModel::safetyHelper
private

Definition at line 165 of file G4VMscModel.hh.

Referenced by ComputeGeomLimit(), ComputeSafety(), and GetParticleChangeForMSC().


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