Geant4  10.00.p02
G4WeightWindowProcess Class Reference

#include <G4WeightWindowProcess.hh>

+ Inheritance diagram for G4WeightWindowProcess:
+ Collaboration diagram for G4WeightWindowProcess:

Public Member Functions

 G4WeightWindowProcess (const G4VWeightWindowAlgorithm &aWeightWindowAlgorithm, const G4VWeightWindowStore &aWWStore, const G4VTrackTerminator *TrackTerminator, G4PlaceOfAction placeOfAction, const G4String &aName="WeightWindowProcess", G4bool para=false)
 
virtual ~G4WeightWindowProcess ()
 
void SetParallelWorld (G4String parallelWorldName)
 
void SetParallelWorld (G4VPhysicalVolume *parallelWorld)
 
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

 G4WeightWindowProcess (const G4WeightWindowProcess &)
 
G4WeightWindowProcessoperator= (const G4WeightWindowProcess &)
 
void CopyStep (const G4Step &step)
 

Private Attributes

G4StepfGhostStep
 
G4StepPointfGhostPreStepPoint
 
G4StepPointfGhostPostStepPoint
 
G4ParticleChangefParticleChange
 
const G4VWeightWindowAlgorithmfWeightWindowAlgorithm
 
const G4VWeightWindowStorefWeightWindowStore
 
G4SamplingPostStepActionfPostStepAction
 
G4PlaceOfAction fPlaceOfAction
 
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 62 of file G4WeightWindowProcess.hh.

Constructor & Destructor Documentation

G4WeightWindowProcess::G4WeightWindowProcess ( const G4VWeightWindowAlgorithm aWeightWindowAlgorithm,
const G4VWeightWindowStore aWWStore,
const G4VTrackTerminator TrackTerminator,
G4PlaceOfAction  placeOfAction,
const G4String aName = "WeightWindowProcess",
G4bool  para = false 
)
G4WeightWindowProcess::~G4WeightWindowProcess ( )
virtual

Definition at line 102 of file G4WeightWindowProcess.cc.

References fParticleChange, and fPostStepAction.

G4WeightWindowProcess::G4WeightWindowProcess ( const G4WeightWindowProcess )
private

Member Function Documentation

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

Implements G4VProcess.

Definition at line 389 of file G4WeightWindowProcess.cc.

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

+ Here is the call graph for this function:

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

Implements G4VProcess.

Definition at line 301 of file G4WeightWindowProcess.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 * G4WeightWindowProcess::AtRestDoIt ( const G4Track ,
const G4Step  
)
virtual

Implements G4VProcess.

Definition at line 383 of file G4WeightWindowProcess.cc.

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

Implements G4VProcess.

Definition at line 376 of file G4WeightWindowProcess.cc.

void G4WeightWindowProcess::CopyStep ( const G4Step step)
private

Definition at line 399 of file G4WeightWindowProcess.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 & G4WeightWindowProcess::GetName ( void  ) const
virtual

Implements G4VTrackTerminator.

Definition at line 295 of file G4WeightWindowProcess.cc.

References G4VProcess::GetProcessName().

+ Here is the call graph for this function:

void G4WeightWindowProcess::KillTrack ( ) const
virtual

Implements G4VTrackTerminator.

Definition at line 290 of file G4WeightWindowProcess.cc.

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

+ Here is the call graph for this function:

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

Implements G4VProcess.

Definition at line 187 of file G4WeightWindowProcess.cc.

References DBL_MAX, and Forced.

void G4WeightWindowProcess::SetParallelWorld ( G4String  parallelWorldName)

Definition at line 118 of file G4WeightWindowProcess.cc.

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

Referenced by G4WeightWindowConfigurator::Configure().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4WeightWindowProcess::SetParallelWorld ( G4VPhysicalVolume parallelWorld)

Definition at line 130 of file G4WeightWindowProcess.cc.

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

+ Here is the call graph for this function:

void G4WeightWindowProcess::StartTracking ( G4Track trk)
virtual

Member Data Documentation

G4FieldTrack G4WeightWindowProcess::fFieldTrack
private

Definition at line 161 of file G4WeightWindowProcess.hh.

Referenced by AlongStepGetPhysicalInteractionLength().

G4Navigator* G4WeightWindowProcess::fGhostNavigator
private
G4StepPoint* G4WeightWindowProcess::fGhostPostStepPoint
private
G4StepPoint* G4WeightWindowProcess::fGhostPreStepPoint
private
G4double G4WeightWindowProcess::fGhostSafety
private
G4Step* G4WeightWindowProcess::fGhostStep
private

Definition at line 139 of file G4WeightWindowProcess.hh.

Referenced by CopyStep(), and G4WeightWindowProcess().

G4VPhysicalVolume* G4WeightWindowProcess::fGhostWorld
private

Definition at line 156 of file G4WeightWindowProcess.hh.

Referenced by SetParallelWorld().

G4String G4WeightWindowProcess::fGhostWorldName
private

Definition at line 155 of file G4WeightWindowProcess.hh.

Referenced by SetParallelWorld().

G4int G4WeightWindowProcess::fNavigatorID
private
G4TouchableHandle G4WeightWindowProcess::fNewGhostTouchable
private

Definition at line 160 of file G4WeightWindowProcess.hh.

Referenced by PostStepDoIt(), and StartTracking().

G4TouchableHandle G4WeightWindowProcess::fOldGhostTouchable
private

Definition at line 159 of file G4WeightWindowProcess.hh.

Referenced by PostStepDoIt(), and StartTracking().

G4bool G4WeightWindowProcess::fOnBoundary
private
G4ParticleChange* G4WeightWindowProcess::fParticleChange
private
G4PathFinder* G4WeightWindowProcess::fPathFinder
private
G4PlaceOfAction G4WeightWindowProcess::fPlaceOfAction
private

Definition at line 147 of file G4WeightWindowProcess.hh.

Referenced by PostStepDoIt().

G4SamplingPostStepAction* G4WeightWindowProcess::fPostStepAction
private
G4TransportationManager* G4WeightWindowProcess::fTransportationManager
private
const G4VWeightWindowAlgorithm& G4WeightWindowProcess::fWeightWindowAlgorithm
private

Definition at line 144 of file G4WeightWindowProcess.hh.

Referenced by PostStepDoIt().

const G4VWeightWindowStore& G4WeightWindowProcess::fWeightWindowStore
private

Definition at line 145 of file G4WeightWindowProcess.hh.

Referenced by PostStepDoIt().

G4bool G4WeightWindowProcess::paraflag
private

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