Import Geant4 11.1.0.beta source tree
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user