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
@@ -37,12 +37,12 @@
#include "G4eMultipleScattering.hh"
#include "G4PolarizedAnnihilation.hh"
#include "G4PolarizedBremsstrahlung.hh"
#include "G4PolarizedCompton.hh"
#include "G4PolarizedGammaConversion.hh"
#include "G4ePolarizedIonisation.hh"
#include "G4ePolarizedBremsstrahlung.hh"
#include "G4eplusPolarizedAnnihilation.hh"
#include "G4PolarizedPhotoElectricEffect.hh"
#include "G4PolarizedIonisation.hh"
#include "G4PolarizedPhotoElectric.hh"
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -69,20 +69,20 @@ void PhysListEmPolarized::ConstructProcess()
G4String particleName = particle->GetParticleName();
if (particleName == "gamma") {
pmanager->AddDiscreteProcess(new G4PolarizedPhotoElectricEffect);
pmanager->AddDiscreteProcess(new G4PolarizedPhotoElectric);
pmanager->AddDiscreteProcess(new G4PolarizedCompton);
pmanager->AddDiscreteProcess(new G4PolarizedGammaConversion);
} else if (particleName == "e-") {
pmanager->AddProcess(new G4eMultipleScattering, -1,1,1);
pmanager->AddProcess(new G4ePolarizedIonisation, -1,2,2);
pmanager->AddProcess(new G4ePolarizedBremsstrahlung, -1,3,3);
pmanager->AddProcess(new G4eMultipleScattering, -1, 1,1);
pmanager->AddProcess(new G4PolarizedIonisation, -1, 2,2);
pmanager->AddProcess(new G4PolarizedBremsstrahlung, -1,-3,3);
} else if (particleName == "e+") {
pmanager->AddProcess(new G4eMultipleScattering, -1, 1,1);
pmanager->AddProcess(new G4ePolarizedIonisation, -1, 2,2);
pmanager->AddProcess(new G4ePolarizedBremsstrahlung, -1, 3,3);
pmanager->AddProcess(new G4eplusPolarizedAnnihilation, 0,-1,4);
pmanager->AddProcess(new G4eMultipleScattering, -1, 1,1);
pmanager->AddProcess(new G4PolarizedIonisation, -1, 2,2);
pmanager->AddProcess(new G4PolarizedBremsstrahlung, -1,-3,3);
pmanager->AddProcess(new G4PolarizedAnnihilation, 0,-1,4);
}
}
}
@@ -37,7 +37,10 @@
#include "G4EmStandardPhysics.hh"
#include "PhysListEmPolarized.hh"
#include "G4ProcessManager.hh"
#include "StepMax.hh"
#include "G4EmParameters.hh"
#include "G4EmBuilder.hh"
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
@@ -64,42 +67,14 @@ PhysicsList::~PhysicsList()
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
#include "G4BosonConstructor.hh"
#include "G4LeptonConstructor.hh"
#include "G4MesonConstructor.hh"
#include "G4BosonConstructor.hh"
#include "G4BaryonConstructor.hh"
#include "G4IonConstructor.hh"
#include "G4ShortLivedConstructor.hh"
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
void PhysicsList::ConstructParticle()
{
G4BosonConstructor pBosonConstructor;
pBosonConstructor.ConstructParticle();
G4LeptonConstructor pLeptonConstructor;
pLeptonConstructor.ConstructParticle();
G4MesonConstructor pMesonConstructor;
pMesonConstructor.ConstructParticle();
G4BaryonConstructor pBaryonConstructor;
pBaryonConstructor.ConstructParticle();
G4IonConstructor pIonConstructor;
pIonConstructor.ConstructParticle();
G4ShortLivedConstructor pShortLivedConstructor;
pShortLivedConstructor.ConstructParticle();
// minimal set of particles for EM physics
G4EmBuilder::ConstructMinimalEmSet();
}
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
#include "G4EmProcessOptions.hh"
void PhysicsList::ConstructProcess()
{
// Transportation
@@ -146,9 +121,6 @@ void PhysicsList::AddPhysicsList(const G4String& name)
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
#include "G4ProcessManager.hh"
#include "StepMax.hh"
void PhysicsList::AddStepMax()
{
// Step limitation seen as a process