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
@@ -31,15 +31,23 @@
#include "G4RunManager.hh"
#include "G4HumanPhantomRunAction.hh"
#include "G4HumanPhantomEventAction.hh"
#include "G4GeneralParticleSource.hh"
G4HumanPhantomActionInitialization::G4HumanPhantomActionInitialization():
G4VUserActionInitialization()
{
//AND->3June2014, temporary to take into account new GPS
//Create an instance of GPS in master so shared resources and messenger
//exist in master.
masterGPS = new G4GeneralParticleSource();
//AND<-3June2014
}
G4HumanPhantomActionInitialization::~G4HumanPhantomActionInitialization()
{}
{
delete masterGPS;
}
void G4HumanPhantomActionInitialization::BuildForMaster() const
{
@@ -35,7 +35,7 @@
// * *
// **********************************
//
// $Id: G4HumanPhantomPhysicsList.cc 70025 2013-05-22 08:43:05Z gcosmo $
// $Id: G4HumanPhantomPhysicsList.cc 84279 2014-10-13 07:19:58Z gcosmo $
//
#include "G4HumanPhantomPhysicsList.hh"
@@ -48,12 +48,13 @@
#include "G4ios.hh"
#include "G4VModularPhysicsList.hh"
#include "G4EmStandardPhysics_option4.hh"
#include "G4DecayPhysics.hh"
G4HumanPhantomPhysicsList::G4HumanPhantomPhysicsList(): G4VModularPhysicsList()
{
SetVerboseLevel(1);
emPhysicsList = new G4EmStandardPhysics_option4(1);
decPhysicsList = new G4DecayPhysics();
// Alternatively you can substitute this physics list
// with the LowEnergy Livermore or LowEnergy Penelope:
// emPhysicsList = new G4EmLivermorePhysics();
@@ -65,18 +66,20 @@ G4HumanPhantomPhysicsList::G4HumanPhantomPhysicsList(): G4VModularPhysicsList()
G4HumanPhantomPhysicsList::~G4HumanPhantomPhysicsList()
{
delete decPhysicsList;
delete emPhysicsList;
}
void G4HumanPhantomPhysicsList::ConstructParticle()
{
emPhysicsList -> ConstructParticle();
decPhysicsList -> ConstructParticle();
}
void G4HumanPhantomPhysicsList::ConstructProcess()
{
AddTransportation();
emPhysicsList -> ConstructProcess();
decPhysicsList -> ConstructProcess();
}
void G4HumanPhantomPhysicsList::SetCuts()