CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions
PhysicsListMaker< T > Class Template Reference

#include <SimG4Core/Physics/interface/PhysicsListMaker.h>

Inheritance diagram for PhysicsListMaker< T >:
PhysicsListMakerBase

Public Member Functions

virtual std::auto_ptr
< PhysicsList
make (G4LogicalVolumeToDDLogicalPartMap &map_, const HepPDT::ParticleDataTable *table_, sim::ChordFinderSetter *chordFinderSetter_, const edm::ParameterSet &p, SimActivityRegistry &reg) const
 
 PhysicsListMaker ()
 
- Public Member Functions inherited from PhysicsListMakerBase
 PhysicsListMakerBase ()
 
virtual ~PhysicsListMakerBase ()
 

Detailed Description

template<class T>
class PhysicsListMaker< T >

Description: <one line="" class="" summary>="">

Usage: <usage>

Definition at line 31 of file PhysicsListMaker.h.

Constructor & Destructor Documentation

template<class T >
PhysicsListMaker< T >::PhysicsListMaker ( )
inline

Definition at line 35 of file PhysicsListMaker.h.

35 {}

Member Function Documentation

template<class T >
virtual std::auto_ptr<PhysicsList> PhysicsListMaker< T >::make ( G4LogicalVolumeToDDLogicalPartMap map_,
const HepPDT::ParticleDataTable table_,
sim::ChordFinderSetter chordFinderSetter_,
const edm::ParameterSet p,
SimActivityRegistry reg 
) const
inlinevirtual

Implements PhysicsListMakerBase.

Definition at line 38 of file PhysicsListMaker.h.

References SimActivityRegistryEnroller::enroll().

43  {
44  std::auto_ptr<T> returnValue(new T(map_, table_, chordFinderSetter_, p));
45  SimActivityRegistryEnroller::enroll(reg, returnValue.get());
46 
47  return std::auto_ptr<PhysicsList>(returnValue);
48  }
static void enroll(SimActivityRegistry &iReg, T *iObj)
Table table_
long double T