21 produces<std::vector<reco::CandidateBaseRef> >();
25 std::unique_ptr<std::vector<reco::CandidateBaseRef> >
out(
new std::vector<reco::CandidateBaseRef>);
29 for(
size_t j = 0; j < src->
size(); ++j)
30 out->push_back(src->
refAt(j));
34 std::vector<edm::EDGetTokenT<reco::CandidateView> >
srcTokens_;
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
bool getByToken(EDGetToken token, Handle< PROD > &result) const
CandViewRefMerger(const edm::ParameterSet &cfg)
RefToBase< value_type > refAt(size_type i) const
std::vector< edm::EDGetTokenT< reco::CandidateView > > srcTokens_
#define DEFINE_FWK_MODULE(type)
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 >
void produce(edm::Event &evt, const edm::EventSetup &) override