79 if(0 == theInstance) {
81 theInstance = &manager;
86 G4CrossSectionDataSetRegistry::G4CrossSectionDataSetRegistry()
96 size_t n = xSections.size();
98 for (
size_t i=0; i<
n; ++i) {
112 size_t n = xSections.size();
114 for (
size_t i=0; i<
n; ++i) {
115 if(xSections[i] == p) {
return; }
118 xSections.push_back(p);
124 size_t n = xSections.size();
126 for (
size_t i=0; i<
n; ++i) {
127 if(xSections[i] == p) {
142 size_t n = xSections.size();
144 for (
size_t i=0; i<
n; ++i)
#define G4_REFERENCE_XS_FACTORY(cross_section)
G4VCrossSectionDataSet * GetCrossSectionDataSet(const G4String &name, G4bool warning=true)
void DeRegister(G4VCrossSectionDataSet *)
~G4CrossSectionDataSetRegistry()
const G4String & GetName() const
virtual G4VCrossSectionDataSet * Instantiate()=0
G4VBaseXSFactory * GetFactory(const G4String &name, G4bool abortIfNotFound=true) const
static G4CrossSectionDataSetRegistry * Instance()
static G4CrossSectionFactoryRegistry * Instance()
void Register(G4VCrossSectionDataSet *)