Geant4  10.01.p03
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=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 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
 
const G4IsotopeGetCurrentIsotope () 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
CLHEP::HepRandomEngine * rndmEngineMod
 
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
 

Additional Inherited Members

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

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 84 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 257 of file G4VMscModel.hh.

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

Referenced by G4LowEWentzelVIModel::ComputeTruePathLengthLimit(), 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::ComputeGeomPathLength ( G4double  truePathLength)
virtual

Reimplemented in G4UrbanMscModel, G4GoudsmitSaundersonMscModel, G4WentzelVIModel, and G4WentzelVIRelModel.

Definition at line 153 of file G4VMscModel.cc.

Referenced by ConvertTrueToGeom().

+ Here is the caller graph for this function:

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

Definition at line 239 of file G4VMscModel.hh.

References G4SafetyHelper::ComputeSafety(), and safetyHelper.

Referenced by G4LowEWentzelVIModel::ComputeTruePathLengthLimit(), 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::ComputeTruePathLengthLimit ( const G4Track track,
G4double stepLimit 
)
virtual

Reimplemented in G4UrbanMscModel, G4GoudsmitSaundersonMscModel, G4WentzelVIModel, G4WentzelVIRelModel, and G4LowEWentzelVIModel.

Definition at line 146 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 160 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 247 of file G4VMscModel.hh.

References ComputeGeomPathLength().

Referenced by G4LowEWentzelVIModel::ComputeTruePathLengthLimit(), 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::GetDEDX ( const G4ParticleDefinition part,
G4double  kineticEnergy,
const G4MaterialCutsCouple couple 
)
inline

Definition at line 274 of file G4VMscModel.hh.

References dedx, G4VEnergyLossProcess::GetDEDX(), G4ParticleDefinition::GetPDGCharge(), G4VEmModel::inveplus, 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 309 of file G4VMscModel.hh.

References dedx, G4Material::GetDensity(), G4VEnergyLossProcess::GetKineticEnergy(), G4MaterialCutsCouple::GetMaterial(), G4ParticleDefinition::GetPDGCharge(), G4VEmModel::inveplus, 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 329 of file G4VMscModel.hh.

References ionisation.

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

Definition at line 289 of file G4VMscModel.hh.

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

Referenced by G4VMultipleScattering::AlongStepDoIt(), G4LowEWentzelVIModel::ComputeTruePathLengthLimit(), 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:

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 139 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 167 of file G4VMscModel.cc.

void G4VMscModel::SetGeomFactor ( G4double  val)
inline

Definition at line 218 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 336 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 197 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 211 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 232 of file G4VMscModel.hh.

References samplez.

void G4VMscModel::SetSkin ( G4double  val)
inline

Definition at line 204 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 225 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 168 of file G4VMscModel.hh.

Referenced by G4VMscModel(), and SetIonisation().

G4double G4VMscModel::dedx
private

Definition at line 171 of file G4VMscModel.hh.

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

G4double G4VMscModel::geomMax
protected

Definition at line 184 of file G4VMscModel.hh.

Referenced by ComputeGeomLimit().

G4double G4VMscModel::geomMin
protected

Definition at line 183 of file G4VMscModel.hh.

G4VEnergyLossProcess* G4VMscModel::ionisation
private

Definition at line 167 of file G4VMscModel.hh.

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

G4double G4VMscModel::lambdalimit
protected

Definition at line 182 of file G4VMscModel.hh.

G4double G4VMscModel::localrange
private

Definition at line 173 of file G4VMscModel.hh.

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

G4double G4VMscModel::localtkin
private

Definition at line 172 of file G4VMscModel.hh.

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

G4LossTableManager* G4VMscModel::man
private

Definition at line 169 of file G4VMscModel.hh.

Referenced by G4VMscModel(), and GetParticleChangeForMSC().

G4SafetyHelper* G4VMscModel::safetyHelper
private

Definition at line 166 of file G4VMscModel.hh.

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


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