Import Geant4 8.3.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 15:07:44 +02:00
parent fe73f43734
commit 75c7fd177d
764 changed files with 45230 additions and 95238 deletions
@@ -29,7 +29,7 @@
#include "G4ProcessManager.hh"
G4QGSCPiKBuilder::
G4QGSCPiKBuilder()
G4QGSCPiKBuilder(G4bool quasiElastic)
{
theMin = 8*GeV;
theModel = new G4TheoFSGenerator;
@@ -42,6 +42,12 @@ G4QGSCPiKBuilder()
theModel->SetTransport(theCascade);
theModel->SetHighEnergyGenerator(theStringModel);
if (quasiElastic)
{
theQuasiElastic=new G4QuasiElasticChannel;
theModel->SetQuasiElasticChannel(theQuasiElastic);
} else
{ theQuasiElastic=0;}
}
G4QGSCPiKBuilder::
@@ -50,6 +56,7 @@ G4QGSCPiKBuilder::
delete theCascade;
delete theStringDecay;
delete theStringModel;
if ( theQuasiElastic ) delete theQuasiElastic;
delete theModel;
}