#include <ObjectCountEventSelector.h>
Public Member Functions | |
ObjectCountEventSelector (const edm::ParameterSet &cfg, edm::ConsumesCollector &&iC) | |
constructor More... | |
bool | operator() (edm::Event &evt, const edm::EventSetup &) const override |
Public Member Functions inherited from EventSelectorBase | |
EventSelectorBase () | |
virtual | ~EventSelectorBase () |
Static Public Member Functions | |
static void | fillPSetDescription (edm::ParameterSetDescription &desc) |
Private Attributes | |
S | select_ |
object filter More... | |
N | sizeSelect_ |
minimum number of entries in a collection More... | |
edm::EDGetTokenT< C > | srcToken_ |
source collection label More... | |
Selects an event if a collection has at least N entries
Definition at line 29 of file ObjectCountEventSelector.h.
|
inlineexplicit |
constructor
Definition at line 33 of file ObjectCountEventSelector.h.
|
inlinestatic |
Definition at line 39 of file ObjectCountEventSelector.h.
References edm::ParameterSetDescription::add().
|
inlineoverridevirtual |
Implements EventSelectorBase.
Definition at line 45 of file ObjectCountEventSelector.h.
References ALCARECOTkAlBeamHalo_cff::filter, edm::Event::getByToken(), ObjectCountEventSelector< C, S, N, CS >::select_, ObjectCountEventSelector< C, S, N, CS >::sizeSelect_, source, and ObjectCountEventSelector< C, S, N, CS >::srcToken_.
|
private |
object filter
Definition at line 56 of file ObjectCountEventSelector.h.
Referenced by ObjectCountEventSelector< C, S, N, CS >::operator()().
|
private |
minimum number of entries in a collection
Definition at line 59 of file ObjectCountEventSelector.h.
Referenced by ObjectCountEventSelector< C, S, N, CS >::operator()().
|
private |
source collection label
Definition at line 53 of file ObjectCountEventSelector.h.
Referenced by ObjectCountEventSelector< C, S, N, CS >::operator()().