Geant4-11
Private Member Functions
G4CrossSectionFactory< T, 2 > Class Template Reference

#include <G4CrossSectionFactory.hh>

Inheritance diagram for G4CrossSectionFactory< T, 2 >:
G4VBaseXSFactory

Private Member Functions

 G4CrossSectionFactory (const G4String &name)
 
virtual G4VCrossSectionDataSetInstantiate ()
 

Detailed Description

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

Definition at line 99 of file G4CrossSectionFactory.hh.

Constructor & Destructor Documentation

◆ G4CrossSectionFactory()

template<typename T >
G4CrossSectionFactory< T, 2 >::G4CrossSectionFactory ( const G4String name)
inlineprivate

Definition at line 101 of file G4CrossSectionFactory.hh.

102 {
104 }
static G4CrossSectionFactoryRegistry * Instance()
void Register(const G4String &name, G4VBaseXSFactory *factory)
const char * name(G4int ptype)

References G4CrossSectionFactoryRegistry::Instance(), G4InuclParticleNames::name(), and G4CrossSectionFactoryRegistry::Register().

Member Function Documentation

◆ Instantiate()

template<typename T >
virtual G4VCrossSectionDataSet * G4CrossSectionFactory< T, 2 >::Instantiate ( )
inlineprivatevirtual

Implements G4VBaseXSFactory.

Definition at line 106 of file G4CrossSectionFactory.hh.

107 {
108 static G4ThreadLocal T* shared = new T();
109 return shared;
110 }
#define G4ThreadLocal
Definition: tls.hh:77

References G4ThreadLocal.


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