Go to the documentation of this file.
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