Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CexmcProductionModelFactory< BasePhysics, StudiedPhysics, ProductionModel > Class Template Reference

#include <CexmcProductionModelFactory.hh>

Static Public Member Functions

static G4VUserPhysicsListCreate (CexmcProductionModelType productionModelType)
 
static CexmcBasePhysicsUsed GetBasePhysics (void)
 

Detailed Description

template<typename BasePhysics, template< typename > class StudiedPhysics, template< typename > class ProductionModel>
class CexmcProductionModelFactory< BasePhysics, StudiedPhysics, ProductionModel >

Definition at line 89 of file CexmcProductionModelFactory.hh.

Member Function Documentation

template<typename BasePhysics , template< typename > class StudiedPhysics, template< typename > class ProductionModel>
G4VUserPhysicsList * CexmcProductionModelFactory< BasePhysics, StudiedPhysics, ProductionModel >::Create ( CexmcProductionModelType  productionModelType)
static

Definition at line 107 of file CexmcProductionModelFactory.hh.

108 {
109  switch ( productionModelType )
110  {
112  return new CexmcPhysicsList< BasePhysics, StudiedPhysics,
113  ProductionModel< G4PionZero > >;
114  case CexmcEtaProduction :
115  return new CexmcPhysicsList< BasePhysics, StudiedPhysics,
116  ProductionModel< G4Eta > >;
117  default :
118  return NULL;
119  }
120 }
template<typename BasePhysics , template< typename > class StudiedPhysics, template< typename > class ProductionModel>
CexmcBasePhysicsUsed CexmcProductionModelFactory< BasePhysics, StudiedPhysics, ProductionModel >::GetBasePhysics ( void  )
static

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