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

#include <G4CrossSectionFactory.hh>

+ Inheritance diagram for G4CrossSectionFactory< T, 1 >:

Public Member Functions

 G4CrossSectionFactory (const G4String &name)
 
virtual G4VCrossSectionDataSetInstantiate ()
 
virtual G4VCrossSectionDataSetInstantiate ()=0
 

Detailed Description

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

Definition at line 82 of file G4CrossSectionFactory.hh.

Constructor & Destructor Documentation

◆ G4CrossSectionFactory()

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

Definition at line 85 of file G4CrossSectionFactory.hh.

86 {
88 }
static G4CrossSectionFactoryRegistry * Instance()
void Register(const G4String &name, G4VBaseXSFactory *factory)

Member Function Documentation

◆ Instantiate()

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

Implements G4VBaseXSFactory.

Definition at line 90 of file G4CrossSectionFactory.hh.

91 {
92 static T* shared = new T();
93 return shared;
94 }

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