#include <CollectionAdder.h>
Public Types | |
typedef C | collection |
Public Member Functions | |
CollectionAdder (const edm::ParameterSet &cfg) | |
Private Member Functions | |
void | produce (edm::Event &evt, const edm::EventSetup &) |
Private Attributes | |
std::vector< edm::InputTag > | src_ |
Definition at line 16 of file CollectionAdder.h.
typedef C CollectionAdder< C >::collection |
Definition at line 18 of file CollectionAdder.h.
CollectionAdder< C >::CollectionAdder | ( | const edm::ParameterSet & | cfg | ) | [inline] |
Definition at line 19 of file CollectionAdder.h.
: src_(cfg.template getParameter<std::vector<edm::InputTag> >("src")) { produces<collection>(); }
void CollectionAdder< C >::produce | ( | edm::Event & | evt, |
const edm::EventSetup & | |||
) | [inline, private, virtual] |
Implements edm::EDProducer.
Definition at line 25 of file CollectionAdder.h.
References coll, edm::Event::getByLabel(), i, edm::Event::put(), alcazmumu_cfi::src, and CollectionAdder< C >::src_.
std::vector<edm::InputTag> CollectionAdder< C >::src_ [private] |
Definition at line 24 of file CollectionAdder.h.
Referenced by CollectionAdder< C >::produce().