34 produces<reco::PFCandidateCollection>();
46 auto outputColl = std::make_unique<reco::PFCandidateCollection>();
49 for (
unsigned int iCopy = 0; iCopy !=
inputColl->size(); ++iCopy) {
51 (*outputColl)[iCopy] =
pf;
53 (*outputColl)[iCopy].setVertex(
pf.vertex());
void addWithDefaultLabel(ParameterSetDescription const &psetDescription)
PFConcretePFCandidateProducer(const edm::ParameterSet &)
std::vector< l1t::PFCandidate > PFCandidateCollection
void produce(edm::Event &, const edm::EventSetup &) override
#define DEFINE_FWK_MODULE(type)
~PFConcretePFCandidateProducer() override
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Particle reconstructed by the particle flow algorithm.
const edm::EDGetTokenT< reco::PFCandidateCollection > inputColl_