Import Geant4 9.3.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 16:15:05 +02:00
parent b79225fb37
commit 74cad5e589
3877 changed files with 234205 additions and 167127 deletions
@@ -23,7 +23,7 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4Incl.hh,v 1.13 2008/06/25 17:20:04 kaitanie Exp $
// $Id: G4Incl.hh,v 1.15 2009/11/18 10:43:14 kaitanie Exp $
// Translation of INCL4.2/ABLA V3
// Pekka Kaitaniemi, HIP (translation)
// Christelle Schmidt, IPNL (fission code)
@@ -77,6 +77,7 @@ public:
~G4Incl(); // Destructor
void dumpParticles();
G4double energyTest(G4int i); // Test for NaN energy of particle i.
void dumpBl5(std::ofstream& dumpOut); // Dump the contents of G4Bl5.
void dumpSaxw(std::ofstream& dumpOut); // Dump the contents of G4Saxw.
@@ -473,7 +474,7 @@ public: // Main INCL routines
* @param r2 a double parameter
* @return a double value
*/
G4double ref(G4double x1, G4double x2, G4double x3, G4double p1,
G4double ref(G4double &x1, G4double &x2, G4double &x3, G4double p1,
G4double p2, G4double p3, G4double E, G4double r2);
/**
@@ -23,7 +23,7 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4InclAblaCascadeInterface.hh,v 1.6 2007/10/31 10:44:22 miheikki Exp $
// $Id: G4InclAblaCascadeInterface.hh,v 1.8 2009/11/18 10:43:14 kaitanie Exp $
// Translation of INCL4.2/ABLA V3
// Pekka Kaitaniemi, HIP (translation)
// Christelle Schmidt, IPNL (fission code)
@@ -65,8 +65,30 @@
using namespace std;
/**
* <h1>INCL intra-nuclear cascade with built-in ABLA de-excitation</h1>
*
* Interface for INCL/ABLA. This interface handles basic hadron
* bullet particles (protons, neutrons, pions).
*
* Example usage in case of protons:
* @code
* G4InclAblaCascadeInterface* inclModel = new G4InclAblaCascadeInterface;
* inclModel -> SetMinEnergy(0.0 * MeV); // Set the energy limits
* inclModel -> SetMaxEnergy(3.0 * GeV);
*
* G4ProtonInelasticProcess* protonInelasticProcess = new G4ProtonInelasticProcess();
* G4ProtonInelasticCrossSection* protonInelasticCrossSection = new G4ProtonInelasticCrossSection();
*
* protonInelasticProcess -> RegisterMe(inclModel);
* protonInelasticProcess -> AddDataSet(protonInelasticCrossSection);
*
* particle = G4Proton::Proton();
* processManager = particle -> GetProcessManager();
* processManager -> AddDiscreteProcess(protonInelasticProcess);
* @endcode
* The same setup procedure is needed for neutron and pion inelastic processes
* as well.
*
* @see G4InclAblaLightIonInterface
*/
@@ -76,7 +98,7 @@ public:
/**
* Basic constructor.
*/
G4InclAblaCascadeInterface();
G4InclAblaCascadeInterface(const G4String& name = "INCL/ABLA Cascade");
G4int operator==(G4InclAblaCascadeInterface& right) {
@@ -23,7 +23,7 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4InclDataDefs.hh,v 1.5 2008/06/25 17:20:04 kaitanie Exp $
// $Id: G4InclDataDefs.hh,v 1.7 2009/11/18 10:43:14 kaitanie Exp $
// Translation of INCL4.2/ABLA V3
// Pekka Kaitaniemi, HIP (translation)
// Christelle Schmidt, IPNL (fission code)
@@ -322,6 +322,16 @@ public:
G4Bl2() {};
~G4Bl2() {};
void dump() {
G4cout <<"Avatars: (number of avatars = " << k << ")" << G4endl;
for(G4int i = 0; i <= k; i++) {
G4cout <<"i = " << i << G4endl;
G4cout <<"crois[" << i << "] = " << crois[i] << G4endl;
G4cout <<"ind[" << i << "] = " << ind[i] << G4endl;
G4cout <<"jnd[" << i << "] = " << jnd[i] << G4endl;
}
}
/**
*
*/