Import Geant4 10.1.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-10 12:08:39 +02:00
parent 286caacf06
commit c9b32a6c0a
5770 changed files with 1050949 additions and 367105 deletions
@@ -23,7 +23,7 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: G4QGSBinaryProtonBuilder.cc 66892 2013-01-17 10:57:59Z gunter $
// $Id: G4QGSBinaryProtonBuilder.cc 83616 2014-09-04 13:30:16Z gcosmo $
//
//---------------------------------------------------------------------------
//
@@ -41,7 +41,6 @@
#include "G4ParticleDefinition.hh"
#include "G4ParticleTable.hh"
#include "G4ProcessManager.hh"
#include "G4ProtonInelasticCrossSection.hh"
#include "G4BGGNucleonInelasticXS.hh"
@@ -56,8 +55,6 @@ G4QGSBinaryProtonBuilder(G4bool quasiElastic)
theStringModel->SetFragmentationModel(theStringDecay);
theCascade = new G4BinaryCascade;
thePreEquilib = new G4PreCompoundModel(new G4ExcitationHandler);
theCascade->SetDeExcitation(thePreEquilib);
theModel->SetTransport(theCascade);
theModel->SetHighEnergyGenerator(theStringModel);
@@ -85,11 +82,8 @@ Build(G4HadronElasticProcess * )
G4QGSBinaryProtonBuilder::~G4QGSBinaryProtonBuilder()
{
delete thePreEquilib;
delete theCascade;
if ( theQuasiElastic ) delete theQuasiElastic;
delete theStringDecay;
delete theStringModel;
delete theModel;
}