26#ifndef G4CrossSectionFactory_h
27#define G4CrossSectionFactory_h 1
60#define G4_DECLARE_XS_FACTORY(cross_section) \
61 const G4CrossSectionFactory<cross_section>& cross_section##Factory = G4CrossSectionFactory<cross_section>(cross_section::Default_Name())
63#define G4_REFERENCE_XS_FACTORY(cross_section) \
64 class cross_section; \
65 extern const G4CrossSectionFactory<cross_section>& cross_section##Factory; \
66 const G4CrossSectionFactory<cross_section>& cross_section##FactoryRef = cross_section##Factory
void AddFactory(G4String, G4VBaseXSFactory *)
static G4CrossSectionDataSetRegistry * Instance()
virtual G4VCrossSectionDataSet * Instantiate()
G4CrossSectionFactory(const G4String &name)
virtual G4VCrossSectionDataSet * Instantiate()=0