Geant4  10.02
XWrapperContinuousDiscreteProcess Class Reference

#include <XWrapperContinuousDiscreteProcess.hh>

+ Inheritance diagram for XWrapperContinuousDiscreteProcess:
+ Collaboration diagram for XWrapperContinuousDiscreteProcess:

Public Member Functions

 XWrapperContinuousDiscreteProcess (const G4String &processName="XWrapperContinuousDiscreteProcess")
 
 XWrapperContinuousDiscreteProcess (const G4String &processName, G4VContinuousDiscreteProcess *)
 
 XWrapperContinuousDiscreteProcess (const G4String &processName, G4ProcessType)
 
G4int ItHasToWork (const G4Track &)
 
virtual ~XWrapperContinuousDiscreteProcess ()
 
void RegisterProcess (G4VContinuousDiscreteProcess *)
 
void RegisterProcess (G4VContinuousDiscreteProcess *, G4int, G4int aBool=0)
 
G4VContinuousDiscreteProcessGetRegisteredProcess ()
 
G4double GetDensity (const G4Track &)
 
G4double GetDensityPreviousStep (const G4Track &)
 
void SetNucleiOrElectronFlag (G4int)
 
G4int GetNucleiOrElectronFlag ()
 
virtual G4VParticleChangePostStepDoIt (const G4Track &, const G4Step &)
 
virtual G4VParticleChangeAlongStepDoIt (const G4Track &, const G4Step &)
 
virtual G4VParticleChangeAtRestDoIt (const G4Track &aTrack, const G4Step &aStep)
 
virtual G4double PostStepGetPhysicalInteractionLength (const G4Track &, G4double, G4ForceCondition *)
 
virtual G4double AlongStepGetPhysicalInteractionLength (const G4Track &, G4double, G4double, G4double &, G4GPILSelection *)
 
virtual G4double AtRestGetPhysicalInteractionLength (const G4Track &aTrack, G4ForceCondition *condition)
 
virtual void StartTracking (G4Track *aTrack)
 
virtual void EndTracking ()
 
virtual void SetProcessManager (const G4ProcessManager *aPM)
 
virtual const G4ProcessManagerGetProcessManager ()
 
virtual void ResetNumberOfInteractionLengthLeft ()
 
virtual void DumpInfo () const
 
virtual void SetMasterProcess (G4VProcess *masterP)
 
virtual void BuildWorkerPhysicsTable (const G4ParticleDefinition &aPD)
 
virtual void PrepareWorkerPhysicsTable (const G4ParticleDefinition &aPD)
 
virtual G4bool IsApplicable (const G4ParticleDefinition &aPD)
 
virtual void BuildPhysicsTable (const G4ParticleDefinition &aPD)
 
virtual void PreparePhysicsTable (const G4ParticleDefinition &aPD)
 
virtual G4bool StorePhysicsTable (const G4ParticleDefinition *aPD, const G4String &aString, G4bool aBool)
 
virtual G4bool RetrievePhysicsTable (const G4ParticleDefinition *aPD, const G4String &aString, G4bool aBool)
 
- Public Member Functions inherited from G4VContinuousDiscreteProcess
 G4VContinuousDiscreteProcess (const G4String &, G4ProcessType aType=fNotDefined)
 
 G4VContinuousDiscreteProcess (G4VContinuousDiscreteProcess &)
 
virtual ~G4VContinuousDiscreteProcess ()
 
- 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)
 
G4double GetNumberOfInteractionLengthLeft () const
 
G4double GetTotalNumberOfInteractionLengthTraversed () const
 
G4bool isAtRestDoItIsEnabled () const
 
G4bool isAlongStepDoItIsEnabled () const
 
G4bool isPostStepDoItIsEnabled () const
 
void SetVerboseLevel (G4int value)
 
G4int GetVerboseLevel () const
 
const G4VProcessGetMasterProcess () const
 

Protected Member Functions

virtual G4double GetMeanFreePath (const G4Track &, G4double, G4ForceCondition *)
 
virtual G4double GetContinuousStepLimit (const G4Track &, G4double, G4double, G4double &)
 
- 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 ()
 

Private Member Functions

 XWrapperContinuousDiscreteProcess (XWrapperContinuousDiscreteProcess &)
 
XWrapperContinuousDiscreteProcessoperator= (const XWrapperContinuousDiscreteProcess &right)
 

Private Attributes

G4int bBothOrCrystalOrDetectorPhysics
 
G4int bNucleiOrElectronFlag
 
G4VContinuousDiscreteProcessfRegisteredProcess
 
const G4Step theStepCopy
 
G4ParticleChangeForNothingfParticleChangeForNothing
 

Additional Inherited Members

- Static Public Member Functions inherited from G4VProcess
static const G4StringGetProcessTypeName (G4ProcessType)
 
- 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
 

Detailed Description

Definition at line 38 of file XWrapperContinuousDiscreteProcess.hh.

Constructor & Destructor Documentation

XWrapperContinuousDiscreteProcess::XWrapperContinuousDiscreteProcess ( const G4String processName = "XWrapperContinuousDiscreteProcess")

Definition at line 44 of file XWrapperContinousDiscreteProcess.cc.

References bBothOrCrystalOrDetectorPhysics, bNucleiOrElectronFlag, fParticleChangeForNothing, G4cout, G4endl, G4VProcess::GetProcessName(), and G4VProcess::verboseLevel.

+ Here is the call graph for this function:

XWrapperContinuousDiscreteProcess::XWrapperContinuousDiscreteProcess ( const G4String processName,
G4ProcessType  aProcessType 
)

Definition at line 77 of file XWrapperContinousDiscreteProcess.cc.

References bBothOrCrystalOrDetectorPhysics, bNucleiOrElectronFlag, fParticleChangeForNothing, G4cout, G4endl, G4VProcess::GetProcessName(), G4VProcess::theProcessType, and G4VProcess::verboseLevel.

+ Here is the call graph for this function:

XWrapperContinuousDiscreteProcess::~XWrapperContinuousDiscreteProcess ( )
virtual

Definition at line 91 of file XWrapperContinousDiscreteProcess.cc.

XWrapperContinuousDiscreteProcess::XWrapperContinuousDiscreteProcess ( XWrapperContinuousDiscreteProcess right)
private

Definition at line 98 of file XWrapperContinousDiscreteProcess.cc.

Member Function Documentation

G4VParticleChange * XWrapperContinuousDiscreteProcess::AlongStepDoIt ( const G4Track aTrack,
const G4Step aStep 
)
virtual

Reimplemented from G4VContinuousDiscreteProcess.

Definition at line 373 of file XWrapperContinousDiscreteProcess.cc.

References G4VContinuousDiscreteProcess::AlongStepDoIt(), fParticleChangeForNothing, fRegisteredProcess, GetDensity(), G4Step::GetStepLength(), ItHasToWork(), and G4VProcess::pParticleChange.

+ Here is the call graph for this function:

G4double XWrapperContinuousDiscreteProcess::AlongStepGetPhysicalInteractionLength ( const G4Track aTrack,
G4double  previousStepSize,
G4double  currentMinimumStep,
G4double currentSafety,
G4GPILSelection selection 
)
virtual

Reimplemented from G4VContinuousDiscreteProcess.

Definition at line 321 of file XWrapperContinousDiscreteProcess.cc.

References G4VContinuousDiscreteProcess::AlongStepGetPhysicalInteractionLength(), DBL_MAX, fRegisteredProcess, GetDensityPreviousStep(), and ItHasToWork().

+ Here is the call graph for this function:

virtual G4VParticleChange* XWrapperContinuousDiscreteProcess::AtRestDoIt ( const G4Track aTrack,
const G4Step aStep 
)
inlinevirtual

Reimplemented from G4VContinuousDiscreteProcess.

Definition at line 88 of file XWrapperContinuousDiscreteProcess.hh.

References G4VContinuousDiscreteProcess::AtRestDoIt().

+ Here is the call graph for this function:

virtual G4double XWrapperContinuousDiscreteProcess::AtRestGetPhysicalInteractionLength ( const G4Track aTrack,
G4ForceCondition condition 
)
inlinevirtual

Reimplemented from G4VContinuousDiscreteProcess.

Definition at line 104 of file XWrapperContinuousDiscreteProcess.hh.

References G4VContinuousDiscreteProcess::AtRestGetPhysicalInteractionLength().

+ Here is the call graph for this function:

virtual void XWrapperContinuousDiscreteProcess::BuildPhysicsTable ( const G4ParticleDefinition aPD)
inlinevirtual

Reimplemented from G4VProcess.

Definition at line 137 of file XWrapperContinuousDiscreteProcess.hh.

References G4VProcess::BuildPhysicsTable().

+ Here is the call graph for this function:

virtual void XWrapperContinuousDiscreteProcess::BuildWorkerPhysicsTable ( const G4ParticleDefinition aPD)
inlinevirtual

Reimplemented from G4VProcess.

Definition at line 128 of file XWrapperContinuousDiscreteProcess.hh.

References G4VProcess::BuildWorkerPhysicsTable().

+ Here is the call graph for this function:

virtual void XWrapperContinuousDiscreteProcess::DumpInfo ( ) const
inlinevirtual

Reimplemented from G4VProcess.

Definition at line 119 of file XWrapperContinuousDiscreteProcess.hh.

References G4VProcess::DumpInfo().

+ Here is the call graph for this function:

virtual void XWrapperContinuousDiscreteProcess::EndTracking ( )
inlinevirtual

Reimplemented from G4VProcess.

Definition at line 112 of file XWrapperContinuousDiscreteProcess.hh.

References G4VProcess::EndTracking().

+ Here is the call graph for this function:

G4double XWrapperContinuousDiscreteProcess::GetContinuousStepLimit ( const G4Track ,
G4double  ,
G4double  ,
G4double  
)
protectedvirtual

Implements G4VContinuousDiscreteProcess.

Definition at line 395 of file XWrapperContinousDiscreteProcess.cc.

References DBL_MAX.

G4double XWrapperContinuousDiscreteProcess::GetDensity ( const G4Track aTrack)

Definition at line 171 of file XWrapperContinousDiscreteProcess.cc.

References bNucleiOrElectronFlag, ExExChParticleUserInfo::GetElectronDensity(), ExExChParticleUserInfo::GetNucleiDensity(), G4Track::GetUserInformation(), and ItHasToWork().

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

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double XWrapperContinuousDiscreteProcess::GetDensityPreviousStep ( const G4Track aTrack)

Definition at line 200 of file XWrapperContinousDiscreteProcess.cc.

References bNucleiOrElectronFlag, ExExChParticleUserInfo::GetElectronDensityPreviousStep(), ExExChParticleUserInfo::GetNucleiDensityPreviousStep(), G4Track::GetUserInformation(), and ItHasToWork().

Referenced by AlongStepGetPhysicalInteractionLength(), and PostStepGetPhysicalInteractionLength().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double XWrapperContinuousDiscreteProcess::GetMeanFreePath ( const G4Track aTrack,
G4double  previousStepSize,
G4ForceCondition condition 
)
protectedvirtual

Implements G4VContinuousDiscreteProcess.

Definition at line 254 of file XWrapperContinousDiscreteProcess.cc.

References DBL_MAX, fRegisteredProcess, ItHasToWork(), and G4VContinuousDiscreteProcess::PostStepGetPhysicalInteractionLength().

+ Here is the call graph for this function:

G4int XWrapperContinuousDiscreteProcess::GetNucleiOrElectronFlag ( )

Definition at line 139 of file XWrapperContinousDiscreteProcess.cc.

References bNucleiOrElectronFlag.

virtual const G4ProcessManager* XWrapperContinuousDiscreteProcess::GetProcessManager ( )
inlinevirtual

Reimplemented from G4VProcess.

Definition at line 115 of file XWrapperContinuousDiscreteProcess.hh.

References G4VProcess::GetProcessManager().

+ Here is the call graph for this function:

G4VContinuousDiscreteProcess* XWrapperContinuousDiscreteProcess::GetRegisteredProcess ( )
inline

Definition at line 57 of file XWrapperContinuousDiscreteProcess.hh.

References fRegisteredProcess.

virtual G4bool XWrapperContinuousDiscreteProcess::IsApplicable ( const G4ParticleDefinition aPD)
inlinevirtual

Reimplemented from G4VProcess.

Definition at line 135 of file XWrapperContinuousDiscreteProcess.hh.

References G4VProcess::IsApplicable().

+ Here is the call graph for this function:

G4int XWrapperContinuousDiscreteProcess::ItHasToWork ( const G4Track aTrack)

Definition at line 145 of file XWrapperContinousDiscreteProcess.cc.

References bBothOrCrystalOrDetectorPhysics, G4cout, G4endl, ExExChParticleUserInfo::GetInTheCrystal(), and G4Track::GetUserInformation().

Referenced by AlongStepDoIt(), AlongStepGetPhysicalInteractionLength(), GetDensity(), GetDensityPreviousStep(), GetMeanFreePath(), PostStepDoIt(), and PostStepGetPhysicalInteractionLength().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

XWrapperContinuousDiscreteProcess& XWrapperContinuousDiscreteProcess::operator= ( const XWrapperContinuousDiscreteProcess right)
private
G4VParticleChange * XWrapperContinuousDiscreteProcess::PostStepDoIt ( const G4Track aTrack,
const G4Step aStep 
)
virtual

Reimplemented from G4VContinuousDiscreteProcess.

Definition at line 351 of file XWrapperContinousDiscreteProcess.cc.

References fParticleChangeForNothing, fRegisteredProcess, GetDensity(), G4Step::GetStepLength(), ItHasToWork(), G4VContinuousDiscreteProcess::PostStepDoIt(), and G4VProcess::pParticleChange.

+ Here is the call graph for this function:

G4double XWrapperContinuousDiscreteProcess::PostStepGetPhysicalInteractionLength ( const G4Track aTrack,
G4double  previousStepSize,
G4ForceCondition condition 
)
virtual
virtual void XWrapperContinuousDiscreteProcess::PreparePhysicsTable ( const G4ParticleDefinition aPD)
inlinevirtual

Reimplemented from G4VProcess.

Definition at line 139 of file XWrapperContinuousDiscreteProcess.hh.

References G4VProcess::PreparePhysicsTable().

+ Here is the call graph for this function:

virtual void XWrapperContinuousDiscreteProcess::PrepareWorkerPhysicsTable ( const G4ParticleDefinition aPD)
inlinevirtual

Reimplemented from G4VProcess.

Definition at line 130 of file XWrapperContinuousDiscreteProcess.hh.

References G4VProcess::PrepareWorkerPhysicsTable().

+ Here is the call graph for this function:

void XWrapperContinuousDiscreteProcess::RegisterProcess ( G4VContinuousDiscreteProcess toRegister)

Definition at line 106 of file XWrapperContinousDiscreteProcess.cc.

References G4VProcess::enableAlongStepDoIt, G4VProcess::enableAtRestDoIt, G4VProcess::enablePostStepDoIt, fRegisteredProcess, G4VProcess::GetProcessSubType(), G4VProcess::GetProcessType(), G4VProcess::isAlongStepDoItIsEnabled(), G4VProcess::isAtRestDoItIsEnabled(), G4VProcess::isPostStepDoItIsEnabled(), G4VProcess::theProcessSubType, and G4VProcess::theProcessType.

Referenced by ExExChPhysListEmStandardSS::ConstructProcess().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void XWrapperContinuousDiscreteProcess::RegisterProcess ( G4VContinuousDiscreteProcess toRegister,
G4int  flag,
G4int  aBool = 0 
)
virtual void XWrapperContinuousDiscreteProcess::ResetNumberOfInteractionLengthLeft ( )
inlinevirtual

Reimplemented from G4VProcess.

Definition at line 117 of file XWrapperContinuousDiscreteProcess.hh.

References G4VProcess::ResetNumberOfInteractionLengthLeft().

Referenced by PostStepGetPhysicalInteractionLength().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

virtual G4bool XWrapperContinuousDiscreteProcess::RetrievePhysicsTable ( const G4ParticleDefinition aPD,
const G4String aString,
G4bool  aBool 
)
inlinevirtual

Reimplemented from G4VProcess.

Definition at line 145 of file XWrapperContinuousDiscreteProcess.hh.

References G4VProcess::RetrievePhysicsTable().

+ Here is the call graph for this function:

virtual void XWrapperContinuousDiscreteProcess::SetMasterProcess ( G4VProcess masterP)
inlinevirtual

Reimplemented from G4VProcess.

Definition at line 122 of file XWrapperContinuousDiscreteProcess.hh.

References G4VProcess::SetMasterProcess().

+ Here is the call graph for this function:

void XWrapperContinuousDiscreteProcess::SetNucleiOrElectronFlag ( G4int  flag)

Definition at line 133 of file XWrapperContinousDiscreteProcess.cc.

References bNucleiOrElectronFlag.

virtual void XWrapperContinuousDiscreteProcess::SetProcessManager ( const G4ProcessManager aPM)
inlinevirtual

Reimplemented from G4VProcess.

Definition at line 113 of file XWrapperContinuousDiscreteProcess.hh.

References G4VProcess::SetProcessManager().

+ Here is the call graph for this function:

void XWrapperContinuousDiscreteProcess::StartTracking ( G4Track aTrack)
virtual

Reimplemented from G4VProcess.

Definition at line 244 of file XWrapperContinousDiscreteProcess.cc.

References G4VProcess::currentInteractionLength, fRegisteredProcess, G4VProcess::StartTracking(), G4VProcess::theInitialNumberOfInteractionLength, and G4VProcess::theNumberOfInteractionLengthLeft.

+ Here is the call graph for this function:

virtual G4bool XWrapperContinuousDiscreteProcess::StorePhysicsTable ( const G4ParticleDefinition aPD,
const G4String aString,
G4bool  aBool 
)
inlinevirtual

Reimplemented from G4VProcess.

Definition at line 141 of file XWrapperContinuousDiscreteProcess.hh.

References G4VProcess::StorePhysicsTable().

+ Here is the call graph for this function:

Member Data Documentation

G4int XWrapperContinuousDiscreteProcess::bBothOrCrystalOrDetectorPhysics
private
G4int XWrapperContinuousDiscreteProcess::bNucleiOrElectronFlag
private
G4ParticleChangeForNothing* XWrapperContinuousDiscreteProcess::fParticleChangeForNothing
private
const G4Step XWrapperContinuousDiscreteProcess::theStepCopy
private

Definition at line 79 of file XWrapperContinuousDiscreteProcess.hh.


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