#include <CollectionCombiner.h>
Public Member Functions | |
CollectionCombiner (const edm::ParameterSet &) | |
~CollectionCombiner () | |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
virtual | ~EDProducer () |
Public Member Functions inherited from edm::ProducerBase | |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
boost::function< void(const BranchDescription &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Private Member Functions | |
virtual void | produce (edm::Event &, const edm::EventSetup &) |
Private Attributes | |
std::vector< edm::InputTag > | labels |
Additional Inherited Members | |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | ModuleType |
typedef WorkerT< EDProducer > | WorkerType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Static Public Member Functions inherited from edm::EDProducer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDProducer | |
CurrentProcessingContext const * | currentContext () const |
Protected Member Functions inherited from edm::ProducerBase | |
template<class TProducer , class TMethod > | |
void | callWhenNewProductsRegistered (TProducer *iProd, TMethod iMethod) |
Description: this templated EDProducer can merge (no duplicate removal) any number of collection of the same type. the usage is to declare a concrete combiner in SealModule: typedef CollectionCombiner<std::vector< Trajectory> > TrajectoryCombiner; DEFINE_FWK_MODULE(TrajectoryCombiner); edm::View cannot be used, because the template argument is used for the input and the output type.
Definition at line 29 of file CollectionCombiner.h.
|
explicit |
Definition at line 42 of file CollectionCombiner.h.
References edm::ParameterSet::getParameter(), and reco_calib_source_client_cfg::labels.
CollectionCombiner< Collection >::~CollectionCombiner | ( | ) |
Definition at line 47 of file CollectionCombiner.h.
|
privatevirtual |
Implements edm::EDProducer.
Definition at line 50 of file CollectionCombiner.h.
References edm::Event::getByLabel(), patZpeak::handle, i, reco_calib_source_client_cfg::labels, and edm::Event::put().
|
private |
Definition at line 38 of file CollectionCombiner.h.