Import Geant4 11.0.0.beta source tree

This commit is contained in:
Gabriele Cosmo
2021-06-25 16:12:29 +02:00
parent c968e26a39
commit 6399a014b6
4200 changed files with 207479 additions and 237366 deletions
@@ -54,7 +54,6 @@
#include "G4EmLivermorePhysics.hh"
#include "G4EmPenelopePhysics.hh"
#include "G4EmExtraPhysics.hh"
#include "G4EmProcessOptions.hh"
#include "G4ParticleDefinition.hh"
#include "G4ProductionCutsTable.hh"
#include "G4ProcessManager.hh"
@@ -72,6 +71,14 @@ IORTPhysicsList::IORTPhysicsList() : G4VModularPhysicsList()
cutForElectron = defaultCutValue;
cutForPositron = defaultCutValue;
// set cut values for gamma at first and for e- second and next for e+,
// because some processes for e+/e- need cut values for gamma
SetCutValue(cutForGamma, "gamma");
SetCutValue(cutForElectron, "e-");
SetCutValue(cutForPositron, "e+");
DumpCutValuesTable();
stepMaxProcess = 0;
pMessenger = new IORTPhysicsListMessenger(this);
@@ -105,6 +112,8 @@ void IORTPhysicsList::ConstructProcess()
emPhysicsList->ConstructProcess();
em_config.AddModels();
// Set cuts for detector
SetDetectorCut(defaultCutValue);
// step limitation (as a full process)
//
AddStepMax();
@@ -174,25 +183,6 @@ void IORTPhysicsList::AddStepMax()
}
}
void IORTPhysicsList::SetCuts()
{
if (verboseLevel >0){
G4cout << "PhysicsList::SetCuts:";
G4cout << "CutLength : " << G4BestUnit(defaultCutValue,"Length") << G4endl;
}
// set cut values for gamma at first and for e- second and next for e+,
// because some processes for e+/e- need cut values for gamma
SetCutValue(cutForGamma, "gamma");
SetCutValue(cutForElectron, "e-");
SetCutValue(cutForPositron, "e+");
// Set cuts for detector
SetDetectorCut(defaultCutValue);
if (verboseLevel>0) DumpCutValuesTable();
}
void IORTPhysicsList::SetCutForGamma(G4double cut)
{
cutForGamma = cut;