Geant4  10.00.p03
G4CrossSectionFactory.hh File Reference
+ Include dependency graph for G4CrossSectionFactory.hh:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  G4VBaseXSFactory
 
class  G4CrossSectionFactory< T, mode >
 
class  G4CrossSectionFactory< T, 0 >
 
class  G4CrossSectionFactory< T, 1 >
 
class  G4CrossSectionFactory< T, 2 >
 

Macros

#define G4_BASE_DECLARE_XS_FACTORY(cross_section, flag)   const G4CrossSectionFactory<cross_section,flag>& cross_section##Factory = G4CrossSectionFactory<cross_section,flag>(cross_section::Default_Name())
 
#define G4_BASE_REFERENCE_XS_FACTORY(cross_section, flag)
 
#define G4_DECLARE_XS_FACTORY(cross_section)   G4_BASE_DECLARE_XS_FACTORY(cross_section,0)
 
#define G4_DECLARE_SHAREDXS_FACTORY(cross_section)   G4_BASE_DECLARE_XS_FACTORY(cross_section,1)
 
#define G4_DECLARE_SHAREDTLSXS_FACTORY(cross_section)   G4_BASE_DECLARE_XS_FACTORY(cross_section,2)
 
#define G4_REFERENCE_XS_FACTORY(cross_section)   G4_BASE_REFERENCE_XS_FACTORY(cross_section,0)
 
#define G4_REFERENCE_SHAREDXS_FACTORY(cross_section)   G4_BASE_REFERENCE_XS_FACTORY(cross_section,1)
 
#define G4_REFERENCE_SHAREDTLSXS_FACTORY(cross_section)   G4_BASE_REFERENCE_XS_FACTORY(cross_section,2)
 

Macro Definition Documentation

#define G4_BASE_DECLARE_XS_FACTORY (   cross_section,
  flag 
)    const G4CrossSectionFactory<cross_section,flag>& cross_section##Factory = G4CrossSectionFactory<cross_section,flag>(cross_section::Default_Name())

Definition at line 114 of file G4CrossSectionFactory.hh.

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

Definition at line 117 of file G4CrossSectionFactory.hh.

#define G4_DECLARE_SHAREDTLSXS_FACTORY (   cross_section)    G4_BASE_DECLARE_XS_FACTORY(cross_section,2)

Definition at line 125 of file G4CrossSectionFactory.hh.

#define G4_DECLARE_SHAREDXS_FACTORY (   cross_section)    G4_BASE_DECLARE_XS_FACTORY(cross_section,1)

Definition at line 124 of file G4CrossSectionFactory.hh.

#define G4_DECLARE_XS_FACTORY (   cross_section)    G4_BASE_DECLARE_XS_FACTORY(cross_section,0)

Definition at line 123 of file G4CrossSectionFactory.hh.

#define G4_REFERENCE_SHAREDTLSXS_FACTORY (   cross_section)    G4_BASE_REFERENCE_XS_FACTORY(cross_section,2)

Definition at line 130 of file G4CrossSectionFactory.hh.

#define G4_REFERENCE_SHAREDXS_FACTORY (   cross_section)    G4_BASE_REFERENCE_XS_FACTORY(cross_section,1)

Definition at line 129 of file G4CrossSectionFactory.hh.

#define G4_REFERENCE_XS_FACTORY (   cross_section)    G4_BASE_REFERENCE_XS_FACTORY(cross_section,0)

Definition at line 128 of file G4CrossSectionFactory.hh.