SimGeneral
MixingModule
interface
DigiAccumulatorMixModFactory.h
Go to the documentation of this file.
1
#ifndef SimGeneral_MixingModule_DigiAccumulatorMixModFactory_h
2
#define SimGeneral_MixingModule_DigiAccumulatorMixModFactory_h
3
4
#include "
FWCore/Framework/interface/ProducesCollector.h
"
5
#include "
FWCore/PluginManager/interface/PluginFactory.h
"
6
#include "
SimGeneral/MixingModule/interface/DigiAccumulatorMixMod.h
"
7
8
namespace
edm
{
9
class
ConsumesCollector;
10
class
ParameterSet
;
11
12
typedef
DigiAccumulatorMixMod
*(
DAFunc
)(
ParameterSet
const
&,
ProducesCollector
,
ConsumesCollector
&);
13
typedef
edmplugin::PluginFactory<DAFunc>
DigiAccumulatorMixModPluginFactory
;
14
15
class
DigiAccumulatorMixModFactory
{
16
public
:
17
~DigiAccumulatorMixModFactory
();
18
19
static
DigiAccumulatorMixModFactory
const
*
get
();
20
21
std::unique_ptr<DigiAccumulatorMixMod>
makeDigiAccumulator
(
ParameterSet
const
&,
22
ProducesCollector
,
23
ConsumesCollector
&)
const
;
24
25
private
:
26
DigiAccumulatorMixModFactory
();
27
static
DigiAccumulatorMixModFactory
const
singleInstance_
;
28
};
29
}
// namespace edm
30
31
#define DEFINE_DIGI_ACCUMULATOR(type) DEFINE_EDM_PLUGIN(edm::DigiAccumulatorMixModPluginFactory, type, #type)
32
//DEFINE_EDM_PLUGIN (edm::DigiAccumulatorMixModPluginFactory,type,#type); DEFINE_FWK_PSET_DESC_FILLER(type)
33
34
#endif
edm::DigiAccumulatorMixModFactory::DigiAccumulatorMixModFactory
DigiAccumulatorMixModFactory()
Definition:
DigiAccumulatorMixModFactory.cc:14
PluginFactory.h
edm::DAFunc
DigiAccumulatorMixMod *() DAFunc(ParameterSet const &, ProducesCollector, ConsumesCollector &)
Definition:
DigiAccumulatorMixModFactory.h:12
edm
HLT enums.
Definition:
AlignableModifier.h:19
ProducesCollector.h
DigiAccumulatorMixMod.h
edm::DigiAccumulatorMixModFactory
Definition:
DigiAccumulatorMixModFactory.h:15
DigiAccumulatorMixMod
Definition:
DigiAccumulatorMixMod.h:41
edm::DigiAccumulatorMixModFactory::singleInstance_
static const DigiAccumulatorMixModFactory singleInstance_
Definition:
DigiAccumulatorMixModFactory.h:27
edm::ParameterSet
Definition:
ParameterSet.h:47
ParameterSet
Definition:
Functions.h:16
edmplugin::PluginFactory
Definition:
PluginFactory.h:34
edm::ProducesCollector
Definition:
ProducesCollector.h:43
edm::DigiAccumulatorMixModFactory::~DigiAccumulatorMixModFactory
~DigiAccumulatorMixModFactory()
Definition:
DigiAccumulatorMixModFactory.cc:12
edm::DigiAccumulatorMixModFactory::makeDigiAccumulator
std::unique_ptr< DigiAccumulatorMixMod > makeDigiAccumulator(ParameterSet const &, ProducesCollector, ConsumesCollector &) const
Definition:
DigiAccumulatorMixModFactory.cc:26
edm::ConsumesCollector
Definition:
ConsumesCollector.h:45
edm::DigiAccumulatorMixModPluginFactory
edmplugin::PluginFactory< DAFunc > DigiAccumulatorMixModPluginFactory
Definition:
DigiAccumulatorMixModFactory.h:13
edm::DigiAccumulatorMixModFactory::get
static DigiAccumulatorMixModFactory const * get()
Definition:
DigiAccumulatorMixModFactory.cc:18
Generated for CMSSW Reference Manual by
1.8.16