29 return &singleInstance_;
32 std::unique_ptr<DigiAccumulatorMixMod>
35 FDEBUG(1) <<
"DigiAccumulatorMixModFactory: digi_accumulator_type = " << accumulatorType << std::endl;
36 std::unique_ptr<DigiAccumulatorMixMod> wm;
39 if(wm.get()==
nullptr) {
41 <<
"DigiAccumulator Factory:\n" 42 <<
"Cannot find dig type from ParameterSet: " 43 << accumulatorType <<
"\n" 44 <<
"Perhaps your source type is misspelled or is not an EDM Plugin?\n" 45 <<
"Try running EdmPluginDump to obtain a list of available Plugins.";
48 FDEBUG(1) <<
"DigiAccumulatorMixModFactory: created a Digi Accumulator "
T getParameter(std::string const &) const
static DigiAccumulatorMixModFactory const singleInstance_
DigiAccumulatorMixModFactory()
std::unique_ptr< DigiAccumulatorMixMod > makeDigiAccumulator(ParameterSet const &, stream::EDProducerBase &, ConsumesCollector &) const
~DigiAccumulatorMixModFactory()
#define EDM_REGISTER_PLUGINFACTORY(_factory_, _category_)
static DigiAccumulatorMixModFactory const * get()
T get(const Candidate &c)