23 produces<std::vector<reco::CandidateBaseRef> >();
28 std::unique_ptr<std::vector<reco::CandidateBaseRef> >
out(
new std::vector<reco::CandidateBaseRef>);
34 for (
size_t j = 0;
j <
src->size(); ++
j)
39 std::vector<edm::EDGetTokenT<reco::CandidateView> >
srcTokens_;
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
#define DEFINE_FWK_MODULE(type)
CandViewRefMerger(const edm::ParameterSet &cfg)
bool getByToken(EDGetToken token, Handle< PROD > &result) const
auto vector_transform(std::vector< InputType > const &input, Function predicate) -> std::vector< typename std::remove_cv< typename std::remove_reference< decltype(predicate(input.front()))>::type >::type >
std::vector< edm::EDGetTokenT< reco::CandidateView > > srcTokens_
void produce(edm::Event &evt, const edm::EventSetup &) override