Geant4  10.01.p01
G4VMultipleScattering Class Referenceabstract

#include <G4VMultipleScattering.hh>

+ Inheritance diagram for G4VMultipleScattering:
+ Collaboration diagram for G4VMultipleScattering:

Public Member Functions

 G4VMultipleScattering (const G4String &name="msc", G4ProcessType type=fElectromagnetic)
 
virtual ~G4VMultipleScattering ()
 
virtual G4bool IsApplicable (const G4ParticleDefinition &p)=0
 
virtual void PrintInfo ()=0
 
void PreparePhysicsTable (const G4ParticleDefinition &)
 
void BuildPhysicsTable (const G4ParticleDefinition &)
 
void PrintInfoDefinition ()
 
G4bool StorePhysicsTable (const G4ParticleDefinition *, const G4String &directory, G4bool ascii=false)
 
G4bool RetrievePhysicsTable (const G4ParticleDefinition *, const G4String &directory, G4bool ascii)
 
void StartTracking (G4Track *)
 
G4double AlongStepGetPhysicalInteractionLength (const G4Track &, G4double previousStepSize, G4double currentMinimalStep, G4double &currentSafety, G4GPILSelection *selection)
 
G4double PostStepGetPhysicalInteractionLength (const G4Track &, G4double previousStepSize, G4ForceCondition *condition)
 
G4VParticleChangeAlongStepDoIt (const G4Track &, const G4Step &)
 
G4VParticleChangePostStepDoIt (const G4Track &, const G4Step &)
 
G4double ContinuousStepLimit (const G4Track &track, G4double previousStepSize, G4double currentMinimalStep, G4double &currentSafety)
 
G4VEmModelSelectModel (G4double kinEnergy, size_t idx)
 
void AddEmModel (G4int order, G4VEmModel *, const G4Region *region=0)
 
void SetEmModel (G4VMscModel *, G4int index=1)
 
G4VMscModelEmModel (G4int index=1) const
 
G4VEmModelGetModelByIndex (G4int idx=0, G4bool ver=false) const
 
void SetIonisation (G4VEnergyLossProcess *)
 
G4bool LateralDisplasmentFlag () const
 
void SetLateralDisplasmentFlag (G4bool val)
 
G4double Skin () const
 
void SetSkin (G4double val)
 
G4double RangeFactor () const
 
void SetRangeFactor (G4double val)
 
G4double GeomFactor () const
 
G4double PolarAngleLimit () const
 
G4MscStepLimitType StepLimitType () const
 
void SetStepLimitType (G4MscStepLimitType val)
 
G4double LowestKinEnergy () const
 
void SetLowestKinEnergy (G4double val)
 
const G4ParticleDefinitionFirstParticle () const
 
- Public Member Functions inherited from G4VContinuousDiscreteProcess
 G4VContinuousDiscreteProcess (const G4String &, G4ProcessType aType=fNotDefined)
 
 G4VContinuousDiscreteProcess (G4VContinuousDiscreteProcess &)
 
virtual ~G4VContinuousDiscreteProcess ()
 
virtual G4double AtRestGetPhysicalInteractionLength (const G4Track &, G4ForceCondition *)
 
virtual G4VParticleChangeAtRestDoIt (const G4Track &, const G4Step &)
 
- Public Member Functions inherited from G4VProcess
 G4VProcess (const G4String &aName="NoName", G4ProcessType aType=fNotDefined)
 
 G4VProcess (const G4VProcess &right)
 
virtual ~G4VProcess ()
 
G4int operator== (const G4VProcess &right) const
 
G4int operator!= (const G4VProcess &right) const
 
G4double GetCurrentInteractionLength () const
 
void SetPILfactor (G4double value)
 
G4double GetPILfactor () const
 
G4double AlongStepGPIL (const G4Track &track, G4double previousStepSize, G4double currentMinimumStep, G4double &proposedSafety, G4GPILSelection *selection)
 
G4double AtRestGPIL (const G4Track &track, G4ForceCondition *condition)
 
G4double PostStepGPIL (const G4Track &track, G4double previousStepSize, G4ForceCondition *condition)
 
const G4StringGetPhysicsTableFileName (const G4ParticleDefinition *, const G4String &directory, const G4String &tableName, G4bool ascii=false)
 
const G4StringGetProcessName () const
 
G4ProcessType GetProcessType () const
 
void SetProcessType (G4ProcessType)
 
G4int GetProcessSubType () const
 
void SetProcessSubType (G4int)
 
virtual void EndTracking ()
 
virtual void SetProcessManager (const G4ProcessManager *)
 
virtual const G4ProcessManagerGetProcessManager ()
 
virtual void ResetNumberOfInteractionLengthLeft ()
 
G4double GetNumberOfInteractionLengthLeft () const
 
G4double GetTotalNumberOfInteractionLengthTraversed () const
 
G4bool isAtRestDoItIsEnabled () const
 
G4bool isAlongStepDoItIsEnabled () const
 
G4bool isPostStepDoItIsEnabled () const
 
virtual void DumpInfo () const
 
void SetVerboseLevel (G4int value)
 
G4int GetVerboseLevel () const
 
virtual void SetMasterProcess (G4VProcess *masterP)
 
const G4VProcessGetMasterProcess () const
 
virtual void BuildWorkerPhysicsTable (const G4ParticleDefinition &part)
 
virtual void PrepareWorkerPhysicsTable (const G4ParticleDefinition &)
 

Protected Member Functions

virtual void InitialiseProcess (const G4ParticleDefinition *)=0
 
G4double GetMeanFreePath (const G4Track &track, G4double, G4ForceCondition *condition)
 
G4double GetContinuousStepLimit (const G4Track &track, G4double previousStepSize, G4double currentMinimalStep, G4double &currentSafety)
 
- Protected Member Functions inherited from G4VContinuousDiscreteProcess
void SetGPILSelection (G4GPILSelection selection)
 
G4GPILSelection GetGPILSelection () const
 
- Protected Member Functions inherited from G4VProcess
void SubtractNumberOfInteractionLengthLeft (G4double previousStepSize)
 
void ClearNumberOfInteractionLengthLeft ()
 

Protected Attributes

G4ParticleChangeForMSC fParticleChange
 
- Protected Attributes inherited from G4VProcess
const G4ProcessManageraProcessManager
 
G4VParticleChangepParticleChange
 
G4ParticleChange aParticleChange
 
G4double theNumberOfInteractionLengthLeft
 
G4double currentInteractionLength
 
G4double theInitialNumberOfInteractionLength
 
G4String theProcessName
 
G4String thePhysicsTableFileName
 
G4ProcessType theProcessType
 
G4int theProcessSubType
 
G4double thePILfactor
 
G4bool enableAtRestDoIt
 
G4bool enableAlongStepDoIt
 
G4bool enablePostStepDoIt
 
G4int verboseLevel
 

Private Member Functions

 G4VMultipleScattering (G4VMultipleScattering &)
 
G4VMultipleScatteringoperator= (const G4VMultipleScattering &right)
 

Private Attributes

G4EmModelManagermodelManager
 
G4LossTableManageremManager
 
G4EmParameterstheParameters
 
G4SafetyHelpersafetyHelper
 
std::vector< G4VMscModel * > mscModels
 
G4int numberOfModels
 
const G4ParticleDefinitionfirstParticle
 
const G4ParticleDefinitioncurrParticle
 
G4MscStepLimitType stepLimit
 
G4double facrange
 
G4double lowestKinEnergy
 
G4bool latDisplacement
 
G4bool isIon
 
G4bool actStepLimit
 
G4bool actFacRange
 
G4bool actLatDisp
 
G4VMscModelcurrentModel
 
G4VEnergyLossProcessfIonisation
 
G4double physStepLimit
 
G4double tPathLength
 
G4double gPathLength
 
G4ThreeVector fNewPosition
 
G4ThreeVector fNewDirection
 
G4bool fPositionChanged
 
G4bool fDispBeyondSafety
 
G4bool isActive
 

Additional Inherited Members

- Static Public Member Functions inherited from G4VProcess
static const G4StringGetProcessTypeName (G4ProcessType)
 

Detailed Description

Definition at line 92 of file G4VMultipleScattering.hh.

Constructor & Destructor Documentation

G4VMultipleScattering::G4VMultipleScattering ( const G4String name = "msc",
G4ProcessType  type = fElectromagnetic 
)
G4VMultipleScattering::~G4VMultipleScattering ( )
virtual

Definition at line 132 of file G4VMultipleScattering.cc.

References G4LossTableManager::DeRegister(), emManager, and modelManager.

+ Here is the call graph for this function:

G4VMultipleScattering::G4VMultipleScattering ( G4VMultipleScattering )
private

Member Function Documentation

G4double G4VMultipleScattering::AlongStepGetPhysicalInteractionLength ( const G4Track track,
G4double  previousStepSize,
G4double  currentMinimalStep,
G4double currentSafety,
G4GPILSelection selection 
)
virtual

Reimplemented from G4VContinuousDiscreteProcess.

Definition at line 408 of file G4VMultipleScattering.cc.

References CandidateForSelection, G4VMscModel::ComputeTruePathLengthLimit(), currentModel, geomMin, G4MaterialCutsCouple::GetIndex(), G4Track::GetKineticEnergy(), G4Track::GetMaterialCutsCouple(), G4Track::GetParticleDefinition(), G4ParticleDefinition::GetPDGMass(), gPathLength, isActive, G4VEmModel::IsActive(), isIon, lowestKinEnergy, NotCandidateForSelection, numberOfModels, physStepLimit, SelectModel(), and tPathLength.

Referenced by GetContinuousStepLimit().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4VMultipleScattering::ContinuousStepLimit ( const G4Track track,
G4double  previousStepSize,
G4double  currentMinimalStep,
G4double currentSafety 
)

Definition at line 635 of file G4VMultipleScattering.cc.

References GetContinuousStepLimit().

+ Here is the call graph for this function:

G4VMscModel * G4VMultipleScattering::EmModel ( G4int  index = 1) const

Definition at line 165 of file G4VMultipleScattering.cc.

References mscModels.

Referenced by G4MuMultipleScattering::InitialiseProcess(), G4eMultipleScattering::InitialiseProcess(), and G4hMultipleScattering::InitialiseProcess().

+ Here is the caller graph for this function:

const G4ParticleDefinition * G4VMultipleScattering::FirstParticle ( ) const
inline

Definition at line 406 of file G4VMultipleScattering.hh.

References firstParticle.

G4double G4VMultipleScattering::GeomFactor ( ) const
inline

Definition at line 359 of file G4VMultipleScattering.hh.

References G4EmParameters::MscGeomFactor(), and theParameters.

Referenced by G4AdjointhMultipleScattering::InitialiseProcess(), G4eMultipleScattering::PrintInfo(), and G4hMultipleScattering::PrintInfo().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4VMultipleScattering::GetContinuousStepLimit ( const G4Track track,
G4double  previousStepSize,
G4double  currentMinimalStep,
G4double currentSafety 
)
protectedvirtual

Implements G4VContinuousDiscreteProcess.

Definition at line 619 of file G4VMultipleScattering.cc.

References AlongStepGetPhysicalInteractionLength(), and NotCandidateForSelection.

Referenced by ContinuousStepLimit().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4VMultipleScattering::GetMeanFreePath ( const G4Track track,
G4double  ,
G4ForceCondition condition 
)
protectedvirtual

Implements G4VContinuousDiscreteProcess.

Definition at line 647 of file G4VMultipleScattering.cc.

References DBL_MAX, and Forced.

G4VEmModel * G4VMultipleScattering::GetModelByIndex ( G4int  idx = 0,
G4bool  ver = false 
) const

Definition at line 175 of file G4VMultipleScattering.cc.

References G4EmModelManager::GetModel(), and modelManager.

Referenced by BuildPhysicsTable(), SetIonisation(), and StartTracking().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

virtual void G4VMultipleScattering::InitialiseProcess ( const G4ParticleDefinition )
protectedpure virtual

Implemented in G4AdjointhMultipleScattering, G4hMultipleScattering, G4MuMultipleScattering, and G4eMultipleScattering.

Referenced by PreparePhysicsTable().

+ Here is the caller graph for this function:

virtual G4bool G4VMultipleScattering::IsApplicable ( const G4ParticleDefinition p)
pure virtual
G4bool G4VMultipleScattering::LateralDisplasmentFlag ( ) const
inline

Definition at line 313 of file G4VMultipleScattering.hh.

References latDisplacement.

Referenced by G4AdjointhMultipleScattering::InitialiseProcess(), G4eMultipleScattering::PrintInfo(), G4MuMultipleScattering::PrintInfo(), G4hMultipleScattering::PrintInfo(), and G4AdjointhMultipleScattering::PrintInfo().

+ Here is the caller graph for this function:

G4double G4VMultipleScattering::LowestKinEnergy ( ) const
inline

Definition at line 392 of file G4VMultipleScattering.hh.

References lowestKinEnergy.

G4VMultipleScattering& G4VMultipleScattering::operator= ( const G4VMultipleScattering right)
private
G4double G4VMultipleScattering::PolarAngleLimit ( ) const
inline

Definition at line 366 of file G4VMultipleScattering.hh.

References G4EmParameters::MscThetaLimit(), and theParameters.

Referenced by G4MuMultipleScattering::PrintInfo().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4VParticleChange * G4VMultipleScattering::PostStepDoIt ( const G4Track track,
const G4Step  
)
virtual

Reimplemented from G4VContinuousDiscreteProcess.

Definition at line 605 of file G4VMultipleScattering.cc.

References fNewPosition, fParticleChange, fPositionChanged, G4ParticleChangeForMSC::Initialize(), G4ParticleChangeForMSC::ProposePosition(), G4SafetyHelper::ReLocateWithinVolume(), and safetyHelper.

+ Here is the call graph for this function:

G4double G4VMultipleScattering::PostStepGetPhysicalInteractionLength ( const G4Track ,
G4double  previousStepSize,
G4ForceCondition condition 
)
virtual

Reimplemented from G4VContinuousDiscreteProcess.

Definition at line 464 of file G4VMultipleScattering.cc.

References DBL_MAX, and Forced.

void G4VMultipleScattering::PreparePhysicsTable ( const G4ParticleDefinition part)
virtual

Reimplemented from G4VProcess.

Definition at line 183 of file G4VMultipleScattering.cc.

References actFacRange, actLatDisp, actStepLimit, currentModel, currParticle, G4Electron::Electron(), emManager, facrange, fDispBeyondSafety, G4ParticleTable::FindParticle(), firstParticle, fMinimal, G4cout, G4endl, G4ProcessManager::GetAlongStepProcessVector(), G4VProcess::GetMasterProcess(), G4EmModelManager::GetModel(), G4ParticleDefinition::GetParticleName(), G4ParticleTable::GetParticleTable(), G4ParticleDefinition::GetParticleType(), G4ParticleDefinition::GetPDGMass(), G4ParticleDefinition::GetProcessManager(), G4VProcess::GetProcessName(), G4TransportationManager::GetSafetyHelper(), G4TransportationManager::GetTransportationManager(), G4VEmModel::HighEnergyLimit(), G4EmModelManager::Initialise(), G4SafetyHelper::InitialiseHelper(), InitialiseProcess(), isIon, latDisplacement, G4EmParameters::LatDisplacementBeyondSafety(), G4EmParameters::LateralDisplacement(), G4EmParameters::MaxKinEnergy(), MeV, G4INCL::Math::min(), modelManager, G4EmParameters::MscGeomFactor(), G4EmParameters::MscRangeFactor(), G4EmParameters::MscSkin(), G4EmParameters::MscStepLimitType(), G4EmParameters::MscThetaLimit(), G4EmParameters::MuHadLateralDisplacement(), n, G4EmModelManager::NumberOfModels(), numberOfModels, G4LossTableManager::PreparePhysicsTable(), safetyHelper, G4VMscModel::SetGeomFactor(), G4VEmModel::SetHighEnergyLimit(), G4VMscModel::SetIonisation(), G4VMscModel::SetLateralDisplasmentFlag(), SetLateralDisplasmentFlag(), G4VEmModel::SetMasterThread(), G4VEmModel::SetPolarAngleLimit(), G4VMscModel::SetRangeFactor(), SetRangeFactor(), G4VMscModel::SetSkin(), G4VMscModel::SetStepLimitType(), SetStepLimitType(), G4VProcess::SetVerboseLevel(), G4ProcessVector::size(), stepLimit, theParameters, G4EmParameters::Verbose(), G4VProcess::verboseLevel, and G4EmParameters::WorkerVerbose().

+ Here is the call graph for this function:

virtual void G4VMultipleScattering::PrintInfo ( )
pure virtual

Implemented in G4AdjointhMultipleScattering, G4hMultipleScattering, G4MuMultipleScattering, and G4eMultipleScattering.

Referenced by BuildPhysicsTable(), and PrintInfoDefinition().

+ Here is the caller graph for this function:

void G4VMultipleScattering::PrintInfoDefinition ( )

Definition at line 361 of file G4VMultipleScattering.cc.

References G4EmModelManager::DumpModelList(), firstParticle, G4cout, G4endl, G4ParticleDefinition::GetParticleName(), G4VProcess::GetProcessName(), G4VProcess::GetProcessSubType(), modelManager, PrintInfo(), and G4VProcess::verboseLevel.

+ Here is the call graph for this function:

G4double G4VMultipleScattering::RangeFactor ( ) const
inline

Definition at line 342 of file G4VMultipleScattering.hh.

References facrange.

Referenced by G4AdjointhMultipleScattering::InitialiseProcess(), G4eMultipleScattering::PrintInfo(), G4MuMultipleScattering::PrintInfo(), G4hMultipleScattering::PrintInfo(), and G4AdjointhMultipleScattering::PrintInfo().

+ Here is the caller graph for this function:

G4bool G4VMultipleScattering::RetrievePhysicsTable ( const G4ParticleDefinition ,
const G4String directory,
G4bool  ascii 
)
virtual

Reimplemented from G4VProcess.

Definition at line 701 of file G4VMultipleScattering.cc.

G4VEmModel * G4VMultipleScattering::SelectModel ( G4double  kinEnergy,
size_t  idx 
)
inline

Definition at line 306 of file G4VMultipleScattering.hh.

References modelManager, and G4EmModelManager::SelectModel().

Referenced by AlongStepGetPhysicalInteractionLength(), G4EmCalculator::FindEmModel(), and G4EmCalculator::FindLambdaTable().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4VMultipleScattering::SetEmModel ( G4VMscModel p,
G4int  index = 1 
)
void G4VMultipleScattering::SetIonisation ( G4VEnergyLossProcess p)

Definition at line 710 of file G4VMultipleScattering.cc.

References firstParticle, GetModelByIndex(), numberOfModels, and G4VMscModel::SetIonisation().

+ Here is the call graph for this function:

void G4VMultipleScattering::SetLateralDisplasmentFlag ( G4bool  val)
inline

Definition at line 320 of file G4VMultipleScattering.hh.

References actLatDisp, and latDisplacement.

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

+ Here is the caller graph for this function:

void G4VMultipleScattering::SetLowestKinEnergy ( G4double  val)
inline

Definition at line 399 of file G4VMultipleScattering.hh.

References lowestKinEnergy.

void G4VMultipleScattering::SetRangeFactor ( G4double  val)
inline

Definition at line 349 of file G4VMultipleScattering.hh.

References actFacRange, and facrange.

Referenced by G4EmLowEPPhysics::ConstructProcess(), G4EmLivermorePhysics::ConstructProcess(), G4EmPenelopePhysics::ConstructProcess(), G4EmStandardPhysics_option4::ConstructProcess(), and PreparePhysicsTable().

+ Here is the caller graph for this function:

void G4VMultipleScattering::SetSkin ( G4double  val)
inline

Definition at line 335 of file G4VMultipleScattering.hh.

References G4EmParameters::SetMscSkin(), and theParameters.

+ Here is the call graph for this function:

G4double G4VMultipleScattering::Skin ( ) const
inline

Definition at line 328 of file G4VMultipleScattering.hh.

References G4EmParameters::MscSkin(), and theParameters.

Referenced by G4AdjointhMultipleScattering::InitialiseProcess(), G4eMultipleScattering::PrintInfo(), G4hMultipleScattering::PrintInfo(), and G4AdjointhMultipleScattering::PrintInfo().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4VMultipleScattering::StartTracking ( G4Track track)
virtual

Reimplemented from G4VProcess.

Definition at line 375 of file G4VMultipleScattering.cc.

References currentModel, currParticle, emManager, fIonisation, G4LossTableManager::GetEnergyLossProcess(), GetModelByIndex(), G4Track::GetParticleDefinition(), numberOfModels, G4VMscModel::SetIonisation(), and G4VEmModel::StartTracking().

+ Here is the call graph for this function:

G4MscStepLimitType G4VMultipleScattering::StepLimitType ( ) const
inline

Definition at line 373 of file G4VMultipleScattering.hh.

References stepLimit.

Referenced by G4AdjointhMultipleScattering::InitialiseProcess(), G4eMultipleScattering::PrintInfo(), G4MuMultipleScattering::PrintInfo(), G4hMultipleScattering::PrintInfo(), and G4AdjointhMultipleScattering::PrintInfo().

+ Here is the caller graph for this function:

G4bool G4VMultipleScattering::StorePhysicsTable ( const G4ParticleDefinition part,
const G4String directory,
G4bool  ascii = false 
)
virtual

Member Data Documentation

G4bool G4VMultipleScattering::actFacRange
private
G4bool G4VMultipleScattering::actLatDisp
private
G4bool G4VMultipleScattering::actStepLimit
private
G4VMscModel* G4VMultipleScattering::currentModel
private
const G4ParticleDefinition* G4VMultipleScattering::currParticle
private

Definition at line 265 of file G4VMultipleScattering.hh.

Referenced by AlongStepDoIt(), PreparePhysicsTable(), and StartTracking().

G4LossTableManager* G4VMultipleScattering::emManager
private
G4double G4VMultipleScattering::facrange
private
G4bool G4VMultipleScattering::fDispBeyondSafety
private

Definition at line 297 of file G4VMultipleScattering.hh.

Referenced by AlongStepDoIt(), and PreparePhysicsTable().

G4VEnergyLossProcess* G4VMultipleScattering::fIonisation
private

Definition at line 288 of file G4VMultipleScattering.hh.

Referenced by G4VMultipleScattering(), and StartTracking().

G4ThreeVector G4VMultipleScattering::fNewDirection
private

Definition at line 295 of file G4VMultipleScattering.hh.

Referenced by AlongStepDoIt().

G4ThreeVector G4VMultipleScattering::fNewPosition
private

Definition at line 294 of file G4VMultipleScattering.hh.

Referenced by AlongStepDoIt(), and PostStepDoIt().

G4ParticleChangeForMSC G4VMultipleScattering::fParticleChange
protected

Definition at line 282 of file G4VMultipleScattering.hh.

Referenced by AlongStepDoIt(), G4VMultipleScattering(), and PostStepDoIt().

G4bool G4VMultipleScattering::fPositionChanged
private

Definition at line 296 of file G4VMultipleScattering.hh.

Referenced by AlongStepDoIt(), G4VMultipleScattering(), and PostStepDoIt().

G4double G4VMultipleScattering::gPathLength
private
G4bool G4VMultipleScattering::isActive
private
G4bool G4VMultipleScattering::isIon
private
G4bool G4VMultipleScattering::latDisplacement
private
G4double G4VMultipleScattering::lowestKinEnergy
private
std::vector<G4VMscModel*> G4VMultipleScattering::mscModels
private

Definition at line 261 of file G4VMultipleScattering.hh.

Referenced by EmModel(), and SetEmModel().

G4int G4VMultipleScattering::numberOfModels
private
G4double G4VMultipleScattering::physStepLimit
private
G4SafetyHelper* G4VMultipleScattering::safetyHelper
private
G4MscStepLimitType G4VMultipleScattering::stepLimit
private

Definition at line 267 of file G4VMultipleScattering.hh.

Referenced by PreparePhysicsTable(), SetStepLimitType(), and StepLimitType().

G4EmParameters* G4VMultipleScattering::theParameters
private
G4double G4VMultipleScattering::tPathLength
private

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