Geant4  10.03
G4CrossSectionDataSetRegistry Class Reference

#include <G4CrossSectionDataSetRegistry.hh>

+ Collaboration diagram for G4CrossSectionDataSetRegistry:

Public Member Functions

 ~G4CrossSectionDataSetRegistry ()
 
void Register (G4VCrossSectionDataSet *)
 
void DeRegister (G4VCrossSectionDataSet *)
 
void Clean ()
 
G4VCrossSectionDataSetGetCrossSectionDataSet (const G4String &name, G4bool warning=true)
 

Static Public Member Functions

static
G4CrossSectionDataSetRegistry
Instance ()
 

Private Member Functions

 G4CrossSectionDataSetRegistry ()
 

Private Attributes

std::vector
< G4VCrossSectionDataSet * > 
xSections
 

Static Private Attributes

static G4ThreadLocal
G4CrossSectionDataSetRegistry
instance = 0
 

Friends

class G4ThreadLocalSingleton< G4CrossSectionDataSetRegistry >
 

Detailed Description

Definition at line 56 of file G4CrossSectionDataSetRegistry.hh.

Constructor & Destructor Documentation

G4CrossSectionDataSetRegistry::~G4CrossSectionDataSetRegistry ( )

Definition at line 91 of file G4CrossSectionDataSetRegistry.cc.

References Clean().

+ Here is the call graph for this function:

G4CrossSectionDataSetRegistry::G4CrossSectionDataSetRegistry ( )
private

Definition at line 88 of file G4CrossSectionDataSetRegistry.cc.

Member Function Documentation

void G4CrossSectionDataSetRegistry::Clean ( )

Definition at line 96 of file G4CrossSectionDataSetRegistry.cc.

References n, and xSections.

Referenced by ~G4CrossSectionDataSetRegistry().

+ Here is the caller graph for this function:

void G4CrossSectionDataSetRegistry::DeRegister ( G4VCrossSectionDataSet p)

Definition at line 128 of file G4CrossSectionDataSetRegistry.cc.

References n, and xSections.

Referenced by G4VCrossSectionDataSet::~G4VCrossSectionDataSet().

+ Here is the caller graph for this function:

G4VCrossSectionDataSet * G4CrossSectionDataSetRegistry::GetCrossSectionDataSet ( const G4String name,
G4bool  warning = true 
)

Definition at line 145 of file G4CrossSectionDataSetRegistry.cc.

References G4CrossSectionFactoryRegistry::GetFactory(), G4VCrossSectionDataSet::GetName(), G4CrossSectionFactoryRegistry::Instance(), G4VBaseXSFactory::Instantiate(), n, G4InuclParticleNames::name(), and xSections.

Referenced by G4BGGNucleonInelasticXS::BuildPhysicsTable(), G4BGGNucleonElasticXS::BuildPhysicsTable(), G4NeutronCrossSectionXS::ConstructProcess(), G4HadronPhysicsFTFP_BERT_ATL::ConstructProcess(), G4HadronPhysicsFTF_BIC::ConstructProcess(), G4HadronPhysicsNuBeam::ConstructProcess(), G4HadronPhysicsQGSP_FTFP_BERT::ConstructProcess(), G4HadronPhysicsFTFP_BERT_TRV::ConstructProcess(), G4HadronPhysicsFTFP_BERT_HP::ConstructProcess(), G4HadronPhysicsFTFP_BERT::ConstructProcess(), G4HadronPhysicsQGSP_BERT_HP::ConstructProcess(), G4HadronPhysicsQGSP_BIC::ConstructProcess(), G4HadronPhysicsShielding::ConstructProcess(), G4HadronPhysicsQGSP_BERT::ConstructProcess(), G4HadronPhysicsQGSP_BIC_HP::ConstructProcess(), G4HadronPhysicsQGS_BIC::ConstructProcess(), G4HadronPhysicsINCLXX::ConstructProcess(), ExExChHyperonFTFPBuilder::ExExChHyperonFTFPBuilder(), G4BertiniKaonBuilder::G4BertiniKaonBuilder(), G4BertiniPiKBuilder::G4BertiniPiKBuilder(), G4BertiniPionBuilder::G4BertiniPionBuilder(), G4BinaryPiKBuilder::G4BinaryPiKBuilder(), G4ChipsComponentXS::G4ChipsComponentXS(), G4ChipsElasticModel::G4ChipsElasticModel(), G4ChipsKaonZeroElasticXS::G4ChipsKaonZeroElasticXS(), G4ChipsKaonZeroInelasticXS::G4ChipsKaonZeroInelasticXS(), G4HyperonFTFPBuilder::G4HyperonFTFPBuilder(), G4QMDReaction::G4QMDReaction(), and G4QuasiElRatios::G4QuasiElRatios().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4CrossSectionDataSetRegistry * G4CrossSectionDataSetRegistry::Instance ( void  )
static

Definition at line 79 of file G4CrossSectionDataSetRegistry.cc.

References instance, and G4ThreadLocalSingleton< T >::Instance().

Referenced by G4FTFBinaryKaonBuilder::Build(), G4INCLXXNeutronBuilder::Build(), G4QGSBinaryKaonBuilder::Build(), G4QGSPKaonBuilder::Build(), G4QGSPPiKBuilder::Build(), G4QGSBinaryPiKBuilder::Build(), G4BGGNucleonInelasticXS::BuildPhysicsTable(), G4BGGNucleonElasticXS::BuildPhysicsTable(), DMXPhysicsList::ConstructHad(), G4NeutronCrossSectionXS::ConstructProcess(), G4HadronDElasticPhysics::ConstructProcess(), G4HadronHElasticPhysics::ConstructProcess(), G4HadronElasticPhysicsXS::ConstructProcess(), G4HadronInelasticQBBC::ConstructProcess(), G4HadronElasticPhysics::ConstructProcess(), G4HadronPhysicsFTFP_BERT_ATL::ConstructProcess(), G4HadronPhysicsNuBeam::ConstructProcess(), G4HadronPhysicsFTF_BIC::ConstructProcess(), G4HadronPhysicsQGSP_FTFP_BERT::ConstructProcess(), G4HadronPhysicsFTFP_BERT_TRV::ConstructProcess(), G4HadronPhysicsFTFP_BERT_HP::ConstructProcess(), G4HadronPhysicsQGSP_BERT_HP::ConstructProcess(), G4HadronPhysicsQGSP_BIC::ConstructProcess(), G4HadronPhysicsShielding::ConstructProcess(), G4HadronPhysicsFTFP_BERT::ConstructProcess(), G4HadronPhysicsQGSP_BERT::ConstructProcess(), G4HadronPhysicsQGS_BIC::ConstructProcess(), G4HadronPhysicsQGSP_BIC_HP::ConstructProcess(), G4HadronPhysicsINCLXX::ConstructProcess(), GammaRayTelHadronPhysics::ConstructProcess(), ExExChHyperonFTFPBuilder::ExExChHyperonFTFPBuilder(), G4BertiniKaonBuilder::G4BertiniKaonBuilder(), G4BertiniPiKBuilder::G4BertiniPiKBuilder(), G4BertiniPionBuilder::G4BertiniPionBuilder(), G4BinaryPiKBuilder::G4BinaryPiKBuilder(), G4BinaryPionBuilder::G4BinaryPionBuilder(), G4ChipsComponentXS::G4ChipsComponentXS(), G4ChipsElasticModel::G4ChipsElasticModel(), G4ChipsKaonZeroElasticXS::G4ChipsKaonZeroElasticXS(), G4ChipsKaonZeroInelasticXS::G4ChipsKaonZeroInelasticXS(), G4ElectroVDNuclearModel::G4ElectroVDNuclearModel(), G4FTFBinaryPiKBuilder::G4FTFBinaryPiKBuilder(), G4FTFBinaryPionBuilder::G4FTFBinaryPionBuilder(), G4FTFPPiKBuilder::G4FTFPPiKBuilder(), G4FTFPPionBuilder::G4FTFPPionBuilder(), G4HyperonFTFPBuilder::G4HyperonFTFPBuilder(), G4MuonVDNuclearModel::G4MuonVDNuclearModel(), G4QGSBinaryPiKBuilder::G4QGSBinaryPiKBuilder(), G4QGSBinaryPionBuilder::G4QGSBinaryPionBuilder(), G4QGSPPiKBuilder::G4QGSPPiKBuilder(), G4QGSPPionBuilder::G4QGSPPionBuilder(), G4QMDReaction::G4QMDReaction(), G4QuasiElRatios::G4QuasiElRatios(), and G4VCrossSectionDataSet::G4VCrossSectionDataSet().

+ Here is the call graph for this function:

void G4CrossSectionDataSetRegistry::Register ( G4VCrossSectionDataSet p)

Definition at line 116 of file G4CrossSectionDataSetRegistry.cc.

References n, and xSections.

Referenced by G4VCrossSectionDataSet::G4VCrossSectionDataSet().

+ Here is the caller graph for this function:

Friends And Related Function Documentation

Member Data Documentation

G4ThreadLocal G4CrossSectionDataSetRegistry * G4CrossSectionDataSetRegistry::instance = 0
staticprivate

Definition at line 85 of file G4CrossSectionDataSetRegistry.hh.

Referenced by Instance().

std::vector<G4VCrossSectionDataSet*> G4CrossSectionDataSetRegistry::xSections
private

The documentation for this class was generated from the following files: