CMS 3D CMS Logo

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

◆ PhysicsListMaker() [1/2]

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

Definition at line 33 of file PhysicsListMaker.h.

33 {}

◆ PhysicsListMaker() [2/2]

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

Member Function Documentation

◆ make()

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(), and AlCaHLTBitMon_ParallelJobs::p.

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

◆ operator=()

template<class T >
const PhysicsListMaker& PhysicsListMaker< T >::operator= ( const PhysicsListMaker< T > &  )
delete