Import Geant4 6.1.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 10:49:58 +02:00
parent 96686e0c8f
commit 1d812b78b1
4545 changed files with 24433 additions and 175005 deletions
@@ -20,11 +20,12 @@
// * statement, and all its terms. *
// ********************************************************************
//
// $Id: A01EMPhysics.cc,v 1.5 2003/10/11 03:00:00 tkoi Exp $
// $Id: A01EMPhysics.cc,v 1.6 2004/01/06 02:53:22 tkoi Exp $
// --------------------------------------------------------------
//
//
// 09-Oct-2003 Chhange gamma, electron, positorn process T. Koi
// 09-Oct-2003 Change gamma, electron, positorn process T. Koi
// 10-Jan-2004 Add Brems. of AlongStepDoIt for e+- T. Koi
#include "A01EMPhysics.hh"
@@ -94,6 +95,7 @@ void A01EMPhysics::ConstructProcess()
// set ordering for AlongStepDoIt
pManager->SetProcessOrdering(theeminusMultipleScattering, idxAlongStep,1);
pManager->SetProcessOrdering(theeminusIonisation, idxAlongStep,2);
pManager->SetProcessOrdering(theeminusBremsstrahlung, idxAlongStep,3);
//
// set ordering for PostStepDoIt
pManager->SetProcessOrdering(theeminusMultipleScattering, idxPostStep,1);
@@ -118,6 +120,7 @@ void A01EMPhysics::ConstructProcess()
// set ordering for AlongStepDoIt
pManager->SetProcessOrdering(theeplusMultipleScattering, idxAlongStep,1);
pManager->SetProcessOrdering(theeplusIonisation, idxAlongStep,2);
pManager->SetProcessOrdering(theeplusBremsstrahlung, idxAlongStep,3);
//
// set ordering for PostStepDoIt
pManager->SetProcessOrdering(theeplusMultipleScattering, idxPostStep,1);
@@ -20,10 +20,12 @@
// * statement, and all its terms. *
// ********************************************************************
//
// $Id: A01IonPhysics.cc,v 1.6 2003/10/14 00:15:48 tkoi Exp $
// $Id: A01IonPhysics.cc,v 1.7 2004/01/06 02:53:22 tkoi Exp $
// --------------------------------------------------------------
//
// 13-Oct-2003 Add Comment for Ionization of Generic Ion by T. Koi
// 13-Oct-2003 Add Comment for Ionisation of Generic Ion by T. Koi
// 05-Jan-2004 Change G. Ion Ionisation from G4hIonisation
// to G4ionIonisation T. Koi
#include "A01IonPhysics.hh"
@@ -71,7 +73,10 @@ void A01IonPhysics::ConstructProcess()
//
// G4hIonization may be not able to use for Geanric Ion in future
// Please take care using this physics list after v5.2.p02
G4VProcess* thegionIonisation = new G4hIonisation();
// G4VProcess* thegionIonisation = new G4hIonisation();
//
// From V6.0 hIonisation does not work for GenericIon
G4VProcess* thegionIonisation = new G4ionIonisation();
//
pManager->AddProcess(thegionIonisation);
pManager->AddProcess(thegionMultipleScattering);
@@ -20,10 +20,11 @@
// * statement, and all its terms. *
// ********************************************************************
//
// $Id: A01MuonPhysics.cc,v 1.5 2003/10/11 03:00:00 tkoi Exp $
// $Id: A01MuonPhysics.cc,v 1.6 2004/01/06 02:53:22 tkoi Exp $
// --------------------------------------------------------------
//
// 09-Oct-2003 mu+- tau+- processes are changed by T. Koi
// 05-Jan-2004 Add Brem. and PairProd. of AlongStepDoit for mu+- by T. Koi
#include "A01MuonPhysics.hh"
@@ -92,6 +93,9 @@ void A01MuonPhysics::ConstructProcess()
// set ordering for AlongStepDoIt
pManager->SetProcessOrdering(thempMultipleScattering, idxAlongStep,1);
pManager->SetProcessOrdering(thempIonisation, idxAlongStep,2);
pManager->SetProcessOrdering(thempBremsstrahlung, idxAlongStep,3);
pManager->SetProcessOrdering(thempPairProduction, idxAlongStep,4);
// set ordering for PostStepDoIt
pManager->SetProcessOrdering(thempMultipleScattering, idxPostStep,1);
pManager->SetProcessOrdering(thempIonisation, idxPostStep,2);
@@ -99,6 +103,7 @@ void A01MuonPhysics::ConstructProcess()
pManager->SetProcessOrdering(thempPairProduction, idxPostStep,4);
//Muon-
pManager = G4MuonMinus::MuonMinus()->GetProcessManager();
G4VProcess* themmMultipleScattering = new G4MultipleScattering();
G4VProcess* themmBremsstrahlung = new G4MuBremsstrahlung();
G4VProcess* themmPairProduction = new G4MuPairProduction();
@@ -113,6 +118,8 @@ void A01MuonPhysics::ConstructProcess()
// set ordering for AlongStepDoIt
pManager->SetProcessOrdering(themmMultipleScattering, idxAlongStep,1);
pManager->SetProcessOrdering(themmIonisation, idxAlongStep,2);
pManager->SetProcessOrdering(themmBremsstrahlung, idxAlongStep,3);
pManager->SetProcessOrdering(themmPairProduction, idxAlongStep,4);
// set ordering for PostStepDoIt
pManager->SetProcessOrdering(themmMultipleScattering, idxPostStep,1);
pManager->SetProcessOrdering(themmIonisation, idxPostStep,2);
@@ -20,9 +20,10 @@
// * statement, and all its terms. *
// ********************************************************************
//
// $Id: A01PhysicsList.cc,v 1.5 2003/10/11 03:00:00 tkoi Exp $
// $Id: A01PhysicsList.cc,v 1.6 2004/01/30 00:56:55 tkoi Exp $
// --------------------------------------------------------------
//
// 28-Jan-04 Add QGSP_BERT and QGSP_BIC for hadronic lists. T. Koi
#include "A01PhysicsList.hh"
@@ -46,6 +47,9 @@
#include "A01HadronPhysics.hh"
#include "A01IonPhysics.hh"
#include "HadronPhysicsQGSP_BERT.hh"
#include "HadronPhysicsQGSP_BIC.hh"
A01PhysicsList::A01PhysicsList(): G4VModularPhysicsList()
{
// default cut value (1.0mm)
@@ -62,12 +66,13 @@ A01PhysicsList::A01PhysicsList(): G4VModularPhysicsList()
RegisterPhysics( new A01MuonPhysics("muon"));
// Hadron Physics
RegisterPhysics( new A01HadronPhysics("hadron"));
//RegisterPhysics( new A01HadronPhysics("hadron"));
RegisterPhysics( new HadronPhysicsQGSP_BERT("hadron"));
//RegisterPhysics( new HadronPhysicsQGSP_BIC("hadron"));
// Ion Physics
RegisterPhysics( new A01IonPhysics("ion"));
}
A01PhysicsList::~A01PhysicsList()