Geant4  10.03
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 *)
 
G4int ItHasToWork (const G4Track &)
 
virtual ~XWrapperDiscreteProcess ()
 
void RegisterProcess (G4VDiscreteProcess *)
 
void RegisterProcess (G4VDiscreteProcess *, G4int, G4int aBool=0)
 
G4double GetDensity (const G4Track &)
 
G4double GetDensityPreviousStep (const G4Track &)
 
void SetNucleiOrElectronFlag (G4int)
 
G4int GetNucleiOrElectronFlag ()
 
virtual G4VParticleChangePostStepDoIt (const G4Track &, const G4Step &)
 
virtual G4VParticleChangeAtRestDoIt (const G4Track &aTrack, const G4Step &aStep)
 
virtual G4double PostStepGetPhysicalInteractionLength (const G4Track &, G4double, G4ForceCondition *)
 
virtual G4double AtRestGetPhysicalInteractionLength (const G4Track &aTrack, G4ForceCondition *condition)
 
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 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 bBothOrCrystalOrDetectorPhysics
 Decide whether to use nuclei (+1) or electron (-1) or both (0) More...
 
G4int bNucleiOrElectronFlag
 
G4VDiscreteProcessfRegisteredProcess
 
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 41 of file XWrapperDiscreteProcess.hh.

Constructor & Destructor Documentation

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

Definition at line 45 of file XWrapperDiscreteProcess.cc.

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

+ Here is the call graph for this function:

XWrapperDiscreteProcess::~XWrapperDiscreteProcess ( )
virtual

Definition at line 74 of file XWrapperDiscreteProcess.cc.

XWrapperDiscreteProcess::XWrapperDiscreteProcess ( XWrapperDiscreteProcess right)
private

Definition at line 81 of file XWrapperDiscreteProcess.cc.

Member Function Documentation

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

Reimplemented from G4VDiscreteProcess.

Definition at line 84 of file XWrapperDiscreteProcess.hh.

References G4VDiscreteProcess::AtRestDoIt().

+ Here is the call graph for this function:

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

Reimplemented from G4VDiscreteProcess.

Definition at line 92 of file XWrapperDiscreteProcess.hh.

References G4VDiscreteProcess::AtRestGetPhysicalInteractionLength().

+ Here is the call graph for this function:

void XWrapperDiscreteProcess::BuildPhysicsTable ( const G4ParticleDefinition aParticleDefinition)
virtual

Reimplemented from G4VProcess.

Definition at line 317 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 133 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 126 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 117 of file XWrapperDiscreteProcess.hh.

References G4VProcess::EndTracking().

+ Here is the call graph for this function:

G4double XWrapperDiscreteProcess::GetDensity ( const G4Track aTrack)

Definition at line 152 of file XWrapperDiscreteProcess.cc.

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

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 181 of file XWrapperDiscreteProcess.cc.

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

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 234 of file XWrapperDiscreteProcess.cc.

References DBL_MAX.

G4int XWrapperDiscreteProcess::GetNucleiOrElectronFlag ( )

Definition at line 120 of file XWrapperDiscreteProcess.cc.

References bNucleiOrElectronFlag.

virtual const G4ProcessManager* XWrapperDiscreteProcess::GetProcessManager ( )
inlinevirtual

Reimplemented from G4VProcess.

Definition at line 121 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 310 of file XWrapperDiscreteProcess.cc.

References fRegisteredProcess, and G4VProcess::IsApplicable().

+ Here is the call graph for this function:

G4int XWrapperDiscreteProcess::ItHasToWork ( const G4Track aTrack)

Definition at line 126 of file XWrapperDiscreteProcess.cc.

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

Referenced by GetDensity(), GetDensityPreviousStep(), PostStepDoIt(), and PostStepGetPhysicalInteractionLength().

+ Here is the call graph for this function:

+ Here is the caller 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 294 of file XWrapperDiscreteProcess.cc.

References fParticleChangeForNothing, fRegisteredProcess, ItHasToWork(), G4VDiscreteProcess::PostStepDoIt(), and G4VProcess::pParticleChange.

+ 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 324 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 135 of file XWrapperDiscreteProcess.hh.

References G4VProcess::PrepareWorkerPhysicsTable().

+ Here is the call graph for this function:

void XWrapperDiscreteProcess::RegisterProcess ( G4VDiscreteProcess toRegister)
void XWrapperDiscreteProcess::RegisterProcess ( G4VDiscreteProcess toRegister,
G4int  flag,
G4int  aBool = 0 
)
virtual void XWrapperDiscreteProcess::ResetNumberOfInteractionLengthLeft ( )
inlinevirtual

Reimplemented from G4VProcess.

Definition at line 123 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 342 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 128 of file XWrapperDiscreteProcess.hh.

References G4VProcess::SetMasterProcess().

+ Here is the call graph for this function:

void XWrapperDiscreteProcess::SetNucleiOrElectronFlag ( G4int  flag)

Definition at line 114 of file XWrapperDiscreteProcess.cc.

References bNucleiOrElectronFlag.

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

Reimplemented from G4VProcess.

Definition at line 119 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 225 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 331 of file XWrapperDiscreteProcess.cc.

References fRegisteredProcess, and G4VProcess::StorePhysicsTable().

+ Here is the call graph for this function:

Member Data Documentation

G4int XWrapperDiscreteProcess::bBothOrCrystalOrDetectorPhysics
private

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

Definition at line 71 of file XWrapperDiscreteProcess.hh.

Referenced by ItHasToWork(), RegisterProcess(), and XWrapperDiscreteProcess().

G4int XWrapperDiscreteProcess::bNucleiOrElectronFlag
private
G4ParticleChangeForNothing* XWrapperDiscreteProcess::fParticleChangeForNothing
private

Definition at line 74 of file XWrapperDiscreteProcess.hh.

Referenced by PostStepDoIt(), and XWrapperDiscreteProcess().


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