48 std::vector<edmplugin::PluginInfo>
infos = factory->available();
57 auto itInfos = infos.begin();
58 assert(itInfos != infos.end());
60 std::auto_ptr<edm::ParameterDescriptionCases<std::string>>
s;
64 for (++itInfos; itInfos != infos.end(); ++itInfos)
71 for (std::vector<edmplugin::PluginInfo>::const_iterator itInfos = infos.begin(); itInfos != infos.end(); itInfos++) {
82 std::string algoName = itInfos->name_.substr(itInfos->name_.find(
"Worker")+6, itInfos->name_.length());
83 descriptions.
add(
"ecal"+algoName+
"UncalibRecHit", desc);
100 ebDigis = pEBDigis.product();
101 edm::LogInfo(
"EcalUncalibRecHitInfo") <<
"total # ebDigis: " << ebDigis->size() ;
104 eeDigis = pEEDigis.product();
105 edm::LogInfo(
"EcalUncalibRecHitInfo") <<
"total # eeDigis: " << eeDigis->size() ;
119 ebUncalibRechits->reserve(ebDigis->size());
128 eeUncalibRechits->reserve(eeDigis->size());
T getParameter(std::string const &) const
boost::transform_iterator< IterHelp, boost::counting_iterator< int > > const_iterator
virtual void set(const edm::EventSetup &es)=0
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::EventIDconst &, edm::Timestampconst & > We also list in braces which AR_WATCH_USING_METHOD_ is used for those or
bool getByToken(EDGetToken token, Handle< PROD > &result) const
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
#define DEFINE_FWK_MODULE(type)
edm::EDGetTokenT< EEDigiCollection > eeDigiCollectionToken_
~EcalUncalibRecHitProducer()
void addDefault(ParameterSetDescription const &psetDescription)
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
ConsumesCollector consumesCollector()
Use a ConsumesCollector to gather consumes information from helper functions.
EcalUncalibRecHitWorkerBaseClass * worker_
ParameterDescriptionBase * add(U const &iLabel, T const &value)
virtual void produce(edm::Event &evt, const edm::EventSetup &es) override
std::string eeHitCollection_
ParameterDescriptionNode * ifValue(ParameterDescription< T > const &switchParameter, std::auto_ptr< ParameterDescriptionCases< T > > cases)
EcalUncalibRecHitProducer(const edm::ParameterSet &ps)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
virtual bool run(const edm::Event &evt, const EcalDigiCollection::const_iterator &digi, EcalUncalibratedRecHitCollection &result)=0
std::string ebHitCollection_
edm::EDGetTokenT< EBDigiCollection > ebDigiCollectionToken_
T get(const Candidate &c)