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 std::auto_ptr<reco::PFClusterCollection>
output;
33 output->insert(output->end(),handle->begin(),handle->end());
38 std::vector<edm::EDGetTokenT<reco::PFClusterCollection> >
_inputs;
T getParameter(std::string const &) const
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
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
PFClusterCollectionMerger(const edm::ParameterSet &conf)
std::vector< edm::EDGetTokenT< reco::PFClusterCollection > > _inputs
std::vector< PFCluster > PFClusterCollection
collection of PFCluster objects