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::FieldBuilder *fieldBuilder_, 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 32 of file PhysicsListMaker.h.

Constructor & Destructor Documentation

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

Definition at line 36 of file PhysicsListMaker.h.

36 {}

Member Function Documentation

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

Implements PhysicsListMakerBase.

Definition at line 39 of file PhysicsListMaker.h.

References SimActivityRegistryEnroller::enroll().

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