Geant4
10.01.p02
|
#include <G4SamplingPostStepAction.hh>
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 G4VTrackTerminator & | fTrackTerminator |
Definition at line 49 of file G4SamplingPostStepAction.hh.
|
explicit |
Definition at line 45 of file G4SamplingPostStepAction.cc.
G4SamplingPostStepAction::~G4SamplingPostStepAction | ( | ) |
Definition at line 50 of file G4SamplingPostStepAction.cc.
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().
|
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().
|
private |
Definition at line 73 of file G4SamplingPostStepAction.hh.
Referenced by DoIt().