8 produces<reco::PFCandidateCollection>();
22 auto outputColl = std::make_unique<reco::PFCandidateCollection>();
25 for (
unsigned int iCopy=0;iCopy!=inputColl->size();++iCopy){
27 (*outputColl)[iCopy]=pf;
T getParameter(std::string const &) const
~PFConcretePFCandidateProducer()
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
PFConcretePFCandidateProducer(const edm::ParameterSet &)
virtual void setVertex(const math::XYZPoint &p)
set vertex
virtual const Point & vertex() const
vertex position (overwritten by PF...)
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
Particle reconstructed by the particle flow algorithm.
virtual void produce(edm::Event &, const edm::EventSetup &)