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

#include <G4PhysicsConstructorFactory.hh>

+ Inheritance diagram for G4PhysicsConstructorFactory< T >:

Public Member Functions

 G4PhysicsConstructorFactory (const G4String &name)
 
virtual G4VPhysicsConstructorInstantiate ()
 
virtual G4VPhysicsConstructorInstantiate ()=0
 

Detailed Description

template<typename T>
class G4PhysicsConstructorFactory< T >

Definition at line 44 of file G4PhysicsConstructorFactory.hh.

Constructor & Destructor Documentation

◆ G4PhysicsConstructorFactory()

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

Definition at line 48 of file G4PhysicsConstructorFactory.hh.

49 {
51 }
void AddFactory(G4String, G4VBasePhysConstrFactory *)
static G4PhysicsConstructorRegistry * Instance()

Member Function Documentation

◆ Instantiate()

template<typename T >
virtual G4VPhysicsConstructor * G4PhysicsConstructorFactory< T >::Instantiate ( )
inlinevirtual

Implements G4VBasePhysConstrFactory.

Definition at line 53 of file G4PhysicsConstructorFactory.hh.

54 {
55 return new T();
56 }

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