Geant4.10
|
#include <G4AdjointCSManager.hh>
Static Public Member Functions | |
static G4AdjointCSManager * | GetAdjointCSManager () |
Definition at line 69 of file G4AdjointCSManager.hh.
G4AdjointCSManager::~G4AdjointCSManager | ( | ) |
Definition at line 116 of file G4AdjointCSManager.cc.
void G4AdjointCSManager::BuildCrossSectionMatrices | ( | ) |
Definition at line 180 of file G4AdjointCSManager.cc.
References G4cout, G4endl, G4Element::GetA(), G4Element::GetElementTable(), G4Material::GetMaterialTable(), G4VEmAdjointModel::GetName(), G4VEmAdjointModel::GetUseMatrix(), G4VEmAdjointModel::GetUseMatrixPerElement(), G4VEmAdjointModel::GetUseOnlyOneMatrixForAllElements(), G4Element::GetZ(), int(), and G4VEmAdjointModel::SetCSMatrices().
Referenced by G4VAdjointReverseReaction::BuildPhysicsTable().
void G4AdjointCSManager::BuildTotalSigmaTables | ( | ) |
Definition at line 267 of file G4AdjointCSManager.cc.
References ComputeTotalAdjointCS(), G4VEmModel::GetChargeSquareRatio(), G4MaterialCutsCouple::GetIndex(), G4PhysicsVector::GetLowEdgeEnergy(), G4MaterialCutsCouple::GetMaterial(), G4ProductionCutsTable::GetMaterialCutsCouple(), G4ProductionCutsTable::GetProductionCutsTable(), G4ProductionCutsTable::GetTableSize(), G4PhysicsVector::GetVectorLength(), and G4PhysicsVector::PutValue().
Referenced by G4VAdjointReverseReaction::BuildPhysicsTable().
G4double G4AdjointCSManager::ComputeAdjointCS | ( | G4Material * | aMaterial, |
G4VEmAdjointModel * | aModel, | ||
G4double | PrimEnergy, | ||
G4double | Tcut, | ||
G4bool | IsScatProjToProjCase, | ||
std::vector< G4double > & | AdjointCS_for_each_element | ||
) |
Definition at line 532 of file G4AdjointCSManager.cc.
References G4VEmAdjointModel::AdjointCrossSection(), G4VEmAdjointModel::GetApplyCutInRange(), G4Material::GetElement(), G4Element::GetIndex(), G4Material::GetIndex(), G4Material::GetNumberOfElements(), G4VEmAdjointModel::GetSecondAdjEnergyMaxForProdToProjCase(), G4VEmAdjointModel::GetSecondAdjEnergyMaxForScatProjToProjCase(), G4VEmAdjointModel::GetSecondAdjEnergyMinForProdToProjCase(), G4VEmAdjointModel::GetSecondAdjEnergyMinForScatProjToProjCase(), G4VEmAdjointModel::GetUseMatrix(), G4VEmAdjointModel::GetUseMatrixPerElement(), G4VEmAdjointModel::GetUseOnlyOneMatrixForAllElements(), G4Material::GetVecNbOfAtomsPerVolume(), and G4Element::GetZ().
Referenced by G4VEmAdjointModel::AdjointCrossSection(), ComputeTotalAdjointCS(), and SampleElementFromCSMatrices().
G4double G4AdjointCSManager::ComputeTotalAdjointCS | ( | const G4MaterialCutsCouple * | aMatCutCouple, |
G4ParticleDefinition * | aPart, | ||
G4double | PrimEnergy | ||
) |
Definition at line 687 of file G4AdjointCSManager.cc.
References ComputeAdjointCS(), G4ProductionCutsTable::GetEnergyCutsVector(), GetForwardParticleEquivalent(), G4MaterialCutsCouple::GetIndex(), G4ParticleDefinition::GetParticleName(), and G4ProductionCutsTable::GetProductionCutsTable().
Referenced by BuildTotalSigmaTables().
|
static |
Definition at line 61 of file G4AdjointCSManager.cc.
References G4ThreadLocal.
Referenced by G4VEmAdjointModel::AdjointCrossSection(), G4AdjointAlongStepWeightCorrection::AlongStepDoIt(), G4AdjointPhysicsList::ConstructEM(), G4AdjointPhotoElectricModel::CorrectPostStepWeight(), G4AdjointIonIonisationModel::CorrectPostStepWeight(), G4VEmAdjointModel::CorrectPostStepWeight(), G4VAdjointReverseReaction::G4VAdjointReverseReaction(), G4VEmAdjointModel::G4VEmAdjointModel(), G4AdjointComptonModel::RapidSampleSecondaries(), G4AdjointBremsstrahlungModel::RapidSampleSecondaries(), and G4AdjointhIonisationModel::RapidSampleSecondaries().
G4ParticleDefinition * G4AdjointCSManager::GetAdjointParticleEquivalent | ( | G4ParticleDefinition * | theFwdPartDef | ) |
Definition at line 943 of file G4AdjointCSManager.cc.
References G4AdjointElectron::AdjointElectron(), G4AdjointGamma::AdjointGamma(), G4AdjointProton::AdjointProton(), and G4ParticleDefinition::GetParticleName().
Referenced by RegisterEmProcess(), and RegisterEnergyLossProcess().
G4double G4AdjointCSManager::GetAdjointSigma | ( | G4double | Ekin_nuc, |
size_t | index_model, | ||
G4bool | is_scat_proj_to_proj, | ||
const G4MaterialCutsCouple * | aCouple | ||
) |
Definition at line 418 of file G4AdjointCSManager.cc.
References test::b.
G4double G4AdjointCSManager::GetContinuousWeightCorrection | ( | G4ParticleDefinition * | aPartDef, |
G4double | PreStepEkin, | ||
G4double | AfterStepEkin, | ||
const G4MaterialCutsCouple * | aCouple, | ||
G4double | step_length | ||
) |
Definition at line 502 of file G4AdjointCSManager.cc.
References GetTotalAdjointCS(), and GetTotalForwardCS().
Referenced by G4AdjointAlongStepWeightCorrection::AlongStepDoIt().
G4double G4AdjointCSManager::GetCrossSectionCorrection | ( | G4ParticleDefinition * | aPartDef, |
G4double | PreStepEkin, | ||
const G4MaterialCutsCouple * | aCouple, | ||
G4bool & | fwd_is_used, | ||
G4double & | fwd_TotCS | ||
) |
Definition at line 465 of file G4AdjointCSManager.cc.
References GetTotalAdjointCS(), and GetTotalForwardCS().
Referenced by G4VAdjointReverseReaction::GetMeanFreePath().
void G4AdjointCSManager::GetEminForTotalCS | ( | G4ParticleDefinition * | aPartDef, |
const G4MaterialCutsCouple * | aCouple, | ||
G4double & | emin_adj, | ||
G4double & | emin_fwd | ||
) |
Definition at line 427 of file G4AdjointCSManager.cc.
G4ParticleDefinition * G4AdjointCSManager::GetForwardParticleEquivalent | ( | G4ParticleDefinition * | theAdjPartDef | ) |
Definition at line 954 of file G4AdjointCSManager.cc.
References G4Electron::Electron(), G4Gamma::Gamma(), G4ParticleDefinition::GetParticleName(), and G4Proton::Proton().
Referenced by ComputeTotalAdjointCS().
void G4AdjointCSManager::GetMaxAdjTotalCS | ( | G4ParticleDefinition * | aPartDef, |
const G4MaterialCutsCouple * | aCouple, | ||
G4double & | e_sigma_max, | ||
G4double & | sigma_max | ||
) |
Definition at line 452 of file G4AdjointCSManager.cc.
References test::b.
void G4AdjointCSManager::GetMaxFwdTotalCS | ( | G4ParticleDefinition * | aPartDef, |
const G4MaterialCutsCouple * | aCouple, | ||
G4double & | e_sigma_max, | ||
G4double & | sigma_max | ||
) |
Definition at line 439 of file G4AdjointCSManager.cc.
References test::b.
G4int G4AdjointCSManager::GetNbProcesses | ( | ) |
G4double G4AdjointCSManager::GetPostStepWeightCorrection | ( | ) |
Definition at line 525 of file G4AdjointCSManager.cc.
Referenced by G4AdjointPhotoElectricModel::CorrectPostStepWeight(), G4AdjointIonIonisationModel::CorrectPostStepWeight(), G4VEmAdjointModel::CorrectPostStepWeight(), G4AdjointComptonModel::RapidSampleSecondaries(), G4AdjointBremsstrahlungModel::RapidSampleSecondaries(), and G4AdjointhIonisationModel::RapidSampleSecondaries().
G4double G4AdjointCSManager::GetTotalAdjointCS | ( | G4ParticleDefinition * | aPartDef, |
G4double | Ekin, | ||
const G4MaterialCutsCouple * | aCouple | ||
) |
Definition at line 395 of file G4AdjointCSManager.cc.
References test::b.
Referenced by GetContinuousWeightCorrection(), and GetCrossSectionCorrection().
G4double G4AdjointCSManager::GetTotalForwardCS | ( | G4ParticleDefinition * | aPartDef, |
G4double | Ekin, | ||
const G4MaterialCutsCouple * | aCouple | ||
) |
Definition at line 407 of file G4AdjointCSManager.cc.
References test::b.
Referenced by GetContinuousWeightCorrection(), and GetCrossSectionCorrection().
void G4AdjointCSManager::RegisterAdjointParticle | ( | G4ParticleDefinition * | aPartDef | ) |
Definition at line 159 of file G4AdjointCSManager.cc.
References G4ParticleDefinition::GetParticleName().
Referenced by G4AdjointPhysicsList::ConstructEM(), RegisterEmProcess(), and RegisterEnergyLossProcess().
size_t G4AdjointCSManager::RegisterEmAdjointModel | ( | G4VEmAdjointModel * | aModel | ) |
Definition at line 121 of file G4AdjointCSManager.cc.
Referenced by G4VEmAdjointModel::G4VEmAdjointModel().
void G4AdjointCSManager::RegisterEmProcess | ( | G4VEmProcess * | aProcess, |
G4ParticleDefinition * | aPartDef | ||
) |
Definition at line 130 of file G4AdjointCSManager.cc.
References GetAdjointParticleEquivalent(), G4ParticleDefinition::GetParticleName(), and RegisterAdjointParticle().
void G4AdjointCSManager::RegisterEnergyLossProcess | ( | G4VEnergyLossProcess * | aProcess, |
G4ParticleDefinition * | aPartDef | ||
) |
Definition at line 145 of file G4AdjointCSManager.cc.
References GetAdjointParticleEquivalent(), G4ParticleDefinition::GetParticleName(), and RegisterAdjointParticle().
G4Element * G4AdjointCSManager::SampleElementFromCSMatrices | ( | G4Material * | aMaterial, |
G4VEmAdjointModel * | aModel, | ||
G4double | PrimEnergy, | ||
G4double | Tcut, | ||
G4bool | IsScatProjToProjCase | ||
) |
Definition at line 662 of file G4AdjointCSManager.cc.
References ComputeAdjointCS(), G4UniformRand, and G4Material::GetElement().
Definition at line 122 of file G4AdjointCSManager.hh.
|
inline |
Definition at line 169 of file G4AdjointCSManager.hh.
Definition at line 168 of file G4AdjointCSManager.hh.
Definition at line 167 of file G4AdjointCSManager.hh.
Definition at line 166 of file G4AdjointCSManager.hh.