28 pfBlockAlgo_.setDebug(debug_);
31 const std::vector<edm::ParameterSet>& importers
33 pfBlockAlgo_.setImporters(importers,coll);
35 const std::vector<edm::ParameterSet>& linkdefs
37 pfBlockAlgo_.setLinkers(linkdefs);
39 produces<reco::PFBlockCollection>();
50 pfBlockAlgo_.updateEventSetup(es);
57 pfBlockAlgo_.buildElements(iEvent);
59 pfBlockAlgo_.findBlocks();
63 str<<pfBlockAlgo_<<endl;
64 LogInfo(
"PFBlockProducer") << str.str()<<endl;
67 auto_ptr< reco::PFBlockCollection >
68 pOutputBlockCollection( pfBlockAlgo_.transferBlocks() );
70 iEvent.
put(pOutputBlockCollection);
T getUntrackedParameter(std::string const &, T const &) const
VParameterSet const & getParameterSetVector(std::string const &name) const
virtual void produce(edm::Event &, const edm::EventSetup &) override
PFBlockProducer(const edm::ParameterSet &)
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
virtual void beginLuminosityBlock(edm::LuminosityBlock const &, edm::EventSetup const &) override