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;
29 (*outputColl)[iCopy].setVertex(pf.
vertex());
T getParameter(std::string const &) const
~PFConcretePFCandidateProducer()
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
PFConcretePFCandidateProducer(const edm::ParameterSet &)
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 &)