CMS 3D CMS Logo

List of all members | Public Member Functions | Private 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
 
 PhysicsListMaker ()
 
- Public Member Functions inherited from PhysicsListMakerBase
 PhysicsListMakerBase ()
 
virtual ~PhysicsListMakerBase ()
 

Private Member Functions

const PhysicsListMakeroperator= (const PhysicsListMaker &)=delete
 
 PhysicsListMaker (const PhysicsListMaker &)=delete
 

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 34 of file PhysicsListMaker.h.

Referenced by PhysicsListMaker< T >::make().

34 {}
template<class T >
PhysicsListMaker< T >::PhysicsListMaker ( const PhysicsListMaker< T > &  )
privatedelete

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 37 of file PhysicsListMaker.h.

References SimActivityRegistryEnroller::enroll(), PhysicsListMaker< T >::operator=(), and PhysicsListMaker< T >::PhysicsListMaker().

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