Geant4  10.00.p01
G4WeightCutOffProcess Class Reference

#include <G4WeightCutOffProcess.hh>

+ Inheritance diagram for G4WeightCutOffProcess:
+ Collaboration diagram for G4WeightCutOffProcess:

Public Member Functions

 G4WeightCutOffProcess (G4double wsurvival, G4double wlimit, G4double isource, G4VIStore *istore, const G4String &aName="WeightCutOffProcess", G4bool para=false)
 
virtual ~G4WeightCutOffProcess ()
 
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 &)
 
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 &)
 

Private Member Functions

void CopyStep (const G4Step &step)
 
 G4WeightCutOffProcess (const G4WeightCutOffProcess &)
 
G4WeightCutOffProcessoperator= (const G4WeightCutOffProcess &)
 

Private Attributes

G4StepfGhostStep
 
G4StepPointfGhostPreStepPoint
 
G4StepPointfGhostPostStepPoint
 
G4ParticleChangefParticleChange
 
G4double fWeightSurvival
 
G4double fWeightLimit
 
G4double fSourceImportance
 
G4VIStorefIStore
 
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
 

Detailed Description

Definition at line 59 of file G4WeightCutOffProcess.hh.

Constructor & Destructor Documentation

G4WeightCutOffProcess::G4WeightCutOffProcess ( G4double  wsurvival,
G4double  wlimit,
G4double  isource,
G4VIStore istore,
const G4String aName = "WeightCutOffProcess",
G4bool  para = false 
)
G4WeightCutOffProcess::~G4WeightCutOffProcess ( )
virtual

Definition at line 96 of file G4WeightCutOffProcess.cc.

References fParticleChange.

G4WeightCutOffProcess::G4WeightCutOffProcess ( const G4WeightCutOffProcess )
private

Member Function Documentation

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

Implements G4VProcess.

Definition at line 388 of file G4WeightCutOffProcess.cc.

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

+ Here is the call graph for this function:

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

Implements G4VProcess.

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

Implements G4VProcess.

Definition at line 382 of file G4WeightCutOffProcess.cc.

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

Implements G4VProcess.

Definition at line 375 of file G4WeightCutOffProcess.cc.

void G4WeightCutOffProcess::CopyStep ( const G4Step step)
private

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

Definition at line 293 of file G4WeightCutOffProcess.cc.

References G4VProcess::theProcessName.

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

Implements G4VProcess.

Definition at line 178 of file G4WeightCutOffProcess.cc.

References DBL_MAX, and Forced.

void G4WeightCutOffProcess::SetParallelWorld ( G4String  parallelWorldName)

Definition at line 109 of file G4WeightCutOffProcess.cc.

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

Referenced by G4WeightCutOffConfigurator::Configure().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4WeightCutOffProcess::SetParallelWorld ( G4VPhysicalVolume parallelWorld)

Definition at line 121 of file G4WeightCutOffProcess.cc.

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

+ Here is the call graph for this function:

void G4WeightCutOffProcess::StartTracking ( G4Track trk)
virtual

Member Data Documentation

G4FieldTrack G4WeightCutOffProcess::fFieldTrack
private

Definition at line 150 of file G4WeightCutOffProcess.hh.

Referenced by AlongStepGetPhysicalInteractionLength().

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

Definition at line 123 of file G4WeightCutOffProcess.hh.

Referenced by CopyStep(), and G4WeightCutOffProcess().

G4VPhysicalVolume* G4WeightCutOffProcess::fGhostWorld
private

Definition at line 145 of file G4WeightCutOffProcess.hh.

Referenced by SetParallelWorld().

G4String G4WeightCutOffProcess::fGhostWorldName
private

Definition at line 144 of file G4WeightCutOffProcess.hh.

Referenced by SetParallelWorld().

G4VIStore* G4WeightCutOffProcess::fIStore
private

Definition at line 134 of file G4WeightCutOffProcess.hh.

Referenced by PostStepDoIt().

G4int G4WeightCutOffProcess::fNavigatorID
private
G4TouchableHandle G4WeightCutOffProcess::fNewGhostTouchable
private

Definition at line 149 of file G4WeightCutOffProcess.hh.

Referenced by PostStepDoIt(), and StartTracking().

G4TouchableHandle G4WeightCutOffProcess::fOldGhostTouchable
private

Definition at line 148 of file G4WeightCutOffProcess.hh.

Referenced by PostStepDoIt(), and StartTracking().

G4bool G4WeightCutOffProcess::fOnBoundary
private
G4ParticleChange* G4WeightCutOffProcess::fParticleChange
private
G4PathFinder* G4WeightCutOffProcess::fPathFinder
private
G4double G4WeightCutOffProcess::fSourceImportance
private

Definition at line 133 of file G4WeightCutOffProcess.hh.

Referenced by PostStepDoIt().

G4TransportationManager* G4WeightCutOffProcess::fTransportationManager
private
G4double G4WeightCutOffProcess::fWeightLimit
private

Definition at line 132 of file G4WeightCutOffProcess.hh.

Referenced by PostStepDoIt().

G4double G4WeightCutOffProcess::fWeightSurvival
private

Definition at line 131 of file G4WeightCutOffProcess.hh.

Referenced by PostStepDoIt().

G4bool G4WeightCutOffProcess::paraflag
private

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