Geant4  10.00.p02
G4ImportanceProcess Class Reference

#include <G4ImportanceProcess.hh>

+ Inheritance diagram for G4ImportanceProcess:
+ Collaboration diagram for G4ImportanceProcess:

Public Member Functions

 G4ImportanceProcess (const G4VImportanceAlgorithm &aImportanceAlgorithm, const G4VIStore &aIstore, const G4VTrackTerminator *TrackTerminator, const G4String &aName="ImportanceProcess", G4bool para=false)
 
virtual ~G4ImportanceProcess ()
 
void SetParallelWorld (G4String parallelWorldName)
 
void StartTracking (G4Track *)
 
virtual G4double PostStepGetPhysicalInteractionLength (const G4Track &aTrack, G4double previousStepSize, G4ForceCondition *condition)
 
virtual G4VParticleChangePostStepDoIt (const G4Track &, const G4Step &)
 
virtual void KillTrack () const
 
virtual const G4StringGetName () const
 
virtual G4double AlongStepGetPhysicalInteractionLength (const G4Track &, G4double, G4double, G4double &, G4GPILSelection *)
 
virtual G4double AtRestGetPhysicalInteractionLength (const G4Track &, G4ForceCondition *)
 
virtual G4VParticleChangeAtRestDoIt (const G4Track &, const G4Step &)
 
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)
 
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 &)
 
- Public Member Functions inherited from G4VTrackTerminator
 G4VTrackTerminator ()
 
virtual ~G4VTrackTerminator ()
 

Private Member Functions

 G4ImportanceProcess (const G4ImportanceProcess &)
 
G4ImportanceProcessoperator= (const G4ImportanceProcess &)
 
void CopyStep (const G4Step &step)
 

Private Attributes

G4StepfGhostStep
 
G4StepPointfGhostPreStepPoint
 
G4StepPointfGhostPostStepPoint
 
G4ParticleChangefParticleChange
 
const G4VImportanceAlgorithmfImportanceAlgorithm
 
const G4VIStorefIStore
 
G4SamplingPostStepActionfPostStepAction
 
G4TransportationManagerfTransportationManager
 
G4PathFinderfPathFinder
 
G4String fGhostWorldName
 
G4VPhysicalVolumefGhostWorld
 
G4NavigatorfGhostNavigator
 
G4int fNavigatorID
 
G4TouchableHandle fOldGhostTouchable
 
G4TouchableHandle fNewGhostTouchable
 
G4FieldTrack fFieldTrack
 
G4double fGhostSafety
 
G4bool fOnBoundary
 
G4bool paraflag
 

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 ()
 
- 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
 
- Protected Attributes inherited from G4VTrackTerminator
G4double kCarTolerance
 

Detailed Description

Definition at line 61 of file G4ImportanceProcess.hh.

Constructor & Destructor Documentation

G4ImportanceProcess::G4ImportanceProcess ( const G4VImportanceAlgorithm aImportanceAlgorithm,
const G4VIStore aIstore,
const G4VTrackTerminator TrackTerminator,
const G4String aName = "ImportanceProcess",
G4bool  para = false 
)
G4ImportanceProcess::~G4ImportanceProcess ( )
virtual

Definition at line 104 of file G4ImportanceProcess.cc.

References fParticleChange, and fPostStepAction.

G4ImportanceProcess::G4ImportanceProcess ( const G4ImportanceProcess )
private

Member Function Documentation

G4VParticleChange * G4ImportanceProcess::AlongStepDoIt ( const G4Track aTrack,
const G4Step  
)
virtual

Implements G4VProcess.

Definition at line 453 of file G4ImportanceProcess.cc.

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

+ Here is the call graph for this function:

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

Implements G4VProcess.

Definition at line 358 of file G4ImportanceProcess.cc.

References CandidateForSelection, G4Navigator::ComputeSafety(), G4PathFinder::ComputeStep(), DBL_MAX, fFieldTrack, fGhostNavigator, fGhostSafety, fNavigatorID, fOnBoundary, fPathFinder, G4ThreadLocal, G4Track::GetCurrentStepNumber(), G4Track::GetVolume(), kDoNot, kSharedOther, kSharedTransport, kUnique, NotCandidateForSelection, paraflag, and G4FieldTrackUpdator::Update().

+ Here is the call graph for this function:

G4VParticleChange * G4ImportanceProcess::AtRestDoIt ( const G4Track ,
const G4Step  
)
virtual

Implements G4VProcess.

Definition at line 447 of file G4ImportanceProcess.cc.

G4double G4ImportanceProcess::AtRestGetPhysicalInteractionLength ( const G4Track ,
G4ForceCondition  
)
virtual

Implements G4VProcess.

Definition at line 440 of file G4ImportanceProcess.cc.

void G4ImportanceProcess::CopyStep ( const G4Step step)
private

Definition at line 463 of file G4ImportanceProcess.cc.

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

Referenced by PostStepDoIt().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

const G4String & G4ImportanceProcess::GetName ( void  ) const
virtual

Implements G4VTrackTerminator.

Definition at line 352 of file G4ImportanceProcess.cc.

References G4VProcess::theProcessName.

void G4ImportanceProcess::KillTrack ( ) const
virtual

Implements G4VTrackTerminator.

Definition at line 347 of file G4ImportanceProcess.cc.

References fParticleChange, fStopAndKill, and G4VParticleChange::ProposeTrackStatus().

+ Here is the call graph for this function:

G4ImportanceProcess& G4ImportanceProcess::operator= ( const G4ImportanceProcess )
private
G4double G4ImportanceProcess::PostStepGetPhysicalInteractionLength ( const G4Track aTrack,
G4double  previousStepSize,
G4ForceCondition condition 
)
virtual

Implements G4VProcess.

Definition at line 199 of file G4ImportanceProcess.cc.

References DBL_MAX, and Forced.

void G4ImportanceProcess::SetParallelWorld ( G4String  parallelWorldName)

Definition at line 123 of file G4ImportanceProcess.cc.

References fGhostNavigator, fGhostWorld, fGhostWorldName, fTransportationManager, G4cout, G4endl, G4TransportationManager::GetNavigator(), and G4TransportationManager::GetParallelWorld().

Referenced by G4ImportanceConfigurator::Configure().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4ImportanceProcess::StartTracking ( G4Track trk)
virtual

Member Data Documentation

G4FieldTrack G4ImportanceProcess::fFieldTrack
private

Definition at line 155 of file G4ImportanceProcess.hh.

Referenced by AlongStepGetPhysicalInteractionLength().

G4Navigator* G4ImportanceProcess::fGhostNavigator
private
G4StepPoint* G4ImportanceProcess::fGhostPostStepPoint
private

Definition at line 136 of file G4ImportanceProcess.hh.

Referenced by CopyStep(), G4ImportanceProcess(), PostStepDoIt(), and StartTracking().

G4StepPoint* G4ImportanceProcess::fGhostPreStepPoint
private

Definition at line 135 of file G4ImportanceProcess.hh.

Referenced by CopyStep(), G4ImportanceProcess(), PostStepDoIt(), and StartTracking().

G4double G4ImportanceProcess::fGhostSafety
private

Definition at line 156 of file G4ImportanceProcess.hh.

Referenced by AlongStepGetPhysicalInteractionLength(), and StartTracking().

G4Step* G4ImportanceProcess::fGhostStep
private

Definition at line 134 of file G4ImportanceProcess.hh.

Referenced by CopyStep(), and G4ImportanceProcess().

G4VPhysicalVolume* G4ImportanceProcess::fGhostWorld
private

Definition at line 150 of file G4ImportanceProcess.hh.

Referenced by SetParallelWorld().

G4String G4ImportanceProcess::fGhostWorldName
private

Definition at line 149 of file G4ImportanceProcess.hh.

Referenced by SetParallelWorld().

const G4VImportanceAlgorithm& G4ImportanceProcess::fImportanceAlgorithm
private

Definition at line 139 of file G4ImportanceProcess.hh.

Referenced by PostStepDoIt().

const G4VIStore& G4ImportanceProcess::fIStore
private

Definition at line 140 of file G4ImportanceProcess.hh.

Referenced by PostStepDoIt().

G4int G4ImportanceProcess::fNavigatorID
private
G4TouchableHandle G4ImportanceProcess::fNewGhostTouchable
private

Definition at line 154 of file G4ImportanceProcess.hh.

Referenced by PostStepDoIt(), and StartTracking().

G4TouchableHandle G4ImportanceProcess::fOldGhostTouchable
private

Definition at line 153 of file G4ImportanceProcess.hh.

Referenced by PostStepDoIt(), and StartTracking().

G4bool G4ImportanceProcess::fOnBoundary
private
G4ParticleChange* G4ImportanceProcess::fParticleChange
private
G4PathFinder* G4ImportanceProcess::fPathFinder
private
G4SamplingPostStepAction* G4ImportanceProcess::fPostStepAction
private

Definition at line 141 of file G4ImportanceProcess.hh.

Referenced by G4ImportanceProcess(), PostStepDoIt(), and ~G4ImportanceProcess().

G4TransportationManager* G4ImportanceProcess::fTransportationManager
private

Definition at line 143 of file G4ImportanceProcess.hh.

Referenced by G4ImportanceProcess(), SetParallelWorld(), and StartTracking().

G4bool G4ImportanceProcess::paraflag
private

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