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