#include <ShallowCloneProducer.h>
Private Member Functions | |
virtual void | produce (edm::Event &, const edm::EventSetup &) |
process an event More... | |
Private Attributes | |
edm::EDGetTokenT< C > | srcToken_ |
labels of the collection to be converted More... | |
Additional Inherited Members | |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | ModuleType |
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::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
Clones a concrete Candidate collection to a CandidateCollection (i.e.: OwnVector<Candidate>) filled with shallow clones of the original candidate collection
Template parameters:
Definition at line 23 of file ShallowCloneProducer.h.
|
explicit |
constructor from parameter set
Definition at line 38 of file ShallowCloneProducer.h.
ShallowCloneProducer< C >::~ShallowCloneProducer | ( | ) |
|
privatevirtual |
process an event
Implements edm::EDProducer.
Definition at line 48 of file ShallowCloneProducer.h.
References edm::Event::getByToken(), i, and edm::Event::put().
Referenced by JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), and HTMLExport.HTMLExportStatic::export().
|
private |
labels of the collection to be converted
Definition at line 34 of file ShallowCloneProducer.h.