#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_ |
Init | selectorInit_ |
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 30 of file ObjectSelectorProducer.h.
|
inlineexplicit |
constructor
Definition at line 33 of file ObjectSelectorProducer.h.
|
inlineoverride |
|
inlineoverrideprivate |
process one event
Definition at line 47 of file ObjectSelectorProducer.h.
References filtered(), edm::Event::getByToken(), ObjectSelectorProducer< Selector, OutputCollection, PostProcessor, StoreManager, Base, Init >::postProcessor_, ObjectSelectorProducer< Selector, OutputCollection, PostProcessor, StoreManager, Base, Init >::selector_, ObjectSelectorProducer< Selector, OutputCollection, PostProcessor, StoreManager, Base, Init >::selectorInit_, source, and ObjectSelectorProducer< Selector, OutputCollection, PostProcessor, StoreManager, Base, Init >::srcToken_.
|
private |
post processor
Definition at line 63 of file ObjectSelectorProducer.h.
Referenced by ObjectSelectorProducer< Selector, OutputCollection, PostProcessor, StoreManager, Base, Init >::ObjectSelectorProducer(), and ObjectSelectorProducer< Selector, OutputCollection, PostProcessor, StoreManager, Base, Init >::produce().
|
private |
Definition at line 61 of file ObjectSelectorProducer.h.
Referenced by ObjectSelectorProducer< Selector, OutputCollection, PostProcessor, StoreManager, Base, Init >::produce().
|
private |
Object collection selector.
Definition at line 60 of file ObjectSelectorProducer.h.
Referenced by ObjectSelectorProducer< Selector, OutputCollection, PostProcessor, StoreManager, Base, Init >::produce().
|
private |
source collection label
Definition at line 58 of file ObjectSelectorProducer.h.
Referenced by ObjectSelectorProducer< Selector, OutputCollection, PostProcessor, StoreManager, Base, Init >::produce().