Geant4  10.00.p01
G4ParallelWorldProcess Class Reference

#include <G4ParallelWorldProcess.hh>

+ Inheritance diagram for G4ParallelWorldProcess:
+ Collaboration diagram for G4ParallelWorldProcess:

Public Member Functions

 G4ParallelWorldProcess (const G4String &processName="ParaWorld", G4ProcessType theType=fParameterisation)
 
virtual ~G4ParallelWorldProcess ()
 
void SetParallelWorld (G4String parallelWorldName)
 
void SetParallelWorld (G4VPhysicalVolume *parallelWorld)
 
void StartTracking (G4Track *)
 
G4double AtRestGetPhysicalInteractionLength (const G4Track &, G4ForceCondition *)
 
G4VParticleChangeAtRestDoIt (const G4Track &, const G4Step &)
 
G4double AlongStepGetPhysicalInteractionLength (const G4Track &, G4double, G4double, G4double &, G4GPILSelection *)
 
G4VParticleChangeAlongStepDoIt (const G4Track &, const G4Step &)
 
G4double PostStepGetPhysicalInteractionLength (const G4Track &, G4double, G4ForceCondition *)
 
G4VParticleChangePostStepDoIt (const G4Track &, const G4Step &)
 
void SetLayeredMaterialFlag (G4bool flg=true)
 
G4bool GetLayeredMaterialFlag () const
 
G4bool IsAtRestRequired (G4ParticleDefinition *)
 
- 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)
 
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 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
 
virtual void SetMasterProcess (G4VProcess *masterP)
 
const G4VProcessGetMasterProcess () const
 
virtual void BuildWorkerPhysicsTable (const G4ParticleDefinition &part)
 
virtual void PrepareWorkerPhysicsTable (const G4ParticleDefinition &)
 

Static Public Member Functions

static const G4StepGetHyperStep ()
 
static G4int GetHypNavigatorID ()
 
- Static Public Member Functions inherited from G4VProcess
static const G4StringGetProcessTypeName (G4ProcessType)
 

Private Member Functions

void CopyStep (const G4Step &step)
 
void SwitchMaterial (G4StepPoint *)
 

Private Attributes

G4StepfGhostStep
 
G4StepPointfGhostPreStepPoint
 
G4StepPointfGhostPostStepPoint
 
G4VParticleChange aDummyParticleChange
 
G4ParticleChange xParticleChange
 
G4TransportationManagerfTransportationManager
 
G4PathFinderfPathFinder
 
G4String fGhostWorldName
 
G4VPhysicalVolumefGhostWorld
 
G4NavigatorfGhostNavigator
 
G4int fNavigatorID
 
G4TouchableHandle fOldGhostTouchable
 
G4TouchableHandle fNewGhostTouchable
 
G4FieldTrack fFieldTrack
 
G4double fGhostSafety
 
G4bool fOnBoundary
 
G4bool layeredMaterialFlag
 
G4int iParallelWorld
 

Static Private Attributes

static G4ThreadLocal G4StepfpHyperStep = 0
 
static G4ThreadLocal G4int nParallelWorlds = 0
 
static G4ThreadLocal G4int fNavIDHyp = 0
 

Additional Inherited Members

- Protected Member Functions inherited from G4VProcess
void SubtractNumberOfInteractionLengthLeft (G4double previousStepSize)
 
void ClearNumberOfInteractionLengthLeft ()
 
- 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 73 of file G4ParallelWorldProcess.hh.

Constructor & Destructor Documentation

G4ParallelWorldProcess::~G4ParallelWorldProcess ( )
virtual

Definition at line 84 of file G4ParallelWorldProcess.cc.

References fGhostStep, fpHyperStep, and nParallelWorlds.

Member Function Documentation

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

Implements G4VProcess.

Definition at line 314 of file G4ParallelWorldProcess.cc.

References G4VParticleChange::Initialize(), and G4VProcess::pParticleChange.

+ Here is the call graph for this function:

G4double G4ParallelWorldProcess::AlongStepGetPhysicalInteractionLength ( const G4Track track,
G4double  previousStepSize,
G4double  currentMinimumStep,
G4double proposedSafety,
G4GPILSelection selection 
)
virtual
G4VParticleChange * G4ParallelWorldProcess::AtRestDoIt ( const G4Track track,
const G4Step step 
)
virtual
G4double G4ParallelWorldProcess::AtRestGetPhysicalInteractionLength ( const G4Track ,
G4ForceCondition condition 
)
virtual

Implements G4VProcess.

Definition at line 153 of file G4ParallelWorldProcess.cc.

References DBL_MAX, and Forced.

void G4ParallelWorldProcess::CopyStep ( const G4Step step)
private

Definition at line 321 of file G4ParallelWorldProcess.cc.

References fGeomBoundary, fGhostPostStepPoint, fGhostPreStepPoint, fGhostStep, fOnBoundary, fpHyperStep, fPostStepDoItProc, G4Step::GetControlFlag(), G4Step::GetNonIonizingEnergyDeposit(), G4Step::GetPostStepPoint(), G4Step::GetPreStepPoint(), G4Step::GetStepLength(), G4StepPoint::GetStepStatus(), G4Step::GetTotalEnergyDeposit(), G4Step::GetTrack(), iParallelWorld, G4Step::SetControlFlag(), G4Step::SetNonIonizingEnergyDeposit(), G4Step::SetStepLength(), G4StepPoint::SetStepStatus(), G4Step::SetTotalEnergyDeposit(), and G4Step::SetTrack().

Referenced by AtRestDoIt(), and PostStepDoIt().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

const G4Step * G4ParallelWorldProcess::GetHyperStep ( )
static

Definition at line 55 of file G4ParallelWorldProcess.cc.

References fpHyperStep.

Referenced by G4OpBoundaryProcess::PostStepDoIt().

+ Here is the caller graph for this function:

G4int G4ParallelWorldProcess::GetHypNavigatorID ( )
static

Definition at line 57 of file G4ParallelWorldProcess.cc.

References fNavIDHyp.

Referenced by G4OpBoundaryProcess::PostStepDoIt().

+ Here is the caller graph for this function:

G4bool G4ParallelWorldProcess::GetLayeredMaterialFlag ( ) const
inline

Definition at line 127 of file G4ParallelWorldProcess.hh.

References layeredMaterialFlag.

G4bool G4ParallelWorldProcess::IsAtRestRequired ( G4ParticleDefinition partDef)

Definition at line 400 of file G4ParallelWorldProcess.cc.

References G4ParticleDefinition::GetParticleName(), and G4ParticleDefinition::GetPDGEncoding().

Referenced by G4ParallelWorldPhysics::ConstructProcess(), G4WorkerRunManager::ConstructScoringWorlds(), and G4RunManager::ConstructScoringWorlds().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4double G4ParallelWorldProcess::PostStepGetPhysicalInteractionLength ( const G4Track ,
G4double  ,
G4ForceCondition condition 
)
virtual

Implements G4VProcess.

Definition at line 203 of file G4ParallelWorldProcess.cc.

References DBL_MAX, and StronglyForced.

void G4ParallelWorldProcess::SetLayeredMaterialFlag ( G4bool  flg = true)
inline

Definition at line 125 of file G4ParallelWorldProcess.hh.

References layeredMaterialFlag.

Referenced by G4ParallelWorldPhysics::ConstructProcess().

+ Here is the caller graph for this function:

void G4ParallelWorldProcess::SetParallelWorld ( G4String  parallelWorldName)

Definition at line 96 of file G4ParallelWorldProcess.cc.

References fGhostNavigator, fGhostWorld, fGhostWorldName, fTransportationManager, G4TransportationManager::GetNavigator(), G4TransportationManager::GetParallelWorld(), and G4Navigator::SetPushVerbosity().

Referenced by G4ParallelWorldPhysics::ConstructProcess(), G4WorkerRunManager::ConstructScoringWorlds(), and G4RunManager::ConstructScoringWorlds().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4ParallelWorldProcess::SetParallelWorld ( G4VPhysicalVolume parallelWorld)

Definition at line 105 of file G4ParallelWorldProcess.cc.

References fGhostNavigator, fGhostWorld, fGhostWorldName, fTransportationManager, G4VPhysicalVolume::GetName(), G4TransportationManager::GetNavigator(), and G4Navigator::SetPushVerbosity().

+ Here is the call graph for this function:

void G4ParallelWorldProcess::SwitchMaterial ( G4StepPoint realWorldStepPoint)
private

Member Data Documentation

G4VParticleChange G4ParallelWorldProcess::aDummyParticleChange
private

Definition at line 145 of file G4ParallelWorldProcess.hh.

Referenced by G4ParallelWorldProcess().

G4FieldTrack G4ParallelWorldProcess::fFieldTrack
private

Definition at line 160 of file G4ParallelWorldProcess.hh.

Referenced by AlongStepGetPhysicalInteractionLength().

G4Navigator* G4ParallelWorldProcess::fGhostNavigator
private
G4StepPoint* G4ParallelWorldProcess::fGhostPostStepPoint
private
G4StepPoint* G4ParallelWorldProcess::fGhostPreStepPoint
private
G4double G4ParallelWorldProcess::fGhostSafety
private
G4Step* G4ParallelWorldProcess::fGhostStep
private
G4VPhysicalVolume* G4ParallelWorldProcess::fGhostWorld
private

Definition at line 155 of file G4ParallelWorldProcess.hh.

Referenced by SetParallelWorld().

G4String G4ParallelWorldProcess::fGhostWorldName
private

Definition at line 154 of file G4ParallelWorldProcess.hh.

Referenced by SetParallelWorld().

G4ThreadLocal G4int G4ParallelWorldProcess::fNavIDHyp = 0
staticprivate
G4int G4ParallelWorldProcess::fNavigatorID
private
G4TouchableHandle G4ParallelWorldProcess::fNewGhostTouchable
private

Definition at line 159 of file G4ParallelWorldProcess.hh.

Referenced by AtRestDoIt(), PostStepDoIt(), StartTracking(), and SwitchMaterial().

G4TouchableHandle G4ParallelWorldProcess::fOldGhostTouchable
private

Definition at line 158 of file G4ParallelWorldProcess.hh.

Referenced by AtRestDoIt(), PostStepDoIt(), and StartTracking().

G4bool G4ParallelWorldProcess::fOnBoundary
private
G4PathFinder* G4ParallelWorldProcess::fPathFinder
private
G4ThreadLocal G4Step * G4ParallelWorldProcess::fpHyperStep = 0
staticprivate
G4TransportationManager* G4ParallelWorldProcess::fTransportationManager
private
G4int G4ParallelWorldProcess::iParallelWorld
private
G4bool G4ParallelWorldProcess::layeredMaterialFlag
private
G4ThreadLocal G4int G4ParallelWorldProcess::nParallelWorlds = 0
staticprivate
G4ParticleChange G4ParallelWorldProcess::xParticleChange
private

Definition at line 146 of file G4ParallelWorldProcess.hh.


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