43 std::vector<edmplugin::PluginInfo>
infos = factory->available();
52 auto itInfos =
infos.begin();
55 std::unique_ptr<edm::ParameterDescriptionCases<std::string>>
s;
57 std::unique_ptr<EcalUncalibRecHitWorkerBaseClass> tmw(
59 s = (itInfos->name_ >>
62 for (++itInfos; itInfos !=
infos.end(); ++itInfos) {
63 std::unique_ptr<EcalUncalibRecHitWorkerBaseClass> tmw(
66 "algoPSet", tmw->getAlgoDescription(),
true));
73 for (std::vector<edmplugin::PluginInfo>::const_iterator itInfos =
infos.begin(); itInfos !=
infos.end(); itInfos++) {
74 std::unique_ptr<EcalUncalibRecHitWorkerBaseClass> fdWorker(
85 std::string algoName = itInfos->name_.substr(itInfos->name_.find(
"Worker") + 6, itInfos->name_.length());
86 descriptions.
add(
"ecal" +
algoName +
"UncalibRecHit", desc);
101 edm::LogInfo(
"EcalUncalibRecHitInfo") <<
"total # ebDigis: " << ebDigis->
size();
112 auto ebUncalibRechits = std::make_unique<EBUncalibratedRecHitCollection>();
113 auto eeUncalibRechits = std::make_unique<EEUncalibratedRecHitCollection>();
117 worker_->run(evt, *ebDigis, *ebUncalibRechits);