1 #ifndef CollectionCombiner_H
2 #define CollectionCombiner_H
28 template <
typename Collection>
41 template <
typename Collection>
44 produces<Collection>();
46 template <
typename Collection>
49 template <
typename Collection>
52 unsigned int i=0,i_max=
labels.size();
54 std::auto_ptr<Collection> merged(
new Collection());
57 merged->insert(merged->end(), handle->begin(), handle->end());
T getParameter(std::string const &) const
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
virtual void produce(edm::Event &, const edm::EventSetup &)
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
CollectionCombiner(const edm::ParameterSet &)
std::vector< edm::InputTag > labels