CMS 3D CMS Logo

Public Member Functions

PhysicsListMaker< T > Class Template Reference

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

Inheritance diagram for PhysicsListMaker< T >:
PhysicsListMakerBase

List of all members.

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 ()

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.

{}

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 [inline, virtual]

Implements PhysicsListMakerBase.

Definition at line 39 of file PhysicsListMaker.h.

References SimActivityRegistryEnroller::enroll().

      {
        std::auto_ptr<T> returnValue(new T(map_, table_, fieldBuilder_, p));
        SimActivityRegistryEnroller::enroll(reg, returnValue.get());
        
        return std::auto_ptr<PhysicsList>(returnValue);
      }