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
#define DEFINE_FWK_MODULE(type)
static std::string const input
virtual void produce(edm::StreamID, edm::Event &e, const edm::EventSetup &es) const
PFClusterCollectionMerger(const edm::ParameterSet &conf)
std::vector< edm::EDGetTokenT< reco::PFClusterCollection > > _inputs