#include <EcalUncalibRecHitProducer.h>
Definition at line 17 of file EcalUncalibRecHitProducer.h.
◆ EcalUncalibRecHitProducer()
◆ ~EcalUncalibRecHitProducer()
EcalUncalibRecHitProducer::~EcalUncalibRecHitProducer |
( |
| ) |
|
|
overridedefault |
◆ fillDescriptions()
Definition at line 41 of file EcalUncalibRecHitProducer.cc.
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);
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), edm::ConfigurationDescriptions::addDefault(), HIPAlignmentAlgorithm_cfi::algoName, cms::cuda::assert(), beamerCreator::create(), get, edm::ParameterSetDescription::ifValue(), MessageLogger_cfi::infos, HLT_2018_cff::InputTag, eostools::move(), or, alignCSCRings::s, and AlCaHLTBitMon_QueryRunRegistry::string.
◆ produce()
Definition at line 90 of file EcalUncalibRecHitProducer.cc.
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);
References ebDigiCollectionToken_, ebHitCollection_, eeDigiCollectionToken_, SimL1EmulatorDM_cff::eeDigis, eeHitCollection_, edm::Event::getByToken(), eostools::move(), edm::Handle< T >::product(), edm::Event::put(), edm::DataFrameContainer::size(), and worker_.
◆ ebDigiCollectionToken_
◆ ebHitCollection_
std::string EcalUncalibRecHitProducer::ebHitCollection_ |
|
private |
◆ eeDigiCollectionToken_
◆ eeHitCollection_
std::string EcalUncalibRecHitProducer::eeHitCollection_ |
|
private |
◆ worker_
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e< void, edm::EventID const &, edm::Timestamp const & > We also list in braces which AR_WATCH_USING_METHOD_ is used for those or