Geant4-11
|
#include <G4CrossSectionDataSetRegistry.hh>
Public Member Functions | |
void | Clean () |
void | DeleteComponent (G4VComponentCrossSection *) |
void | DeRegister (G4VComponentCrossSection *) |
void | DeRegister (G4VCrossSectionDataSet *) |
G4VComponentCrossSection * | GetComponentCrossSection (const G4String &name) |
G4VCrossSectionDataSet * | GetCrossSectionDataSet (const G4String &name, G4bool warning=false) |
void | Register (G4VComponentCrossSection *) |
void | Register (G4VCrossSectionDataSet *) |
~G4CrossSectionDataSetRegistry () | |
Static Public Member Functions | |
static G4CrossSectionDataSetRegistry * | Instance () |
Private Member Functions | |
G4CrossSectionDataSetRegistry () | |
Private Attributes | |
std::vector< G4VComponentCrossSection * > | xComponents |
std::vector< G4VCrossSectionDataSet * > | xSections |
Static Private Attributes | |
static G4ThreadLocal G4CrossSectionDataSetRegistry * | instance = nullptr |
Friends | |
class | G4ThreadLocalSingleton< G4CrossSectionDataSetRegistry > |
Definition at line 55 of file G4CrossSectionDataSetRegistry.hh.
G4CrossSectionDataSetRegistry::~G4CrossSectionDataSetRegistry | ( | ) |
Definition at line 83 of file G4CrossSectionDataSetRegistry.cc.
References Clean().
|
private |
Definition at line 80 of file G4CrossSectionDataSetRegistry.cc.
void G4CrossSectionDataSetRegistry::Clean | ( | ) |
Definition at line 88 of file G4CrossSectionDataSetRegistry.cc.
References CLHEP::detail::n, xComponents, and xSections.
Referenced by ~G4CrossSectionDataSetRegistry().
void G4CrossSectionDataSetRegistry::DeleteComponent | ( | G4VComponentCrossSection * | p | ) |
Definition at line 163 of file G4CrossSectionDataSetRegistry.cc.
References CLHEP::detail::n, and xComponents.
void G4CrossSectionDataSetRegistry::DeRegister | ( | G4VComponentCrossSection * | p | ) |
Definition at line 148 of file G4CrossSectionDataSetRegistry.cc.
References CLHEP::detail::n, and xComponents.
void G4CrossSectionDataSetRegistry::DeRegister | ( | G4VCrossSectionDataSet * | p | ) |
Definition at line 123 of file G4CrossSectionDataSetRegistry.cc.
References CLHEP::detail::n, and xSections.
Referenced by G4VComponentCrossSection::~G4VComponentCrossSection(), and G4VCrossSectionDataSet::~G4VCrossSectionDataSet().
G4VComponentCrossSection * G4CrossSectionDataSetRegistry::GetComponentCrossSection | ( | const G4String & | name | ) |
Definition at line 200 of file G4CrossSectionDataSetRegistry.cc.
References G4InuclParticleNames::name(), and xComponents.
Referenced by G4HadProcesses::ElasticXS(), G4FTFPAntiBarionBuilder::G4FTFPAntiBarionBuilder(), G4FTFParameters::G4FTFParameters(), G4NeutronElasticXS::G4NeutronElasticXS(), G4NeutronInelasticXS::G4NeutronInelasticXS(), G4ParticleInelasticXS::G4ParticleInelasticXS(), G4QGSPAntiBarionBuilder::G4QGSPAntiBarionBuilder(), and G4HadProcesses::InelasticXS().
G4VCrossSectionDataSet * G4CrossSectionDataSetRegistry::GetCrossSectionDataSet | ( | const G4String & | name, |
G4bool | warning = false |
||
) |
Definition at line 178 of file G4CrossSectionDataSetRegistry.cc.
References test::factory, G4CrossSectionFactoryRegistry::GetFactory(), G4CrossSectionFactoryRegistry::Instance(), G4InuclParticleNames::name(), and xSections.
Referenced by G4NeutronCrossSectionXS::ConstructProcess(), G4ChipsComponentXS::G4ChipsComponentXS(), G4ChipsElasticModel::G4ChipsElasticModel(), G4ChipsKaonZeroElasticXS::G4ChipsKaonZeroElasticXS(), G4ChipsKaonZeroInelasticXS::G4ChipsKaonZeroInelasticXS(), G4GammaNuclearXS::G4GammaNuclearXS(), and G4QuasiElRatios::G4QuasiElRatios().
|
static |
Definition at line 71 of file G4CrossSectionDataSetRegistry.cc.
References G4ThreadLocalSingleton< T >::Instance(), and instance.
Referenced by G4INCLXXNeutronBuilder::Build(), G4EmExtraPhysics::ConstructGammaElectroNuclear(), LBE::ConstructHad(), G4NeutronCrossSectionXS::ConstructProcess(), G4HadProcesses::ElasticXS(), G4AntiNuclElastic::G4AntiNuclElastic(), G4ChipsComponentXS::G4ChipsComponentXS(), G4ChipsElasticModel::G4ChipsElasticModel(), G4ChipsKaonZeroElasticXS::G4ChipsKaonZeroElasticXS(), G4ChipsKaonZeroInelasticXS::G4ChipsKaonZeroInelasticXS(), G4ElectroVDNuclearModel::G4ElectroVDNuclearModel(), G4FTFPAntiBarionBuilder::G4FTFPAntiBarionBuilder(), G4FTFParameters::G4FTFParameters(), G4GammaNuclearXS::G4GammaNuclearXS(), G4MuonVDNuclearModel::G4MuonVDNuclearModel(), G4NeutronElasticXS::G4NeutronElasticXS(), G4NeutronInelasticXS::G4NeutronInelasticXS(), G4ParticleInelasticXS::G4ParticleInelasticXS(), G4QGSPAntiBarionBuilder::G4QGSPAntiBarionBuilder(), G4QuasiElRatios::G4QuasiElRatios(), G4VComponentCrossSection::G4VComponentCrossSection(), G4VCrossSectionDataSet::G4VCrossSectionDataSet(), and G4HadProcesses::InelasticXS().
void G4CrossSectionDataSetRegistry::Register | ( | G4VComponentCrossSection * | p | ) |
Definition at line 137 of file G4CrossSectionDataSetRegistry.cc.
References xComponents.
void G4CrossSectionDataSetRegistry::Register | ( | G4VCrossSectionDataSet * | p | ) |
Definition at line 112 of file G4CrossSectionDataSetRegistry.cc.
References xSections.
Referenced by G4VComponentCrossSection::G4VComponentCrossSection(), and G4VCrossSectionDataSet::G4VCrossSectionDataSet().
|
friend |
Definition at line 1 of file G4CrossSectionDataSetRegistry.hh.
|
staticprivate |
Definition at line 93 of file G4CrossSectionDataSetRegistry.hh.
Referenced by Instance().
|
private |
Definition at line 96 of file G4CrossSectionDataSetRegistry.hh.
Referenced by Clean(), DeleteComponent(), DeRegister(), GetComponentCrossSection(), and Register().
|
private |
Definition at line 95 of file G4CrossSectionDataSetRegistry.hh.
Referenced by Clean(), DeRegister(), GetCrossSectionDataSet(), and Register().