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

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

33 {}
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 36 of file PhysicsListMaker.h.

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

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 > &  )
privatedelete