Geant4  10.00.p01
G4SamplingPostStepAction Class Reference

#include <G4SamplingPostStepAction.hh>

+ Collaboration diagram for G4SamplingPostStepAction:

Public Member Functions

 G4SamplingPostStepAction (const G4VTrackTerminator &TrackTerminator)
 
 ~G4SamplingPostStepAction ()
 
void DoIt (const G4Track &aTrack, G4ParticleChange *aParticleChange, const G4Nsplit_Weight &nw)
 

Private Member Functions

void Split (const G4Track &aTrack, const G4Nsplit_Weight &nw, G4ParticleChange *aParticleChange)
 

Private Attributes

const G4VTrackTerminatorfTrackTerminator
 

Detailed Description

Definition at line 49 of file G4SamplingPostStepAction.hh.

Constructor & Destructor Documentation

G4SamplingPostStepAction::G4SamplingPostStepAction ( const G4VTrackTerminator TrackTerminator)
explicit

Definition at line 45 of file G4SamplingPostStepAction.cc.

G4SamplingPostStepAction::~G4SamplingPostStepAction ( )

Definition at line 50 of file G4SamplingPostStepAction.cc.

Member Function Documentation

void G4SamplingPostStepAction::DoIt ( const G4Track aTrack,
G4ParticleChange aParticleChange,
const G4Nsplit_Weight nw 
)

Definition at line 54 of file G4SamplingPostStepAction.cc.

References FatalException, G4Nsplit_Weight::fN, fTrackTerminator, G4Nsplit_Weight::fW, G4Exception(), G4VTrackTerminator::KillTrack(), G4VParticleChange::ProposeWeight(), and Split().

Referenced by G4ImportanceProcess::PostStepDoIt(), and G4WeightWindowProcess::PostStepDoIt().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4SamplingPostStepAction::Split ( const G4Track aTrack,
const G4Nsplit_Weight nw,
G4ParticleChange aParticleChange 
)
private

Definition at line 88 of file G4SamplingPostStepAction.cc.

References G4ParticleChange::AddSecondary(), FatalException, G4Nsplit_Weight::fN, G4Nsplit_Weight::fW, G4Exception(), G4Track::GetMomentumDirection(), G4VParticleChange::ProposeWeight(), G4VParticleChange::SetNumberOfSecondaries(), and G4Track::SetWeight().

Referenced by DoIt().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

const G4VTrackTerminator& G4SamplingPostStepAction::fTrackTerminator
private

Definition at line 73 of file G4SamplingPostStepAction.hh.

Referenced by DoIt().


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