G4WrapperProcess Class Reference

#include <G4WrapperProcess.hh>

Inheritance diagram for G4WrapperProcess:

G4VProcess

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 ()

Protected Attributes

G4VProcesspRegProcess

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.

00041   : G4VProcess(aName,aType), pRegProcess((G4VProcess*)(0))
00042 {
00043 }

G4WrapperProcess::G4WrapperProcess ( const G4WrapperProcess right  ) 

Definition at line 45 of file G4WrapperProcess.cc.

00046   : G4VProcess(*((G4VProcess*)(&right))), pRegProcess(right.pRegProcess)
00047 {
00048 }

G4WrapperProcess::~G4WrapperProcess (  )  [virtual]

Definition at line 50 of file G4WrapperProcess.cc.

References pRegProcess.

00051 {
00052   if (pRegProcess!=0) delete pRegProcess;
00053 }


Member Function Documentation

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

Implements G4VProcess.

Definition at line 108 of file G4WrapperProcess.cc.

References G4VProcess::AlongStepDoIt(), and pRegProcess.

00110 {
00111   return     pRegProcess->AlongStepDoIt( track, stepData );        
00112 }

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.

References pRegProcess.

00066 {
00067   return pRegProcess->
00068          AlongStepGetPhysicalInteractionLength( track,
00069                                                 previousStepSize,
00070                                                 currentMinimumStep,
00071                                                 proposedSafety,
00072                                                 selection     );
00073 }

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

Implements G4VProcess.

Definition at line 114 of file G4WrapperProcess.cc.

References G4VProcess::AtRestDoIt(), and pRegProcess.

00116 {
00117   return     pRegProcess->AtRestDoIt( track, stepData );        
00118 }

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

Implements G4VProcess.

Definition at line 76 of file G4WrapperProcess.cc.

References G4VProcess::AtRestGetPhysicalInteractionLength(), and pRegProcess.

00078 {
00079   return pRegProcess->AtRestGetPhysicalInteractionLength( track, condition );
00080 }

void G4WrapperProcess::BuildPhysicsTable ( const G4ParticleDefinition  )  [virtual]

Reimplemented from G4VProcess.

Definition at line 125 of file G4WrapperProcess.cc.

References G4VProcess::BuildPhysicsTable(), and pRegProcess.

00126 {
00127   return     pRegProcess->BuildPhysicsTable(particle);
00128 }

void G4WrapperProcess::EndTracking (  )  [virtual]

Reimplemented from G4VProcess.

Definition at line 156 of file G4WrapperProcess.cc.

References G4VProcess::EndTracking(), and pRegProcess.

00157 {
00158   pRegProcess->EndTracking();
00159 }

const G4ProcessManager * G4WrapperProcess::GetProcessManager (  )  [virtual]

Reimplemented from G4VProcess.

Definition at line 97 of file G4WrapperProcess.cc.

References G4VProcess::GetProcessManager(), and pRegProcess.

00098 {
00099   return     pRegProcess->GetProcessManager();
00100 }

const G4VProcess * G4WrapperProcess::GetRegisteredProcess (  )  const [virtual]

Definition at line 168 of file G4WrapperProcess.cc.

References pRegProcess.

00169 {
00170   return pRegProcess;
00171 } 

G4bool G4WrapperProcess::IsApplicable ( const G4ParticleDefinition  )  [virtual]

Reimplemented from G4VProcess.

Definition at line 120 of file G4WrapperProcess.cc.

References G4VProcess::IsApplicable(), and pRegProcess.

00121 {
00122   return     pRegProcess->IsApplicable(particle);
00123 }

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

Definition at line 199 of file G4WrapperProcess.hh.

00200 {
00201   return (this !=  &right);
00202 }

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

Definition at line 193 of file G4WrapperProcess.hh.

00194 {
00195   return (this == &right);
00196 }

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

Implements G4VProcess.

Definition at line 102 of file G4WrapperProcess.cc.

References G4VProcess::PostStepDoIt(), and pRegProcess.

00104 {
00105   return     pRegProcess->PostStepDoIt( track, stepData );        
00106 }

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

Implements G4VProcess.

Definition at line 83 of file G4WrapperProcess.cc.

References G4VProcess::PostStepGetPhysicalInteractionLength(), and pRegProcess.

00086 {
00087    return pRegProcess->PostStepGetPhysicalInteractionLength( track,
00088                                                              previousStepSize,
00089                                                              condition );
00090 }

void G4WrapperProcess::PreparePhysicsTable ( const G4ParticleDefinition  )  [virtual]

Reimplemented from G4VProcess.

Definition at line 130 of file G4WrapperProcess.cc.

References pRegProcess, and G4VProcess::PreparePhysicsTable().

00131 {
00132   return     pRegProcess->PreparePhysicsTable(particle);
00133 }

void G4WrapperProcess::RegisterProcess ( G4VProcess  )  [virtual]

Definition at line 161 of file G4WrapperProcess.cc.

References G4VProcess::GetProcessName(), G4VProcess::GetProcessType(), pRegProcess, G4VProcess::theProcessName, and G4VProcess::theProcessType.

00162 {
00163   pRegProcess=process;
00164   theProcessName += process->GetProcessName();
00165   theProcessType = process->GetProcessType();
00166 }

void G4WrapperProcess::ResetNumberOfInteractionLengthLeft (  )  [virtual]

Reimplemented from G4VProcess.

Definition at line 55 of file G4WrapperProcess.cc.

References pRegProcess, and G4VProcess::ResetNumberOfInteractionLengthLeft().

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

Reimplemented from G4VProcess.

Definition at line 144 of file G4WrapperProcess.cc.

References pRegProcess, and G4VProcess::RetrievePhysicsTable().

00147 {
00148   return pRegProcess->RetrievePhysicsTable(particle,  directory,  ascii);
00149 }  

void G4WrapperProcess::SetProcessManager ( const G4ProcessManager  )  [virtual]

Reimplemented from G4VProcess.

Definition at line 92 of file G4WrapperProcess.cc.

References pRegProcess, and G4VProcess::SetProcessManager().

00093 {
00094    pRegProcess->SetProcessManager(procMan); 
00095 }

void G4WrapperProcess::StartTracking ( G4Track  )  [virtual]

Reimplemented from G4VProcess.

Definition at line 151 of file G4WrapperProcess.cc.

References pRegProcess, and G4VProcess::StartTracking().

00152 {
00153   pRegProcess->StartTracking(track);
00154 }

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

Reimplemented from G4VProcess.

Definition at line 136 of file G4WrapperProcess.cc.

References pRegProcess, and G4VProcess::StorePhysicsTable().

00139 {
00140   return pRegProcess->StorePhysicsTable(particle,  directory,  ascii);
00141 } 


Field Documentation

G4VProcess* G4WrapperProcess::pRegProcess [protected]

Definition at line 79 of file G4WrapperProcess.hh.

Referenced by AlongStepDoIt(), AlongStepGetPhysicalInteractionLength(), AtRestDoIt(), AtRestGetPhysicalInteractionLength(), BuildPhysicsTable(), EndTracking(), GetProcessManager(), GetRegisteredProcess(), IsApplicable(), PostStepDoIt(), PostStepGetPhysicalInteractionLength(), PreparePhysicsTable(), RegisterProcess(), ResetNumberOfInteractionLengthLeft(), RetrievePhysicsTable(), SetProcessManager(), StartTracking(), StorePhysicsTable(), and ~G4WrapperProcess().


The documentation for this class was generated from the following files:
Generated on Mon May 27 17:53:59 2013 for Geant4 by  doxygen 1.4.7