Geant4  10.01.p03
XWrapperDiscreteProcess Class Reference

#include <XWrapperDiscreteProcess.hh>

+ Inheritance diagram for XWrapperDiscreteProcess:
+ Collaboration diagram for XWrapperDiscreteProcess:

Public Member Functions

 XWrapperDiscreteProcess (const G4String &processName="XWrapperDiscreteProcess")
 
 XWrapperDiscreteProcess (const G4String &, G4VDiscreteProcess *)
 
virtual ~XWrapperDiscreteProcess ()
 
void RegisterProcess (G4VDiscreteProcess *)
 
void RegisterProcess (G4VDiscreteProcess *, G4int)
 
G4double GetDensity (const G4Track &)
 
G4double GetDensityPreviousStep (const G4Track &)
 
void SetNucleiOrElectronFlag (G4int)
 
G4int GetNucleiOrElectronFlag ()
 
virtual G4VParticleChangePostStepDoIt (const G4Track &, const G4Step &)
 
virtual G4double PostStepGetPhysicalInteractionLength (const G4Track &, G4double, G4ForceCondition *)
 
void StartTracking (G4Track *)
 
virtual G4bool IsApplicable (const G4ParticleDefinition &)
 
virtual void BuildPhysicsTable (const G4ParticleDefinition &)
 
virtual void PreparePhysicsTable (const G4ParticleDefinition &)
 
virtual G4bool StorePhysicsTable (const G4ParticleDefinition *, const G4String &, G4bool)
 
virtual G4bool RetrievePhysicsTable (const G4ParticleDefinition *, const G4String &, G4bool)
 
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)
 
- Public Member Functions inherited from G4VDiscreteProcess
 G4VDiscreteProcess (const G4String &, G4ProcessType aType=fNotDefined)
 
 G4VDiscreteProcess (G4VDiscreteProcess &)
 
virtual ~G4VDiscreteProcess ()
 
virtual G4double AlongStepGetPhysicalInteractionLength (const G4Track &, G4double, G4double, G4double &, G4GPILSelection *)
 
virtual G4double AtRestGetPhysicalInteractionLength (const G4Track &, G4ForceCondition *)
 
virtual G4VParticleChangeAtRestDoIt (const G4Track &, const G4Step &)
 
virtual G4VParticleChangeAlongStepDoIt (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)
 
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 *)
 
- Protected Member Functions inherited from G4VProcess
void SubtractNumberOfInteractionLengthLeft (G4double previousStepSize)
 
void ClearNumberOfInteractionLengthLeft ()
 

Private Member Functions

 XWrapperDiscreteProcess (XWrapperDiscreteProcess &)
 
XWrapperDiscreteProcessoperator= (const XWrapperDiscreteProcess &)
 

Private Attributes

G4int bNucleiOrElectronFlag
 Decide whether to use nuclei (+1) or electron (-1) or both (0) More...
 
G4VDiscreteProcessfRegisteredProcess
 

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 37 of file XWrapperDiscreteProcess.hh.

Constructor & Destructor Documentation

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

Definition at line 42 of file XWrapperDiscreteProcess.cc.

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

+ Here is the call graph for this function:

XWrapperDiscreteProcess::XWrapperDiscreteProcess ( const G4String ,
G4VDiscreteProcess toRegister 
)

Definition at line 53 of file XWrapperDiscreteProcess.cc.

References fRegisteredProcess.

XWrapperDiscreteProcess::~XWrapperDiscreteProcess ( )
virtual

Definition at line 61 of file XWrapperDiscreteProcess.cc.

XWrapperDiscreteProcess::XWrapperDiscreteProcess ( XWrapperDiscreteProcess right)
private

Definition at line 68 of file XWrapperDiscreteProcess.cc.

Member Function Documentation

void XWrapperDiscreteProcess::BuildPhysicsTable ( const G4ParticleDefinition aParticleDefinition)
virtual

Reimplemented from G4VProcess.

Definition at line 250 of file XWrapperDiscreteProcess.cc.

References G4VProcess::BuildPhysicsTable(), and fRegisteredProcess.

+ Here is the call graph for this function:

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

Reimplemented from G4VProcess.

Definition at line 111 of file XWrapperDiscreteProcess.hh.

References G4VProcess::BuildWorkerPhysicsTable().

+ Here is the call graph for this function:

virtual void XWrapperDiscreteProcess::DumpInfo ( ) const
inlinevirtual

Reimplemented from G4VProcess.

Definition at line 104 of file XWrapperDiscreteProcess.hh.

References G4VProcess::DumpInfo().

+ Here is the call graph for this function:

virtual void XWrapperDiscreteProcess::EndTracking ( )
inlinevirtual

Reimplemented from G4VProcess.

Definition at line 95 of file XWrapperDiscreteProcess.hh.

References G4VProcess::EndTracking().

+ Here is the call graph for this function:

G4double XWrapperDiscreteProcess::GetDensity ( const G4Track aTrack)

Definition at line 101 of file XWrapperDiscreteProcess.cc.

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

Referenced by PostStepGetPhysicalInteractionLength().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double XWrapperDiscreteProcess::GetDensityPreviousStep ( const G4Track aTrack)

Definition at line 133 of file XWrapperDiscreteProcess.cc.

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

Referenced by PostStepGetPhysicalInteractionLength().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double XWrapperDiscreteProcess::GetMeanFreePath ( const G4Track ,
G4double  ,
G4ForceCondition  
)
protectedvirtual

Implements G4VDiscreteProcess.

Definition at line 190 of file XWrapperDiscreteProcess.cc.

References DBL_MAX.

G4int XWrapperDiscreteProcess::GetNucleiOrElectronFlag ( )

Definition at line 95 of file XWrapperDiscreteProcess.cc.

References bNucleiOrElectronFlag.

virtual const G4ProcessManager* XWrapperDiscreteProcess::GetProcessManager ( )
inlinevirtual

Reimplemented from G4VProcess.

Definition at line 99 of file XWrapperDiscreteProcess.hh.

References G4VProcess::GetProcessManager().

+ Here is the call graph for this function:

G4bool XWrapperDiscreteProcess::IsApplicable ( const G4ParticleDefinition aParticleDefinition)
virtual

Reimplemented from G4VProcess.

Definition at line 243 of file XWrapperDiscreteProcess.cc.

References fRegisteredProcess, and G4VProcess::IsApplicable().

+ Here is the call graph for this function:

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

Reimplemented from G4VDiscreteProcess.

Definition at line 234 of file XWrapperDiscreteProcess.cc.

References fRegisteredProcess, and G4VDiscreteProcess::PostStepDoIt().

+ Here is the call graph for this function:

G4double XWrapperDiscreteProcess::PostStepGetPhysicalInteractionLength ( const G4Track aTrack,
G4double  previousStepSize,
G4ForceCondition condition 
)
virtual
void XWrapperDiscreteProcess::PreparePhysicsTable ( const G4ParticleDefinition aParticleDefinition)
virtual

Reimplemented from G4VProcess.

Definition at line 257 of file XWrapperDiscreteProcess.cc.

References fRegisteredProcess, and G4VProcess::PreparePhysicsTable().

+ Here is the call graph for this function:

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

Reimplemented from G4VProcess.

Definition at line 113 of file XWrapperDiscreteProcess.hh.

References G4VProcess::PrepareWorkerPhysicsTable().

+ Here is the call graph for this function:

void XWrapperDiscreteProcess::RegisterProcess ( G4VDiscreteProcess toRegister)

Definition at line 75 of file XWrapperDiscreteProcess.cc.

References fRegisteredProcess.

Referenced by ExExChIonPhysics::AddProcess(), ExExChPiKBuilder::Build(), ExExChAntiBarionBuilder::Build(), ExExChProtonBuilder::Build(), ExExChHyperonFTFPBuilder::Build(), ExExChPhysListEmStandardSS::ConstructProcess(), and ExExChHadronElasticPhysics::ConstructProcess().

+ Here is the caller graph for this function:

void XWrapperDiscreteProcess::RegisterProcess ( G4VDiscreteProcess toRegister,
G4int  flag 
)

Definition at line 81 of file XWrapperDiscreteProcess.cc.

References bNucleiOrElectronFlag, and fRegisteredProcess.

virtual void XWrapperDiscreteProcess::ResetNumberOfInteractionLengthLeft ( )
inlinevirtual

Reimplemented from G4VProcess.

Definition at line 101 of file XWrapperDiscreteProcess.hh.

References G4VProcess::ResetNumberOfInteractionLengthLeft().

Referenced by PostStepGetPhysicalInteractionLength().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4bool XWrapperDiscreteProcess::RetrievePhysicsTable ( const G4ParticleDefinition aParticleDefinition,
const G4String aString,
G4bool  aBool 
)
virtual

Reimplemented from G4VProcess.

Definition at line 275 of file XWrapperDiscreteProcess.cc.

References fRegisteredProcess, and G4VProcess::RetrievePhysicsTable().

+ Here is the call graph for this function:

virtual void XWrapperDiscreteProcess::SetMasterProcess ( G4VProcess masterP)
inlinevirtual

Reimplemented from G4VProcess.

Definition at line 106 of file XWrapperDiscreteProcess.hh.

References G4VProcess::SetMasterProcess().

+ Here is the call graph for this function:

void XWrapperDiscreteProcess::SetNucleiOrElectronFlag ( G4int  flag)

Definition at line 89 of file XWrapperDiscreteProcess.cc.

References bNucleiOrElectronFlag.

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

Reimplemented from G4VProcess.

Definition at line 97 of file XWrapperDiscreteProcess.hh.

References G4VProcess::SetProcessManager().

+ Here is the call graph for this function:

void XWrapperDiscreteProcess::StartTracking ( G4Track aTrack)
virtual

Reimplemented from G4VProcess.

Definition at line 181 of file XWrapperDiscreteProcess.cc.

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

+ Here is the call graph for this function:

G4bool XWrapperDiscreteProcess::StorePhysicsTable ( const G4ParticleDefinition aParticleDefinition,
const G4String aString,
G4bool  aBool 
)
virtual

Reimplemented from G4VProcess.

Definition at line 264 of file XWrapperDiscreteProcess.cc.

References fRegisteredProcess, and G4VProcess::StorePhysicsTable().

+ Here is the call graph for this function:

Member Data Documentation

G4int XWrapperDiscreteProcess::bNucleiOrElectronFlag
private

Decide whether to use nuclei (+1) or electron (-1) or both (0)

Definition at line 65 of file XWrapperDiscreteProcess.hh.

Referenced by GetDensity(), GetDensityPreviousStep(), GetNucleiOrElectronFlag(), RegisterProcess(), SetNucleiOrElectronFlag(), and XWrapperDiscreteProcess().


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