37 produces<reco::CandidateBaseRefVector>();
44 auto output = std::make_unique<reco::CandidateBaseRefVector>(cands);
46 size_t nCands = cands->size();
49 for (
size_t iCand = 0; iCand < nCands; ++iCand) {
50 output->push_back(cands->refAt(iCand));
T getParameter(std::string const &) const
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
#define DEFINE_FWK_MODULE(type)
CandViewRefTriggerBiasRemover(const edm::ParameterSet &pset)
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
void produce(edm::Event &, const edm::EventSetup &) override