#include <ObjectSelectorProducer.h>
Public Member Functions | |
ObjectSelectorProducer (const edm::ParameterSet &cfg) | |
constructor More... | |
~ObjectSelectorProducer () override | |
destructor More... | |
Private Member Functions | |
void | produce (edm::Event &evt, const edm::EventSetup &es) override |
process one event More... | |
Private Attributes | |
PostProcessor | postProcessor_ |
post processor More... | |
Selector | selector_ |
Object collection selector. More... | |
edm::EDGetTokenT< typename Selector::collection > | srcToken_ |
source collection label More... | |
This class template is like ObjectSelector, but it is an EDProducer instead of EDFilter. Use case is that when the filter decisions are ignored (cms.ignore in configuration or EDFilter returns always true), EDProducers are better for the unscheduled mode than EDFilters.
Definition at line 31 of file ObjectSelectorProducer.h.
|
inlineexplicit |
constructor
Definition at line 34 of file ObjectSelectorProducer.h.
|
inlineoverride |
|
inlineoverrideprivate |
process one event
Definition at line 46 of file ObjectSelectorProducer.h.
References filtered(), edm::Event::getByToken(), init, ObjectSelectorProducer< Selector, OutputCollection, PostProcessor, StoreManager, Base, Init >::postProcessor_, ObjectSelectorProducer< Selector, OutputCollection, PostProcessor, StoreManager, Base, Init >::selector_, source, and ObjectSelectorProducer< Selector, OutputCollection, PostProcessor, StoreManager, Base, Init >::srcToken_.
Referenced by JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), and HTMLExport.HTMLExportStatic::export().
|
private |
post processor
Definition at line 61 of file ObjectSelectorProducer.h.
Referenced by ObjectSelectorProducer< Selector, OutputCollection, PostProcessor, StoreManager, Base, Init >::ObjectSelectorProducer(), and ObjectSelectorProducer< Selector, OutputCollection, PostProcessor, StoreManager, Base, Init >::produce().
|
private |
Object collection selector.
Definition at line 59 of file ObjectSelectorProducer.h.
Referenced by ObjectSelectorProducer< Selector, OutputCollection, PostProcessor, StoreManager, Base, Init >::produce().
|
private |
source collection label
Definition at line 57 of file ObjectSelectorProducer.h.
Referenced by ObjectSelectorProducer< Selector, OutputCollection, PostProcessor, StoreManager, Base, Init >::produce().