Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4CrossSectionFactory.hh File Reference

Go to the source code of this file.

Classes

class  G4VBaseXSFactory
 
class  G4CrossSectionFactory< T >
 

Macros

#define G4_DECLARE_XS_FACTORY(cross_section)    const G4CrossSectionFactory<cross_section>& cross_section##Factory = G4CrossSectionFactory<cross_section>(cross_section::Default_Name())
 
#define G4_REFERENCE_XS_FACTORY(cross_section)
 

Macro Definition Documentation

◆ G4_DECLARE_XS_FACTORY

#define G4_DECLARE_XS_FACTORY (   cross_section)     const G4CrossSectionFactory<cross_section>& cross_section##Factory = G4CrossSectionFactory<cross_section>(cross_section::Default_Name())

Definition at line 60 of file G4CrossSectionFactory.hh.

◆ G4_REFERENCE_XS_FACTORY

#define G4_REFERENCE_XS_FACTORY (   cross_section)
Value:
class cross_section; \
extern const G4CrossSectionFactory<cross_section>& cross_section##Factory; \
const G4CrossSectionFactory<cross_section>& cross_section##FactoryRef = cross_section##Factory

Definition at line 63 of file G4CrossSectionFactory.hh.