20 std::vector<edm::EDGetTokenT<std::vector<l1t::PFCandidate>>>
tokens_;
24 : instances_(iConfig.getParameter<std::
vector<std::
string>>(
"labelsToMerge")) {
25 const std::vector<edm::InputTag>& pfProducers = iConfig.
getParameter<std::vector<edm::InputTag>>(
"pfProducers");
41 auto out = std::make_unique<std::vector<l1t::PFCandidate>>();
42 for (
unsigned int ip = 0; ip <
np; ++ip, ++it) {
44 out->insert(
out->end(), handle->begin(), handle->end());
~L1TPFCandMultiMerger() override
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
bool getByToken(EDGetToken token, Handle< PROD > &result) const
#define DEFINE_FWK_MODULE(type)
void produce(edm::StreamID, edm::Event &, const edm::EventSetup &) const override
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
T getParameter(std::string const &) const
std::vector< std::string > instances_
L1TPFCandMultiMerger(const edm::ParameterSet &)
std::vector< edm::EDGetTokenT< std::vector< l1t::PFCandidate > > > tokens_