21 produces<std::vector<reco::CandidateBaseRef> >();
25 std::auto_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_;
bool getByToken(EDGetToken token, Handle< PROD > &result) const
#define DEFINE_FWK_MODULE(type)
CandViewRefMerger(const edm::ParameterSet &cfg)
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_
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
void produce(edm::Event &evt, const edm::EventSetup &) override