Import Geant4 9.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 15:16:48 +02:00
parent 75c7fd177d
commit a8e9364cea
6592 changed files with 84274 additions and 69292 deletions
+8 -21
View File
@@ -23,8 +23,8 @@
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
// $Id: QBBC.icc,v 1.5 2007/04/16 11:57:40 vnivanch Exp $
// GEANT4 tag $Name: geant4-08-03 $
// $Id: QBBC.icc,v 1.7 2007/06/01 14:56:52 vnivanch Exp $
// GEANT4 tag $Name: geant4-09-00 $
//
//---------------------------------------------------------------------------
//
@@ -34,6 +34,7 @@
//
// Modified:
// 24.11.06 Add G4HadronHElasticPhysics and G4NeutronTrackingCut
// 16.05.2007 V.Ivanchenko: rename EM builders
//
//----------------------------------------------------------------------------
//
@@ -66,7 +67,7 @@ template<class T> TQBBC<T>::TQBBC( G4int ver, const G4String& type, G4bool gl):
this->SetVerboseLevel(ver);
// EM Physics
this->RegisterPhysics( new G4EmStandardPhysics("standard EM",ver));
this->RegisterPhysics( new G4EmStandardPhysics(ver));
// Synchroton Radiation & GN Physics
this->RegisterPhysics( new G4EmExtraPhysics("extra EM"));
@@ -76,47 +77,33 @@ template<class T> TQBBC<T>::TQBBC( G4int ver, const G4String& type, G4bool gl):
// Hadron Physics
if(type == "QBBC") {
this->RegisterPhysics( new G4HadronElasticPhysics("hElastic",ver,false));
this->RegisterPhysics( new G4HadronElasticPhysics("hElastic",ver,false,gl));
this->RegisterPhysics( new G4QStoppingPhysics("stopping",ver));
this->RegisterPhysics( new G4IonBinaryCascadePhysics("ionBIC"));
this->RegisterPhysics( new G4HadronInelasticQBBC("inelastic", ver, false,
false, false, false, gl));
} else if(type == "QBEC") {
this->RegisterPhysics( new G4HadronElasticPhysics("hElastic",ver,false));
this->RegisterPhysics( new G4HadronElasticPhysics("hElastic",ver,false,gl));
this->RegisterPhysics( new G4QStoppingPhysics("stopping",ver));
this->RegisterPhysics( new G4IonBinaryCascadePhysics("ionBIC"));
this->RegisterPhysics( new G4HadronInelasticQBBC("inelastic", ver, false,
true, false, false, gl));
} else if(type == "QBBC_HP") {
this->RegisterPhysics( new G4HadronElasticPhysics("hElastic",ver,true));
this->RegisterPhysics( new G4HadronElasticPhysics("hElastic",ver,true,gl));
this->RegisterPhysics( new G4QStoppingPhysics("stopping",ver));
this->RegisterPhysics( new G4IonBinaryCascadePhysics("ionBIC"));
this->RegisterPhysics( new G4HadronInelasticQBBC("inelastic", ver, false,
false, false, true, gl));
} else if(type == "QBEC_HP") {
this->RegisterPhysics( new G4HadronElasticPhysics("hElastic",ver,true));
this->RegisterPhysics( new G4HadronElasticPhysics("hElastic",ver,true,gl));
this->RegisterPhysics( new G4QStoppingPhysics("stopping",ver));
this->RegisterPhysics( new G4IonBinaryCascadePhysics("ionBIC"));
this->RegisterPhysics( new G4HadronInelasticQBBC("inelastic", ver, false,
true, false, true, gl));
} else if(type == "QGSP") {
this->RegisterPhysics( new G4HadronElasticPhysics("elastic",ver,false));
this->RegisterPhysics( new G4QStoppingPhysics("stopping",ver));
this->RegisterPhysics( new G4IonPhysics("ion"));
this->RegisterPhysics( new G4HadronInelasticQLHEP("inelastic", ver,
true, false, false, false));
} else if(type == "QGSP_BERT") {
this->RegisterPhysics( new G4HadronElasticPhysics("elastic",ver,false));
this->RegisterPhysics( new G4QStoppingPhysics("stopping",ver));
this->RegisterPhysics( new G4IonPhysics("ion"));
this->RegisterPhysics( new G4HadronInelasticQLHEP("inelastic", ver,
true, true, false, false));
} else {
G4cout << "QBBC ERROR: Unknown Hadronic Physics Type <" << type
<< ">" << G4endl;