Geant4-11
Public Member Functions
G4CrossSectionFactory< T, 0 > Class Template Reference

#include <G4CrossSectionFactory.hh>

Inheritance diagram for G4CrossSectionFactory< T, 0 >:
G4VBaseXSFactory

Public Member Functions

 G4CrossSectionFactory (const G4String &name)
 
virtual G4VCrossSectionDataSetInstantiate ()
 

Detailed Description

template<typename T>
class G4CrossSectionFactory< T, 0 >

Definition at line 65 of file G4CrossSectionFactory.hh.

Constructor & Destructor Documentation

◆ G4CrossSectionFactory()

template<typename T >
G4CrossSectionFactory< T, 0 >::G4CrossSectionFactory ( const G4String name)
inline

Definition at line 69 of file G4CrossSectionFactory.hh.

70 {
72 }
static G4CrossSectionFactoryRegistry * Instance()
void Register(const G4String &name, G4VBaseXSFactory *factory)
const char * name(G4int ptype)

References G4CrossSectionFactoryRegistry::Instance(), G4InuclParticleNames::name(), and G4CrossSectionFactoryRegistry::Register().

Member Function Documentation

◆ Instantiate()

template<typename T >
virtual G4VCrossSectionDataSet * G4CrossSectionFactory< T, 0 >::Instantiate ( )
inlinevirtual

Implements G4VBaseXSFactory.

Definition at line 74 of file G4CrossSectionFactory.hh.

75 {
76 return new T();
77 }

The documentation for this class was generated from the following file: