|
Geant4-11
|
#include <G4CrossSectionDataStore.hh>
Public Member Functions | |
| void | AddDataSet (G4VCrossSectionDataSet *) |
| void | AddDataSet (G4VCrossSectionDataSet *, size_t) |
| void | BuildPhysicsTable (const G4ParticleDefinition &) |
| G4double | ComputeCrossSection (const G4DynamicParticle *, const G4Material *) |
| void | DumpHtml (const G4ParticleDefinition &, std::ofstream &) const |
| void | DumpPhysicsTable (const G4ParticleDefinition &) |
| G4CrossSectionDataStore () | |
| G4double | GetCrossSection (const G4DynamicParticle *, const G4Element *, const G4Material *) |
| G4double | GetCrossSection (const G4DynamicParticle *, const G4Material *) |
| G4double | GetCrossSection (const G4DynamicParticle *, G4int Z, G4int A, const G4Isotope *, const G4Element *, const G4Material *) |
| void | PrintCrossSectionHtml (const G4VCrossSectionDataSet *cs) const |
| const G4Element * | SampleZandA (const G4DynamicParticle *, const G4Material *, G4Nucleus &target) |
| void | SetVerboseLevel (G4int value) |
| ~G4CrossSectionDataStore () | |
Private Member Functions | |
| G4CrossSectionDataStore (const G4CrossSectionDataStore &) | |
| G4double | GetIsoCrossSection (const G4DynamicParticle *, G4int Z, G4int A, const G4Isotope *, const G4Element *, const G4Material *aMaterial, G4int index) |
| G4String | HtmlFileName (const G4String &in) const |
| G4CrossSectionDataStore & | operator= (const G4CrossSectionDataStore &right) |
Private Attributes | |
| const G4Material * | currentMaterial |
| std::vector< G4VCrossSectionDataSet * > | dataSetList |
| G4double | matCrossSection |
| G4double | matKinEnergy |
| const G4ParticleDefinition * | matParticle |
| G4int | nDataSetList |
| G4NistManager * | nist |
| G4int | verboseLevel |
| std::vector< G4double > | xsecelm |
| std::vector< G4double > | xseciso |
Definition at line 61 of file G4CrossSectionDataStore.hh.
| G4CrossSectionDataStore::G4CrossSectionDataStore | ( | ) |
Definition at line 60 of file G4CrossSectionDataStore.cc.
| G4CrossSectionDataStore::~G4CrossSectionDataStore | ( | ) |
Definition at line 72 of file G4CrossSectionDataStore.cc.
|
private |
| void G4CrossSectionDataStore::AddDataSet | ( | G4VCrossSectionDataSet * | p | ) |
Definition at line 423 of file G4CrossSectionDataStore.cc.
References dataSetList, G4VCrossSectionDataSet::ForAllAtomsAndEnergies(), and nDataSetList.
Referenced by G4HadronicProcess::AddDataSet(), G4ElectronNuclearProcess::G4ElectronNuclearProcess(), G4PositronNuclearProcess::G4PositronNuclearProcess(), and G4HadronPhysicsShielding::Neutron().
| void G4CrossSectionDataStore::AddDataSet | ( | G4VCrossSectionDataSet * | p, |
| size_t | i | ||
| ) |
Definition at line 437 of file G4CrossSectionDataStore.cc.
References dataSetList, G4VCrossSectionDataSet::ForAllAtomsAndEnergies(), and nDataSetList.
| void G4CrossSectionDataStore::BuildPhysicsTable | ( | const G4ParticleDefinition & | aParticleType | ) |
Definition at line 310 of file G4CrossSectionDataStore.cc.
References dataSetList, FatalException, G4endl, G4Exception(), G4ParticleDefinition::GetParticleName(), and nDataSetList.
Referenced by G4HadronicProcess::BuildPhysicsTable().
| G4double G4CrossSectionDataStore::ComputeCrossSection | ( | const G4DynamicParticle * | part, |
| const G4Material * | mat | ||
| ) |
Definition at line 106 of file G4CrossSectionDataStore.cc.
References currentMaterial, GetCrossSection(), G4DynamicParticle::GetDefinition(), G4Material::GetElement(), G4DynamicParticle::GetKineticEnergy(), G4Material::GetNumberOfElements(), G4Material::GetVecNbOfAtomsPerVolume(), matCrossSection, matKinEnergy, matParticle, and xsecelm.
Referenced by G4GammaGeneralProcess::BuildPhysicsTable(), G4NeutrinoElectronProcess::GetMeanFreePath(), G4HadronicProcess::GetMeanFreePath(), G4ElNeutrinoNucleusProcess::GetMeanFreePath(), G4MuNeutrinoNucleusProcess::GetMeanFreePath(), G4HadronXSDataTable::Initialise(), G4HadronicProcess::PostStepDoIt(), and G4GammaGeneralProcess::SelectHadProcess().
| void G4CrossSectionDataStore::DumpHtml | ( | const G4ParticleDefinition & | , |
| std::ofstream & | outFile | ||
| ) | const |
Definition at line 355 of file G4CrossSectionDataStore.cc.
References dataSetList, GeV, nDataSetList, and PrintCrossSectionHtml().
Referenced by G4HadronicProcessStore::PrintHtml().
| void G4CrossSectionDataStore::DumpPhysicsTable | ( | const G4ParticleDefinition & | aParticleType | ) |
Definition at line 328 of file G4CrossSectionDataStore.cc.
References dataSetList, e1, e2, G4BestUnit, G4cout, G4endl, and nDataSetList.
Referenced by G4ChargeExchangeProcess::DumpPhysicsTable(), G4HadronicProcess::DumpPhysicsTable(), and G4HadronicProcessStore::Print().
| G4double G4CrossSectionDataStore::GetCrossSection | ( | const G4DynamicParticle * | part, |
| const G4Element * | elm, | ||
| const G4Material * | mat | ||
| ) |
Definition at line 133 of file G4CrossSectionDataStore.cc.
References dataSetList, GetIsoCrossSection(), G4Element::GetIsotope(), G4Isotope::GetN(), G4Element::GetNaturalAbundanceFlag(), G4Element::GetNumberOfIsotopes(), G4Element::GetRelativeAbundanceVector(), G4Element::GetZasInt(), nDataSetList, and Z.
| G4double G4CrossSectionDataStore::GetCrossSection | ( | const G4DynamicParticle * | part, |
| const G4Material * | mat | ||
| ) |
Definition at line 78 of file G4CrossSectionDataStore.cc.
References currentMaterial, GetCrossSection(), G4DynamicParticle::GetDefinition(), G4Material::GetElementVector(), G4DynamicParticle::GetKineticEnergy(), G4Material::GetNumberOfElements(), G4Material::GetVecNbOfAtomsPerVolume(), matCrossSection, matKinEnergy, matParticle, and xsecelm.
Referenced by ComputeCrossSection(), G4HadElementSelector::G4HadElementSelector(), GetCrossSection(), G4ChargeExchangeProcess::GetElementCrossSection(), and G4HadronicProcess::GetElementCrossSection().
| G4double G4CrossSectionDataStore::GetCrossSection | ( | const G4DynamicParticle * | part, |
| G4int | Z, | ||
| G4int | A, | ||
| const G4Isotope * | iso, | ||
| const G4Element * | elm, | ||
| const G4Material * | mat | ||
| ) |
Definition at line 206 of file G4CrossSectionDataStore.cc.
References A, dataSetList, FatalException, G4endl, G4Exception(), G4DynamicParticle::GetDefinition(), G4DynamicParticle::GetKineticEnergy(), G4Element::GetName(), G4Material::GetName(), G4ParticleDefinition::GetParticleName(), MeV, nDataSetList, and Z.
|
private |
Definition at line 168 of file G4CrossSectionDataStore.cc.
References A, dataSetList, FatalException, G4endl, G4Exception(), G4DynamicParticle::GetDefinition(), G4DynamicParticle::GetKineticEnergy(), G4Element::GetName(), G4Material::GetName(), G4ParticleDefinition::GetParticleName(), MeV, nDataSetList, and Z.
Referenced by GetCrossSection(), and SampleZandA().
Definition at line 410 of file G4CrossSectionDataStore.cc.
References G4coutFormatters::anonymous_namespace{G4coutFormatters.cc}::transform().
Referenced by PrintCrossSectionHtml().
|
private |
| void G4CrossSectionDataStore::PrintCrossSectionHtml | ( | const G4VCrossSectionDataSet * | cs | ) | const |
Definition at line 387 of file G4CrossSectionDataStore.cc.
References G4VCrossSectionDataSet::CrossSectionDescription(), G4VCrossSectionDataSet::GetName(), and HtmlFileName().
Referenced by DumpHtml().
| const G4Element * G4CrossSectionDataStore::SampleZandA | ( | const G4DynamicParticle * | part, |
| const G4Material * | mat, | ||
| G4Nucleus & | target | ||
| ) |
Definition at line 231 of file G4CrossSectionDataStore.cc.
References dataSetList, G4UniformRand, G4Material::GetElement(), GetIsoCrossSection(), G4Element::GetIsotope(), G4DynamicParticle::GetKineticEnergy(), G4DynamicParticle::GetLogKineticEnergy(), G4Isotope::GetN(), G4Material::GetNumberOfElements(), G4Element::GetNumberOfIsotopes(), G4Element::GetRelativeAbundanceVector(), G4Element::GetZasInt(), matCrossSection, nDataSetList, G4Nucleus::SetIsotope(), xsecelm, xseciso, and Z.
Referenced by G4NeutrinoElectronProcess::PostStepDoIt(), G4HadronicProcess::PostStepDoIt(), and G4HadronElasticProcess::PostStepDoIt().
|
inline |
Definition at line 128 of file G4CrossSectionDataStore.hh.
References verboseLevel.
|
private |
Definition at line 119 of file G4CrossSectionDataStore.hh.
Referenced by ComputeCrossSection(), and GetCrossSection().
|
private |
Definition at line 115 of file G4CrossSectionDataStore.hh.
Referenced by AddDataSet(), BuildPhysicsTable(), DumpHtml(), DumpPhysicsTable(), GetCrossSection(), GetIsoCrossSection(), and SampleZandA().
|
private |
Definition at line 122 of file G4CrossSectionDataStore.hh.
Referenced by ComputeCrossSection(), GetCrossSection(), and SampleZandA().
|
private |
Definition at line 121 of file G4CrossSectionDataStore.hh.
Referenced by ComputeCrossSection(), and GetCrossSection().
|
private |
Definition at line 120 of file G4CrossSectionDataStore.hh.
Referenced by ComputeCrossSection(), and GetCrossSection().
|
private |
Definition at line 124 of file G4CrossSectionDataStore.hh.
Referenced by AddDataSet(), BuildPhysicsTable(), DumpHtml(), DumpPhysicsTable(), GetCrossSection(), GetIsoCrossSection(), and SampleZandA().
|
private |
Definition at line 113 of file G4CrossSectionDataStore.hh.
|
private |
Definition at line 125 of file G4CrossSectionDataStore.hh.
Referenced by SetVerboseLevel().
|
private |
Definition at line 116 of file G4CrossSectionDataStore.hh.
Referenced by ComputeCrossSection(), GetCrossSection(), and SampleZandA().
|
private |
Definition at line 117 of file G4CrossSectionDataStore.hh.
Referenced by SampleZandA().