1 #ifndef __PFClusterCollectionMerger__ 2 #define __PFClusterCollectionMerger__ 19 const std::vector<edm::InputTag>&
inputs = conf.
getParameter<std::vector<edm::InputTag> >(
"inputs");
20 for (
const auto&
input : inputs) {
21 _inputs.push_back(consumes<reco::PFClusterCollection>(
input));
23 produces<reco::PFClusterCollection>();
27 auto output = std::make_unique<reco::PFClusterCollection>();
31 output->insert(
output->end(), handle->begin(), handle->end());
37 std::vector<edm::EDGetTokenT<reco::PFClusterCollection> >
_inputs;
T getParameter(std::string const &) const
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
bool getByToken(EDGetToken token, Handle< PROD > &result) const
void produce(edm::StreamID, edm::Event &e, const edm::EventSetup &es) const override
static std::string const input
#define DEFINE_FWK_MODULE(type)
PFClusterCollectionMerger(const edm::ParameterSet &conf)
std::vector< edm::EDGetTokenT< reco::PFClusterCollection > > _inputs