SimG4Core
Physics
interface
PhysicsListMaker.h
Go to the documentation of this file.
1
#ifndef Physics_PhysicsListMaker_h
2
#define Physics_PhysicsListMaker_h
3
// -*- C++ -*-
4
//
5
// Package: Physics
6
// Class : PhysicsListMaker
7
//
16
//
17
// Original Author:
18
// Created: Tue Nov 22 13:03:44 EST 2005
19
//
20
21
// system include files
22
#include <memory>
23
24
// user include files
25
#include "
SimG4Core/Physics/interface/PhysicsListMakerBase.h
"
26
#include "
SimG4Core/Notification/interface/SimActivityRegistryEnroller.h
"
27
28
// forward declarations
29
30
template
<
class
T>
31
class
PhysicsListMaker
:
public
PhysicsListMakerBase
{
32
public
:
33
PhysicsListMaker
() {}
34
35
// ---------- const member functions ---------------------
36
std::unique_ptr<PhysicsList>
make
(
const
edm::ParameterSet
&
p
,
SimActivityRegistry
& reg)
const override
{
37
std::unique_ptr<T> returnValue(
new
T
(
p
));
38
SimActivityRegistryEnroller::enroll
(reg, returnValue.get());
39
40
return
returnValue;
41
}
42
43
private
:
44
PhysicsListMaker
(
const
PhysicsListMaker
&) =
delete
;
45
const
PhysicsListMaker
&
operator=
(
const
PhysicsListMaker
&) =
delete
;
46
};
47
48
#endif
PhysicsListMaker::PhysicsListMaker
PhysicsListMaker()
Definition:
PhysicsListMaker.h:33
AlCaHLTBitMon_ParallelJobs.p
p
Definition:
AlCaHLTBitMon_ParallelJobs.py:153
PhysicsListMakerBase
Definition:
PhysicsListMakerBase.h:34
PhysicsListMaker::make
std::unique_ptr< PhysicsList > make(const edm::ParameterSet &p, SimActivityRegistry ®) const override
Definition:
PhysicsListMaker.h:36
PhysicsListMaker
Definition:
PhysicsListMaker.h:31
PhysicsListMaker::operator=
const PhysicsListMaker & operator=(const PhysicsListMaker &)=delete
edm::ParameterSet
Definition:
ParameterSet.h:36
SimActivityRegistryEnroller::enroll
static void enroll(SimActivityRegistry &iReg, T *iObj)
Definition:
SimActivityRegistryEnroller.h:82
SimActivityRegistryEnroller.h
SimActivityRegistry
Definition:
SimActivityRegistry.h:43
T
long double T
Definition:
Basic3DVectorLD.h:48
PhysicsListMakerBase.h
Generated for CMSSW Reference Manual by
1.8.16