Geant4 11.4.0
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)
G4VCrossSectionDataSetInstantiate () override
Public Member Functions inherited from G4VBaseXSFactory
 G4VBaseXSFactory ()
virtual ~G4VBaseXSFactory ()=default

Additional Inherited Members

Protected Attributes inherited from G4VBaseXSFactory
G4CrossSectionFactoryRegistryfRegistry

Detailed Description

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

Definition at line 72 of file G4CrossSectionFactory.hh.

Constructor & Destructor Documentation

◆ G4CrossSectionFactory()

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

Definition at line 76 of file G4CrossSectionFactory.hh.

77 {
78 fRegistry->Register(name, this);
79 }
G4CrossSectionFactoryRegistry * fRegistry

Member Function Documentation

◆ Instantiate()

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

Implements G4VBaseXSFactory.

Definition at line 81 of file G4CrossSectionFactory.hh.

82 {
83 return new T();
84 }

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