CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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

std::unique_ptr< PhysicsListmake (const edm::ParameterSet &p, SimActivityRegistry &reg) const override
 
const PhysicsListMakeroperator= (const PhysicsListMaker &)=delete
 
 PhysicsListMaker ()
 
 PhysicsListMaker (const PhysicsListMaker &)=delete
 
- Public Member Functions inherited from PhysicsListMakerBase
const PhysicsListMakerBaseoperator= (const PhysicsListMakerBase &)=delete
 
 PhysicsListMakerBase ()
 
 PhysicsListMakerBase (const PhysicsListMakerBase &)=delete
 
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 33 of file PhysicsListMaker.h.

33 {}
template<class T >
PhysicsListMaker< T >::PhysicsListMaker ( const PhysicsListMaker< T > &  )
delete

Member Function Documentation

template<class T >
std::unique_ptr<PhysicsList> PhysicsListMaker< T >::make ( const edm::ParameterSet p,
SimActivityRegistry reg 
) const
inlineoverridevirtual

Implements PhysicsListMakerBase.

Definition at line 36 of file PhysicsListMaker.h.

References SimActivityRegistryEnroller::enroll().

36  {
37  std::unique_ptr<T> returnValue(new T(p));
38  SimActivityRegistryEnroller::enroll(reg, returnValue.get());
39 
40  return returnValue;
41  }
static void enroll(SimActivityRegistry &iReg, T *iObj)
long double T
template<class T >
const PhysicsListMaker& PhysicsListMaker< T >::operator= ( const PhysicsListMaker< T > &  )
delete