Hi!
I am using Geant4 to simulate particles in the atmosphere. Typically I am using electrons, protons and alpha particles and it works well. Now I tried to use gamma photons (not optical photons) as primary particles and I noticed a strange transition at about 400eV primary energy as shown in the attached figure.
strange-transition-at-400eV.pdf (57.2 KB)
The figure shows the deposited energy in different atmospheric layers (eV/m) divided by the primary particle energy (or in other words more or less the fraction of the primary particle energy that is deposited per meter).
While the two regions >400eV and <400eV alone look reasonable, the transition between them is obviously wrong. However, I cannot figure out what happens here, namely which process causes the shift. As gamma rays are affected by just a few processes, namely:
pmanager->AddDiscreteProcess(new G4PhotoElectricEffect);
pmanager->AddDiscreteProcess(new G4ComptonScattering);
pmanager->AddDiscreteProcess(new G4GammaConversion);
My guess is that it only the PhotoElectricProcess takes place here. But I am still completely blank why that might cause an altitude shift at a specific energy.
I also set some cut values and other parameters, which might cause differences, but none of them links to 400eV:
SetDefaultCutValue(1.0CLHEP::m);
G4EmParameters param = G4EmParameters::Instance();
param->SetDefaults();
param->SetMinEnergy(10CLHEP::eV);
param->SetMaxEnergy(10CLHEP::TeV);
param->SetLowestElectronEnergy(10CLHEP::eV);
param->SetLowestMuHadEnergy(10CLHEP::eV);
param->SetNumberOfBinsPerDecade(10);
param->SetBuildCSDARange(true);
I also tried this with the Livermore model, which switches the PhotoElectricEffect, the ComptonScattering and the GammaConversion to the Livermore versions and adds RayleighScattering. It changes the atmospheric deposition to some extend, but the shift at 400eV is still clearly seen.
Might anybody give me a hint what causes the strange transition (and which part might be considered the most accurate)? It would be really helpful!
Version used: geant4-10-06-patch-03