31 fWrappedParticleChange(0),
32 fOccurenceWeightForNonInteraction(-1.0),
33 fOccurenceWeightForInteraction(-1.0)
41 fWrappedParticleChange = wpc;
53 fWrappedParticleChange->
Clear();
69 postStepPoint->
SetWeight( postStepPoint->
GetWeight() * fOccurenceWeightForNonInteraction );
80 postStepPoint->
SetWeight( postStepPoint->
GetWeight() * fOccurenceWeightForInteraction );
void SetWrappedParticleChange(G4VParticleChange *wpc)
~G4ParticleChangeForOccurenceBiasing()
virtual G4Step * UpdateStepForPostStep(G4Step *step)
G4ParticleChangeForOccurenceBiasing(G4String name)
virtual G4Step * UpdateStepForAlongStep(G4Step *step)
virtual G4Step * UpdateStepForAtRest(G4Step *step)
void SetWeight(G4double aValue)
G4double GetWeight() const
G4StepPoint * GetPostStepPoint() const
G4double GetWeight() const
void SetWeight(G4double aValue)
virtual G4Step * UpdateStepForAlongStep(G4Step *Step)
virtual G4Step * UpdateStepForPostStep(G4Step *Step)
G4int GetNumberOfSecondaries() const
void AddSecondary(G4Track *aSecondary)
void SetNumberOfSecondaries(G4int totSecondaries)
G4Track * GetSecondary(G4int anIndex) const