Geant4-11
|
#include <G4HadronXSDataTable.hh>
Public Member Functions | |
void | Dump () |
G4HadronXSDataTable () | |
G4double | GetCrossSection (G4double e, size_t idx) const |
const G4PhysicsVector * | HasData (size_t idx) const |
void | Initialise (G4DynamicParticle *, G4CrossSectionDataStore *, G4int bins, G4double emin, G4double emax, G4bool spline) |
const G4Element * | SelectRandomAtom (G4double e, size_t idx) const |
~G4HadronXSDataTable () | |
Private Member Functions | |
G4HadronXSDataTable (const G4HadronXSDataTable &)=delete | |
G4HadronXSDataTable & | operator= (const G4HadronXSDataTable &right)=delete |
Private Attributes | |
std::vector< G4HadElementSelector * > | elmSelectors |
size_t | nMaterials |
std::vector< G4PhysicsVector * > | xsData |
Definition at line 95 of file G4HadronXSDataTable.hh.
|
explicit |
Definition at line 103 of file G4HadronXSDataTable.cc.
G4HadronXSDataTable::~G4HadronXSDataTable | ( | ) |
Definition at line 152 of file G4HadronXSDataTable.cc.
References elmSelectors, nMaterials, and xsData.
|
privatedelete |
void G4HadronXSDataTable::Dump | ( | ) |
Definition at line 162 of file G4HadronXSDataTable.cc.
Definition at line 113 of file G4HadronXSDataTable.hh.
References xsData.
|
inline |
Definition at line 108 of file G4HadronXSDataTable.hh.
References xsData.
void G4HadronXSDataTable::Initialise | ( | G4DynamicParticle * | dp, |
G4CrossSectionDataStore * | xs, | ||
G4int | bins, | ||
G4double | emin, | ||
G4double | emax, | ||
G4bool | spline | ||
) |
Definition at line 108 of file G4HadronXSDataTable.cc.
References anonymous_namespace{G4HyperonSampler.cc}::bins, G4CrossSectionDataStore::ComputeCrossSection(), elmSelectors, emax, G4PhysicsVector::Energy(), G4PhysicsVector::FillSecondDerivatives(), G4Material::GetMaterialTable(), G4Material::GetNumberOfElements(), G4Material::GetNumberOfMaterials(), G4INCL::Math::max(), nMaterials, G4InuclParticleNames::nn, G4PhysicsVector::PutValue(), G4DynamicParticle::SetKineticEnergy(), and xsData.
|
privatedelete |
Definition at line 118 of file G4HadronXSDataTable.hh.
References elmSelectors.
|
private |
Definition at line 133 of file G4HadronXSDataTable.hh.
Referenced by Initialise(), SelectRandomAtom(), and ~G4HadronXSDataTable().
|
private |
Definition at line 135 of file G4HadronXSDataTable.hh.
Referenced by Initialise(), and ~G4HadronXSDataTable().
|
private |
Definition at line 132 of file G4HadronXSDataTable.hh.
Referenced by GetCrossSection(), HasData(), Initialise(), and ~G4HadronXSDataTable().