Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4CrossSectionFactory< T, 0 > Class Template Reference

#include <G4CrossSectionFactory.hh>

+ Inheritance diagram for G4CrossSectionFactory< T, 0 >:

Public Member Functions

 G4CrossSectionFactory (const G4String &name)
 
virtual G4VCrossSectionDataSetInstantiate ()
 
- Public Member Functions inherited from G4VBaseXSFactory

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)

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: