1 #ifndef PhysicsTools_UtilAlgos_CollectionAdder_h
2 #define PhysicsTools_UtilAlgos_CollectionAdder_h
20 src_(cfg.
template getParameter<std::vector<edm::InputTag> >(
"src")) {
21 produces<collection>();
24 std::vector<edm::InputTag>
src_;
27 typename collection::Filler filler(*coll);
28 for(
size_t i = 0;
i <
src_.size(); ++
i ) {
std::vector< edm::InputTag > src_
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
void produce(edm::Event &evt, const edm::EventSetup &)
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
CollectionAdder(const edm::ParameterSet &cfg)