Import Geant4 10.0.0 source tree
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
/// \file electromagnetic/TestEm7/src/PhysicsList.cc
|
||||
/// \brief Implementation of the PhysicsList class
|
||||
//
|
||||
// $Id$
|
||||
// $Id: PhysicsList.cc 68585 2013-04-01 23:35:07Z adotti $
|
||||
//
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
@@ -50,9 +50,8 @@
|
||||
#include "G4HadronElasticPhysics.hh"
|
||||
#include "G4HadronDElasticPhysics.hh"
|
||||
#include "G4HadronHElasticPhysics.hh"
|
||||
#include "G4HadronQElasticPhysics.hh"
|
||||
#include "G4HadronInelasticQBBC.hh"
|
||||
#include "G4IonBinaryCascadePhysics.hh"
|
||||
#include "G4IonPhysics.hh"
|
||||
|
||||
#include "G4LossTableManager.hh"
|
||||
#include "G4EmConfigurator.hh"
|
||||
@@ -75,7 +74,12 @@
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
PhysicsList::PhysicsList() : G4VModularPhysicsList()
|
||||
PhysicsList::PhysicsList() : G4VModularPhysicsList(),
|
||||
fEmPhysicsList(0),
|
||||
fDecPhysicsList(0),
|
||||
fHadronPhys(),
|
||||
fStepMaxProcess(0),
|
||||
fMessenger(0)
|
||||
{
|
||||
G4LossTableManager::Instance();
|
||||
defaultCutValue = 1.*mm;
|
||||
@@ -230,16 +234,12 @@ void PhysicsList::AddPhysicsList(const G4String& name)
|
||||
fHadronPhys.push_back( new G4HadronHElasticPhysics());
|
||||
fHelIsRegisted = true;
|
||||
|
||||
} else if (name == "QElastic" && !fHelIsRegisted) {
|
||||
fHadronPhys.push_back( new G4HadronQElasticPhysics());
|
||||
fHelIsRegisted = true;
|
||||
|
||||
} else if (name == "binary" && !fBicIsRegisted) {
|
||||
fHadronPhys.push_back(new G4HadronInelasticQBBC());
|
||||
fBicIsRegisted = true;
|
||||
|
||||
} else if (name == "binary_ion" && !fBiciIsRegisted) {
|
||||
fHadronPhys.push_back(new G4IonBinaryCascadePhysics());
|
||||
fHadronPhys.push_back(new G4IonPhysics());
|
||||
fBiciIsRegisted = true;
|
||||
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user