Import Geant4 7.0.0 source tree
This commit is contained in:
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: G4SamplingPostStepAction.cc,v 1.1 2003/11/26 14:51:12 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-06-00-patch-01 $
|
||||
// $Id: G4SamplingPostStepAction.cc,v 1.2 2004/10/19 00:59:40 kurasige Exp $
|
||||
// GEANT4 tag $Name: geant4-07-00-cand-01 $
|
||||
//
|
||||
// ----------------------------------------------------------------------
|
||||
// GEANT 4 class source file
|
||||
@@ -62,7 +62,7 @@ void G4SamplingPostStepAction::DoIt(const G4Track& aTrack,
|
||||
else if (nw.fN==1)
|
||||
{
|
||||
// don't split, but weight may be changed !
|
||||
aParticleChange->SetWeightChange(nw.fW);
|
||||
aParticleChange->ProposeWeight(nw.fW);
|
||||
}
|
||||
else if (nw.fN==0)
|
||||
{
|
||||
@@ -89,7 +89,7 @@ void G4SamplingPostStepAction::Split(const G4Track &aTrack,
|
||||
const G4Nsplit_Weight &nw,
|
||||
G4ParticleChange *aParticleChange)
|
||||
{
|
||||
aParticleChange->SetWeightChange(nw.fW);
|
||||
aParticleChange->ProposeWeight(nw.fW);
|
||||
aParticleChange->SetNumberOfSecondaries(nw.fN-1);
|
||||
|
||||
for (G4int i=1;i<nw.fN;i++)
|
||||
|
||||
Reference in New Issue
Block a user