Import Geant4 9.2.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 15:58:43 +02:00
parent 96c8bcd0af
commit b79225fb37
7544 changed files with 245407 additions and 91099 deletions
@@ -14,6 +14,23 @@ code and to keep track of all tags.
* Please list in reverse chronological order (last date on top)
---------------------------------------------------------------
19 June 2008 - G.Cosmo (hadr-modman-V09-01-03)
-----------------------------------------------
- included change introduced in hadr-modman-V09-01-01 and
discarded by imstake in the last tag ...
19 June 2008 - V.Ivanchenko (hadr-modman-V09-01-02)
-------------------------------------------------
- comment out destructor of G4HadronicInteractionRegistry
16 May 2008 - G.Folger (hadr-modman-V09-01-01)
-------------------------------------------------
- add pure virtual G4V3DNucleus::SortNucleonsInZ()
21 Mar 2008 - D.H. Wright (hadr-modman-V09-01-00)
-------------------------------------------------
Fix gcc-4.3 compiler warning in G4InelasticInteraction.cc
11 Jan 2007 - D.H. Wright (hadr-modman-V08-02-00)
-------------------------------------------------
For error reporting, add model name arguments and default names to
@@ -25,7 +25,7 @@
//
//
// $Id: G4HadronicInteraction.hh,v 1.8 2007/01/11 05:30:01 dennis Exp $
// GEANT4 tag $Name: geant4-09-01 $
// GEANT4 tag $Name: geant4-09-02 $
//
// Hadronic Interaction abstract base class
// This class is the base class for the model classes.
@@ -25,7 +25,7 @@
//
//
// $Id: G4InelasticInteraction.hh,v 1.5 2007/01/11 05:30:12 dennis Exp $
// GEANT4 tag $Name: geant4-09-01 $
// GEANT4 tag $Name: geant4-09-02 $
//
// Hadronic Process: Inelastic Interaction
// This class is an abstract base class, since the pure virtual
@@ -24,8 +24,8 @@
// ********************************************************************
//
//
// $Id: G4V3DNucleus.hh,v 1.5 2006/06/29 20:45:37 gunter Exp $
// GEANT4 tag $Name: geant4-09-01 $
// $Id: G4V3DNucleus.hh,v 1.6 2008/05/16 14:02:37 gunter Exp $
// GEANT4 tag $Name: geant4-09-02 $
//
#ifndef G4V3DNucleus_h
#define G4V3DNucleus_h 1
@@ -68,6 +68,8 @@ class G4V3DNucleus
virtual void DoLorentzContraction(const G4ThreeVector & theBeta) = 0;
virtual void DoTranslation(const G4ThreeVector & theShift) = 0;
virtual const G4VNuclearDensity * GetNuclearDensity() const = 0;
virtual void SortNucleonsInZ() = 0;
public:
std::pair<G4double, G4double> ChooseImpactXandY(G4double maxImpact);
std::pair<G4double, G4double> RefetchImpactXandY(){return theImpactParameter;}
@@ -25,7 +25,7 @@
//
//
// $Id: G4VHighEnergyGenerator.hh,v 1.4 2006/06/29 20:45:41 gunter Exp $
// GEANT4 tag $Name: geant4-09-01 $
// GEANT4 tag $Name: geant4-09-02 $
//
#ifndef G4VHighEnergyGenerator_h
#define G4VHighEnergyGenerator_h 1
@@ -25,7 +25,7 @@
//
//
// $Id: G4VIntraNuclearTransportModel.hh,v 1.4 2007/01/11 05:29:46 dennis Exp $
// GEANT4 tag $Name: geant4-09-01 $
// GEANT4 tag $Name: geant4-09-02 $
//
// $Id: G4IntraNuclearTransportMode.hh,v 1.0 1998/06/30
// -----------------------------------------------------------------------------
@@ -25,7 +25,7 @@
//
//
// $Id: G4VKineticNucleon.hh,v 1.4 2006/06/29 20:45:47 gunter Exp $
// GEANT4 tag $Name: geant4-09-01 $
// GEANT4 tag $Name: geant4-09-02 $
//
#ifndef G4VKineticNucleon_h
#define G4VKineticNucleon_h 1
@@ -25,7 +25,7 @@
//
//
// $Id: G4VNuclearDensity.hh,v 1.4 2006/06/29 20:45:49 gunter Exp $
// GEANT4 tag $Name: geant4-09-01 $
// GEANT4 tag $Name: geant4-09-02 $
//
#ifndef G4VNuclearDensity_h
#define G4VNuclearDensity_h 1
@@ -25,7 +25,7 @@
//
//
// $Id: G4VPreCompoundModel.hh,v 1.5 2007/01/11 05:29:34 dennis Exp $
// GEANT4 tag $Name: geant4-09-01 $
// GEANT4 tag $Name: geant4-09-02 $
//
#ifndef G4VPreCompoundModel_h
@@ -48,10 +48,12 @@ RemoveMe(G4HadronicInteraction * aModel)
G4HadronicInteractionRegistry::~G4HadronicInteractionRegistry()
{
/*
while(allModels.size()!=0)
{
delete allModels.front();
}
*/
}
void G4HadronicInteractionRegistry::
@@ -259,13 +259,17 @@
std::vector<G4ReactionProduct> savevec;
for (G4int i = 0; i < vecLen; i++) savevec.push_back(*vec[i]);
if( annihilation || (vecLen >= 6) ||
(modifiedOriginal.GetKineticEnergy()/GeV >= 1.0) &&
(((originalIncident->GetDefinition() == G4KaonPlus::KaonPlus() ||
originalIncident->GetDefinition() == G4KaonMinus::KaonMinus() ||
originalIncident->GetDefinition() == G4KaonZeroLong::KaonZeroLong() ||
originalIncident->GetDefinition() == G4KaonZeroShort::KaonZeroShort()) &&
rand1 < 0.5) || rand2 > twsup[vecLen]) )
if (annihilation ||
vecLen >= 6 ||
( modifiedOriginal.GetKineticEnergy()/GeV >= 1.0 &&
( ( (originalIncident->GetDefinition() == G4KaonPlus::KaonPlus() ||
originalIncident->GetDefinition() == G4KaonMinus::KaonMinus() ||
originalIncident->GetDefinition() == G4KaonZeroLong::KaonZeroLong() ||
originalIncident->GetDefinition() == G4KaonZeroShort::KaonZeroShort() )
&&
rand1 < 0.5 )
|| rand2 > twsup[vecLen] ) ) )
finishedGenXPt =
theReactionDynamics.GenerateXandPt( vec, vecLen,
modifiedOriginal, originalIncident,
@@ -25,7 +25,7 @@
//
//
// $Id: G4V3DNucleus.cc,v 1.5 2006/06/29 20:45:59 gunter Exp $
// GEANT4 tag $Name: geant4-09-01 $
// GEANT4 tag $Name: geant4-09-02 $
//
#include "G4V3DNucleus.hh"
#include "G4HadronicException.hh"
@@ -25,7 +25,7 @@
//
//
// $Id: G4VHighEnergyGenerator.cc,v 1.5 2006/06/29 20:46:03 gunter Exp $
// GEANT4 tag $Name: geant4-09-01 $
// GEANT4 tag $Name: geant4-09-02 $
//
// G4VHighEnergyGenerator
#include "G4VHighEnergyGenerator.hh"
@@ -25,7 +25,7 @@
//
//
// $Id: G4VIntraNuclearTransportModel.cc,v 1.5 2007/01/11 05:28:56 dennis Exp $
// GEANT4 tag $Name: geant4-09-01 $
// GEANT4 tag $Name: geant4-09-02 $
//
// $Id: G4VIntraNuclearTransportModel.cc,v 1.0 1998/06/30
// -----------------------------------------------------------------------------
@@ -25,7 +25,7 @@
//
//
// $Id: G4VKineticNucleon.cc,v 1.3 2006/06/29 20:46:07 gunter Exp $
// GEANT4 tag $Name: geant4-09-01 $
// GEANT4 tag $Name: geant4-09-02 $
//
#include "G4VKineticNucleon.hh"
@@ -25,7 +25,7 @@
//
//
// $Id: G4VNuclearDensity.cc,v 1.3 2006/06/29 20:46:09 gunter Exp $
// GEANT4 tag $Name: geant4-09-01 $
// GEANT4 tag $Name: geant4-09-02 $
//
#include "G4VNuclearDensity.hh"
@@ -25,7 +25,7 @@
//
//
// $Id: G4VPreCompoundModel.cc,v 1.6 2007/01/11 05:29:10 dennis Exp $
// GEANT4 tag $Name: geant4-09-01 $
// GEANT4 tag $Name: geant4-09-02 $
//
#include "G4VPreCompoundModel.hh"