#include <ShallowCloneProducer.h>
Private Member Functions | |
void | produce (edm::Event &, const edm::EventSetup &) override |
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 | |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex >> |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::EDProducer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
static bool | wantsGlobalLuminosityBlocks () |
static bool | wantsGlobalRuns () |
static bool | wantsStreamLuminosityBlocks () |
static bool | wantsStreamRuns () |
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.
|
override |
|
overrideprivate |
process an event
Definition at line 48 of file ShallowCloneProducer.h.
References coll, edm::Event::getByToken(), mps_fire::i, eostools::move(), edm::Event::put(), and ShallowCloneProducer< C >::srcToken_.
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.
Referenced by ShallowCloneProducer< C >::produce().