Import Geant4 10.7.0.beta source tree

This commit is contained in:
Gabriele Cosmo
2020-06-26 10:23:25 +02:00
parent c02c370437
commit 67ba86d073
1871 changed files with 174422 additions and 131884 deletions
@@ -14,6 +14,11 @@ code and to keep track of all tags.
* Please list in reverse chronological order (last date on top)
---------------------------------------------------------------
11 January 2020 Dennis Wright (hadr-rpg-V10-06-00)
-------------------------------------------------------
- fix Coverity unused variable warnings for wgt (60890 and 60891) in
G4RPGTwoCluster.cc and G4RPGFragmentation.cc
9 May 2018 Alberto Ribon (hadr-rpg-V10-04-00)
--------------------------------------------------------
- G4RPGAntiKZeroInelastic, G4RPGInelastic : fixed warnings in gcc 8
@@ -817,8 +817,11 @@ ReactionStage(const G4HadProjectile* originalIncident,
if (tempList.size() > 1) {
G4int n_entry = 0;
wgt = GenerateNBodyEventT(pseudoParticle[6].GetMass(),
constantCrossSection, tempList);
// wgt = GenerateNBodyEventT(pseudoParticle[6].GetMass(),
// constantCrossSection, tempList);
// DHW: wgt not used before before being overwritten; remove it here
GenerateNBodyEventT(pseudoParticle[6].GetMass(), constantCrossSection,
tempList);
if (targetParticle.GetSide() == -3) {
targetParticle = *tempList[0];
@@ -500,8 +500,12 @@ ReactionStage(const G4HadProjectile* originalIncident,
}
if( tempLen >= 2 )
{
wgt = GenerateNBodyEvent( pseudoParticle[3].GetMass()/MeV,
constantCrossSection, tempV, tempLen );
// wgt = GenerateNBodyEvent( pseudoParticle[3].GetMass()/MeV,
// constantCrossSection, tempV, tempLen );
// DHW: wgt is not used before it is overwritten; remove it here
GenerateNBodyEvent(pseudoParticle[3].GetMass()/MeV, constantCrossSection,
tempV, tempLen);
if( currentParticle.GetSide() == 1 )
currentParticle.Lorentz( currentParticle, pseudoParticle[5] );
if( targetParticle.GetSide() == 1 )