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

#include <G4CrossSectionFactory.hh>

+ Inheritance diagram for G4CrossSectionFactory< T >:

Public Member Functions

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

Detailed Description

template<typename T>
class G4CrossSectionFactory< T >

Definition at line 44 of file G4CrossSectionFactory.hh.

Constructor & Destructor Documentation

◆ G4CrossSectionFactory()

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

Definition at line 48 of file G4CrossSectionFactory.hh.

49 {
51 }
void AddFactory(G4String, G4VBaseXSFactory *)
static G4CrossSectionDataSetRegistry * Instance()

Member Function Documentation

◆ Instantiate()

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

Implements G4VBaseXSFactory.

Definition at line 53 of file G4CrossSectionFactory.hh.

54 {
55 return new T();
56 }

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