1 #ifndef __PFClusterCollectionMerger__ 2 #define __PFClusterCollectionMerger__ 19 const std::vector<edm::InputTag>&
inputs =
20 conf.
getParameter<std::vector<edm::InputTag> >(
"inputs");
21 for(
const auto&
input : inputs ) {
22 _inputs.push_back(consumes<reco::PFClusterCollection>(
input ));
24 produces<reco::PFClusterCollection>();
28 auto output = std::make_unique<reco::PFClusterCollection>();
32 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