Import Geant4 11.1.0.beta source tree

This commit is contained in:
Gabriele Cosmo
2022-07-01 10:44:02 +02:00
parent b3bf75a2a1
commit c07cea1fe0
2172 changed files with 183300 additions and 123938 deletions
@@ -1,20 +1,23 @@
-------------------------------------------------------------------
# Category emadjoint History
=========================================================
Geant4 - an Object-Oriented Toolkit for Simulation in HEP
=========================================================
See `CONTRIBUTING.rst` for details of **required** info/format for each entry,
which **must** added in reverse chronological order (newest at the top). It must **not**
be used as a substitute for writing good git commit messages!
Category History file
---------------------
This file should be used by G4 developers and category coordinators
to briefly summarize all major modifications introduced in the code
and keep track of all category-tags.
It DOES NOT substitute the CVS log-message one should put at every
committal in the CVS repository !
----------------------------------------------------------
* Reverse chronological order (last date on top), please *
---------------------------------------------------------
## 2022-03-07 Vladimir Ivanchenko (emadjoint-V11-00-02)
- G4AdjointComptonModel, G4AdjointCSManager - used updated interface
to cross section from G4VEmProcess
## 2022-03-07 Vladimir Ivanchenko (emadjoint-V11-00-01)
- G4AdjointBremsstrahlungModel - use updated interface to G4EmModelManager
## 2021-12-10 Ben Morgan (emadjoint-V11-00-00)
- Change to new Markdown History format
---
# History entries prior to 11.0
29 October 2021: L. Desorgher (emadjoint-V10-07-07)
- G4AdjointForcedInteractionForGamma : Improve the forced interaction for
@@ -293,7 +293,7 @@ G4double G4AdjointBremsstrahlungModel::DiffCrossSectionPerVolumePrimToSecond(
{
if(!fIsDirectModelInitialised)
{
fEmModelManagerForFwdModels->Initialise(fElectron, fGamma, 1., 0);
fEmModelManagerForFwdModels->Initialise(fElectron, fGamma, 0);
fIsDirectModelInitialised = true;
}
return G4VEmAdjointModel::DiffCrossSectionPerVolumePrimToSecond(
@@ -309,7 +309,7 @@ G4double G4AdjointBremsstrahlungModel::AdjointCrossSection(
// 2.78.. == std::exp(1.)
if(!fIsDirectModelInitialised)
{
fEmModelManagerForFwdModels->Initialise(fElectron, fGamma, 1., 0);
fEmModelManagerForFwdModels->Initialise(fElectron, fGamma, 0);
fIsDirectModelInitialised = true;
}
if(fUseMatrix)
@@ -363,7 +363,7 @@ void G4AdjointCSManager::BuildTotalSigmaTables()
G4double e = aVector->Energy(l);
for(size_t k = 0; k < fForwardProcesses[i]->size(); ++k)
{
totCS += (*fForwardProcesses[i])[k]->GetLambda(e, couple);
totCS += (*fForwardProcesses[i])[k]->GetCrossSection(e, couple);
}
for(size_t k = 0; k < fForwardLossProcesses[i]->size(); ++k)
{
@@ -196,7 +196,7 @@ void G4AdjointComptonModel::RapidSampleSecondaries(
if(diffCS > 0.)
diffCS /= fDirectCS; // here we have the normalised diffCS
// And we remultiply by the lambda of the forward process
diffCS *= fDirectProcess->GetLambda(gammaE1, fCurrentCouple);
diffCS *= fDirectProcess->GetCrossSection(gammaE1, fCurrentCouple);
w_corr *= diffCS / diffCSUsed;