Import Geant4 10.1.0 source tree
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id$
|
||||
// $Id: G4RPGTwoCluster.cc 79869 2014-03-19 09:59:40Z gcosmo $
|
||||
//
|
||||
|
||||
#include <iostream>
|
||||
@@ -639,7 +639,7 @@ ReactionStage(const G4HadProjectile* originalIncident,
|
||||
pseudoParticle[4].SetTotalEnergy( etOriginal*GeV );
|
||||
pseudoParticle[4].SetMomentum( 0.0, 0.0, pOriginal*GeV );
|
||||
|
||||
G4ParticleDefinition * aOrgDef = modifiedOriginal.GetDefinition();
|
||||
const G4ParticleDefinition* aOrgDef = modifiedOriginal.GetDefinition();
|
||||
G4int diff = 0;
|
||||
if(aOrgDef == G4Proton::Proton() || aOrgDef == G4Neutron::Neutron() ) diff = 1;
|
||||
if(numberofFinalStateNucleons == 1) diff = 0;
|
||||
|
||||
Reference in New Issue
Block a user