Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4WrapperProcess Class Reference

#include <G4WrapperProcess.hh>

+ Inheritance diagram for G4WrapperProcess:

Public Member Functions

 G4WrapperProcess (const G4String &aName="Wrapped", G4ProcessType aType=fNotDefined)
 
 G4WrapperProcess (const G4WrapperProcess &right)
 
virtual ~G4WrapperProcess ()
 
G4int operator== (const G4WrapperProcess &right) const
 
G4int operator!= (const G4WrapperProcess &right) const
 
virtual void RegisterProcess (G4VProcess *)
 
virtual const G4VProcessGetRegisteredProcess () const
 
virtual G4VParticleChangePostStepDoIt (const G4Track &track, const G4Step &stepData)
 
virtual G4VParticleChangeAlongStepDoIt (const G4Track &track, const G4Step &stepData)
 
virtual G4VParticleChangeAtRestDoIt (const G4Track &track, const G4Step &stepData)
 
virtual G4double AlongStepGetPhysicalInteractionLength (const G4Track &track, G4double previousStepSize, G4double currentMinimumStep, G4double &proposedSafety, G4GPILSelection *selection)
 
virtual G4double AtRestGetPhysicalInteractionLength (const G4Track &track, G4ForceCondition *condition)
 
virtual G4double PostStepGetPhysicalInteractionLength (const G4Track &track, G4double previousStepSize, G4ForceCondition *condition)
 
virtual G4bool IsApplicable (const G4ParticleDefinition &)
 
virtual void BuildPhysicsTable (const G4ParticleDefinition &)
 
virtual void PreparePhysicsTable (const G4ParticleDefinition &)
 
virtual G4bool StorePhysicsTable (const G4ParticleDefinition *, const G4String &directory, G4bool ascii=false)
 
virtual G4bool RetrievePhysicsTable (const G4ParticleDefinition *, const G4String &directory, G4bool ascii=false)
 
virtual void StartTracking (G4Track *)
 
virtual void EndTracking ()
 
virtual void SetProcessManager (const G4ProcessManager *)
 
virtual const G4ProcessManagerGetProcessManager ()
 
virtual void ResetNumberOfInteractionLengthLeft ()
 
- 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
 
virtual G4VParticleChangePostStepDoIt (const G4Track &track, const G4Step &stepData)=0
 
virtual G4VParticleChangeAlongStepDoIt (const G4Track &track, const G4Step &stepData)=0
 
virtual G4VParticleChangeAtRestDoIt (const G4Track &track, const G4Step &stepData)=0
 
virtual G4double AlongStepGetPhysicalInteractionLength (const G4Track &track, G4double previousStepSize, G4double currentMinimumStep, G4double &proposedSafety, G4GPILSelection *selection)=0
 
virtual G4double AtRestGetPhysicalInteractionLength (const G4Track &track, G4ForceCondition *condition)=0
 
virtual G4double PostStepGetPhysicalInteractionLength (const G4Track &track, G4double previousStepSize, G4ForceCondition *condition)=0
 
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)
 
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)
 
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 StartTracking (G4Track *)
 
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
 

Protected Attributes

G4VProcesspRegProcess
 
- 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
 

Additional Inherited Members

- Static Public Member Functions inherited from G4VProcess
static const G4StringGetProcessTypeName (G4ProcessType)
 
- Protected Member Functions inherited from G4VProcess
void SubtractNumberOfInteractionLengthLeft (G4double previousStepSize)
 
void ClearNumberOfInteractionLengthLeft ()
 

Detailed Description

Definition at line 48 of file G4WrapperProcess.hh.

Constructor & Destructor Documentation

◆ G4WrapperProcess() [1/2]

G4WrapperProcess::G4WrapperProcess ( const G4String aName = "Wrapped",
G4ProcessType  aType = fNotDefined 
)

Definition at line 39 of file G4WrapperProcess.cc.

41 : G4VProcess(aName,aType), pRegProcess((G4VProcess*)(0))
42{
43}
G4VProcess * pRegProcess

◆ G4WrapperProcess() [2/2]

G4WrapperProcess::G4WrapperProcess ( const G4WrapperProcess right)

Definition at line 45 of file G4WrapperProcess.cc.

46 : G4VProcess(*((G4VProcess*)(&right))), pRegProcess(right.pRegProcess)
47{
48}

◆ ~G4WrapperProcess()

G4WrapperProcess::~G4WrapperProcess ( )
virtual

Definition at line 50 of file G4WrapperProcess.cc.

51{
52 if (pRegProcess!=0) delete pRegProcess;
53}

Member Function Documentation

◆ AlongStepDoIt()

G4VParticleChange * G4WrapperProcess::AlongStepDoIt ( const G4Track track,
const G4Step stepData 
)
virtual

Implements G4VProcess.

Definition at line 108 of file G4WrapperProcess.cc.

110{
111 return pRegProcess->AlongStepDoIt( track, stepData );
112}
virtual G4VParticleChange * AlongStepDoIt(const G4Track &track, const G4Step &stepData)=0

◆ AlongStepGetPhysicalInteractionLength()

G4double G4WrapperProcess::AlongStepGetPhysicalInteractionLength ( const G4Track track,
G4double  previousStepSize,
G4double  currentMinimumStep,
G4double proposedSafety,
G4GPILSelection selection 
)
virtual

Implements G4VProcess.

Definition at line 60 of file G4WrapperProcess.cc.

66{
67 return pRegProcess->
69 previousStepSize,
70 currentMinimumStep,
71 proposedSafety,
72 selection );
73}
virtual G4double AlongStepGetPhysicalInteractionLength(const G4Track &track, G4double previousStepSize, G4double currentMinimumStep, G4double &proposedSafety, G4GPILSelection *selection)

Referenced by AlongStepGetPhysicalInteractionLength().

◆ AtRestDoIt()

G4VParticleChange * G4WrapperProcess::AtRestDoIt ( const G4Track track,
const G4Step stepData 
)
virtual

Implements G4VProcess.

Definition at line 114 of file G4WrapperProcess.cc.

116{
117 return pRegProcess->AtRestDoIt( track, stepData );
118}
virtual G4VParticleChange * AtRestDoIt(const G4Track &track, const G4Step &stepData)=0

◆ AtRestGetPhysicalInteractionLength()

G4double G4WrapperProcess::AtRestGetPhysicalInteractionLength ( const G4Track track,
G4ForceCondition condition 
)
virtual

Implements G4VProcess.

Definition at line 75 of file G4WrapperProcess.cc.

78{
80}
G4double condition(const G4ErrorSymMatrix &m)
virtual G4double AtRestGetPhysicalInteractionLength(const G4Track &track, G4ForceCondition *condition)=0

◆ BuildPhysicsTable()

void G4WrapperProcess::BuildPhysicsTable ( const G4ParticleDefinition particle)
virtual

Reimplemented from G4VProcess.

Definition at line 125 of file G4WrapperProcess.cc.

126{
127 return pRegProcess->BuildPhysicsTable(particle);
128}
virtual void BuildPhysicsTable(const G4ParticleDefinition &)
Definition: G4VProcess.hh:210

◆ EndTracking()

void G4WrapperProcess::EndTracking ( )
virtual

Reimplemented from G4VProcess.

Definition at line 156 of file G4WrapperProcess.cc.

157{
159}
virtual void EndTracking()
Definition: G4VProcess.cc:137

◆ GetProcessManager()

const G4ProcessManager * G4WrapperProcess::GetProcessManager ( )
virtual

Reimplemented from G4VProcess.

Definition at line 97 of file G4WrapperProcess.cc.

98{
100}
virtual const G4ProcessManager * GetProcessManager()
Definition: G4VProcess.hh:485

◆ GetRegisteredProcess()

const G4VProcess * G4WrapperProcess::GetRegisteredProcess ( ) const
virtual

Definition at line 168 of file G4WrapperProcess.cc.

169{
170 return pRegProcess;
171}

◆ IsApplicable()

G4bool G4WrapperProcess::IsApplicable ( const G4ParticleDefinition particle)
virtual

Reimplemented from G4VProcess.

Definition at line 120 of file G4WrapperProcess.cc.

121{
122 return pRegProcess->IsApplicable(particle);
123}
virtual G4bool IsApplicable(const G4ParticleDefinition &)
Definition: G4VProcess.hh:205

◆ operator!=()

G4int G4WrapperProcess::operator!= ( const G4WrapperProcess right) const
inline

Definition at line 199 of file G4WrapperProcess.hh.

200{
201 return (this != &right);
202}

◆ operator==()

G4int G4WrapperProcess::operator== ( const G4WrapperProcess right) const
inline

Definition at line 193 of file G4WrapperProcess.hh.

194{
195 return (this == &right);
196}

◆ PostStepDoIt()

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

Implements G4VProcess.

Definition at line 102 of file G4WrapperProcess.cc.

104{
105 return pRegProcess->PostStepDoIt( track, stepData );
106}
virtual G4VParticleChange * PostStepDoIt(const G4Track &track, const G4Step &stepData)=0

◆ PostStepGetPhysicalInteractionLength()

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

Implements G4VProcess.

Definition at line 82 of file G4WrapperProcess.cc.

86{
88 previousStepSize,
89 condition );
90}
virtual G4double PostStepGetPhysicalInteractionLength(const G4Track &track, G4double previousStepSize, G4ForceCondition *condition)=0

◆ PreparePhysicsTable()

void G4WrapperProcess::PreparePhysicsTable ( const G4ParticleDefinition particle)
virtual

Reimplemented from G4VProcess.

Definition at line 130 of file G4WrapperProcess.cc.

131{
132 return pRegProcess->PreparePhysicsTable(particle);
133}
virtual void PreparePhysicsTable(const G4ParticleDefinition &)
Definition: G4VProcess.hh:217

◆ RegisterProcess()

void G4WrapperProcess::RegisterProcess ( G4VProcess process)
virtual

Definition at line 161 of file G4WrapperProcess.cc.

162{
163 pRegProcess=process;
164 theProcessName += process->GetProcessName();
165 theProcessType = process->GetProcessType();
166}
G4ProcessType theProcessType
Definition: G4VProcess.hh:340
G4ProcessType GetProcessType() const
Definition: G4VProcess.hh:385
G4String theProcessName
Definition: G4VProcess.hh:335
const G4String & GetProcessName() const
Definition: G4VProcess.hh:379

◆ ResetNumberOfInteractionLengthLeft()

void G4WrapperProcess::ResetNumberOfInteractionLengthLeft ( )
virtual

Reimplemented from G4VProcess.

Definition at line 55 of file G4WrapperProcess.cc.

56{
58}
virtual void ResetNumberOfInteractionLengthLeft()
Definition: G4VProcess.cc:92

◆ RetrievePhysicsTable()

G4bool G4WrapperProcess::RetrievePhysicsTable ( const G4ParticleDefinition particle,
const G4String directory,
G4bool  ascii = false 
)
virtual

Reimplemented from G4VProcess.

Definition at line 143 of file G4WrapperProcess.cc.

147{
148 return pRegProcess->RetrievePhysicsTable(particle, directory, ascii);
149}
virtual G4bool RetrievePhysicsTable(const G4ParticleDefinition *, const G4String &, G4bool)
Definition: G4VProcess.hh:236

◆ SetProcessManager()

void G4WrapperProcess::SetProcessManager ( const G4ProcessManager procMan)
virtual

Reimplemented from G4VProcess.

Definition at line 92 of file G4WrapperProcess.cc.

93{
95}
virtual void SetProcessManager(const G4ProcessManager *)
Definition: G4VProcess.hh:479

◆ StartTracking()

void G4WrapperProcess::StartTracking ( G4Track track)
virtual

Reimplemented from G4VProcess.

Definition at line 151 of file G4WrapperProcess.cc.

152{
154}
virtual void StartTracking(G4Track *)
Definition: G4VProcess.cc:125

◆ StorePhysicsTable()

G4bool G4WrapperProcess::StorePhysicsTable ( const G4ParticleDefinition particle,
const G4String directory,
G4bool  ascii = false 
)
virtual

Reimplemented from G4VProcess.

Definition at line 135 of file G4WrapperProcess.cc.

139{
140 return pRegProcess->StorePhysicsTable(particle, directory, ascii);
141}
virtual G4bool StorePhysicsTable(const G4ParticleDefinition *, const G4String &, G4bool)
Definition: G4VProcess.hh:231

Member Data Documentation

◆ pRegProcess


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