Geant4 11.1.1
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 ()
 
virtual G4VCrossSectionDataSetInstantiate ()=0
 

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: