Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
G4WrapperProcess Class Reference

#include <G4WrapperProcess.hh>

Inheritance diagram for G4WrapperProcess:
Collaboration 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 ()
 
virtual void SetMasterProcess (G4VProcess *masterP)
 
- 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
 
virtual void DumpInfo () const
 
void SetVerboseLevel (G4int value)
 
G4int GetVerboseLevel () const
 
const G4VProcessGetMasterProcess () const
 
virtual void BuildWorkerPhysicsTable (const G4ParticleDefinition &part)
 
virtual void PrepareWorkerPhysicsTable (const G4ParticleDefinition &)
 

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::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(const G4String &aName="NoName", G4ProcessType aType=fNotDefined)
Definition: G4VProcess.cc:52
G4VProcess * pRegProcess
G4WrapperProcess::G4WrapperProcess ( const G4WrapperProcess right)

Definition at line 45 of file G4WrapperProcess.cc.

46  : G4VProcess(*((G4VProcess*)(&right))), pRegProcess(right.pRegProcess)
47 {
48 }
G4VProcess(const G4String &aName="NoName", G4ProcessType aType=fNotDefined)
Definition: G4VProcess.cc:52
G4VProcess * pRegProcess
G4WrapperProcess::~G4WrapperProcess ( )
virtual

Definition at line 50 of file G4WrapperProcess.cc.

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

Member Function Documentation

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 }
G4VProcess * pRegProcess
virtual G4VParticleChange * AlongStepDoIt(const G4Track &track, const G4Step &stepData)=0

Here is the call graph for this function:

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

Implements G4VProcess.

Definition at line 61 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)
G4VProcess * pRegProcess
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 }
G4VProcess * pRegProcess
virtual G4VParticleChange * AtRestDoIt(const G4Track &track, const G4Step &stepData)=0

Here is the call graph for this function:

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

Implements G4VProcess.

Definition at line 76 of file G4WrapperProcess.cc.

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

Here is the call graph for this function:

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 }
G4VProcess * pRegProcess
virtual void BuildPhysicsTable(const G4ParticleDefinition &)
Definition: G4VProcess.hh:210

Here is the call graph for this function:

void G4WrapperProcess::EndTracking ( )
virtual

Reimplemented from G4VProcess.

Definition at line 156 of file G4WrapperProcess.cc.

157 {
159 }
G4VProcess * pRegProcess
virtual void EndTracking()
Definition: G4VProcess.cc:113

Here is the call graph for this function:

const G4ProcessManager * G4WrapperProcess::GetProcessManager ( )
virtual

Reimplemented from G4VProcess.

Definition at line 97 of file G4WrapperProcess.cc.

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

Here is the call graph for this function:

const G4VProcess * G4WrapperProcess::GetRegisteredProcess ( ) const
virtual

Definition at line 168 of file G4WrapperProcess.cc.

169 {
170  return pRegProcess;
171 }
G4VProcess * pRegProcess
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 }
G4VProcess * pRegProcess
virtual G4bool IsApplicable(const G4ParticleDefinition &)
Definition: G4VProcess.hh:205

Here is the call graph for this function:

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

Definition at line 200 of file G4WrapperProcess.hh.

201 {
202  return (this != &right);
203 }
G4int G4WrapperProcess::operator== ( const G4WrapperProcess right) const
inline

Definition at line 194 of file G4WrapperProcess.hh.

195 {
196  return (this == &right);
197 }
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 }
G4VProcess * pRegProcess
virtual G4VParticleChange * PostStepDoIt(const G4Track &track, const G4Step &stepData)=0

Here is the call graph for this function:

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

Implements G4VProcess.

Definition at line 83 of file G4WrapperProcess.cc.

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

Here is the call graph for this function:

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
G4VProcess * pRegProcess

Here is the call graph for this function:

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:414
G4VProcess * pRegProcess
const G4String & GetProcessName() const
Definition: G4VProcess.hh:408
G4String theProcessName
Definition: G4VProcess.hh:335

Here is the call graph for this function:

void G4WrapperProcess::ResetNumberOfInteractionLengthLeft ( )
virtual

Reimplemented from G4VProcess.

Definition at line 55 of file G4WrapperProcess.cc.

56 {
58 }
virtual void ResetNumberOfInteractionLengthLeft()
Definition: G4VProcess.cc:95
G4VProcess * pRegProcess

Here is the call graph for this function:

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

Reimplemented from G4VProcess.

Definition at line 144 of file G4WrapperProcess.cc.

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

Here is the call graph for this function:

void G4WrapperProcess::SetMasterProcess ( G4VProcess masterP)
virtual

Reimplemented from G4VProcess.

Definition at line 173 of file G4WrapperProcess.cc.

173  {
174  G4WrapperProcess* master = static_cast<G4WrapperProcess*>(masterP);
175  //Cannot use getter because it returns "const" and we do not want
176  //to cast away constness explicitly (even if this is the same)
178 }
virtual void SetMasterProcess(G4VProcess *masterP)
Definition: G4VProcess.cc:212
G4VProcess * pRegProcess

Here is the call graph for this function:

void G4WrapperProcess::SetProcessManager ( const G4ProcessManager procMan)
virtual

Reimplemented from G4VProcess.

Definition at line 92 of file G4WrapperProcess.cc.

93 {
94  pRegProcess->SetProcessManager(procMan);
95 }
virtual void SetProcessManager(const G4ProcessManager *)
Definition: G4VProcess.hh:508
G4VProcess * pRegProcess

Here is the call graph for this function:

void G4WrapperProcess::StartTracking ( G4Track track)
virtual

Reimplemented from G4VProcess.

Definition at line 151 of file G4WrapperProcess.cc.

152 {
153  pRegProcess->StartTracking(track);
154 }
virtual void StartTracking(G4Track *)
Definition: G4VProcess.cc:101
G4VProcess * pRegProcess

Here is the call graph for this function:

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

Reimplemented from G4VProcess.

Definition at line 136 of file G4WrapperProcess.cc.

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

Here is the call graph for this function:

Member Data Documentation

G4VProcess* G4WrapperProcess::pRegProcess
protected

Definition at line 79 of file G4WrapperProcess.hh.


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