#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 32 of file ObjectCountEventSelector.h.
|
inlinestatic |
Definition at line 37 of file ObjectCountEventSelector.h.
References submitPVResolutionJobs::desc, and HLT_2022v12_cff::InputTag.
|
inlineoverridevirtual |
Implements EventSelectorBase.
Definition at line 43 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 54 of file ObjectCountEventSelector.h.
Referenced by ObjectCountEventSelector< C, S, N, CS >::operator()().
|
private |
minimum number of entries in a collection
Definition at line 57 of file ObjectCountEventSelector.h.
Referenced by ObjectCountEventSelector< C, S, N, CS >::operator()().
|
private |
source collection label
Definition at line 51 of file ObjectCountEventSelector.h.
Referenced by ObjectCountEventSelector< C, S, N, CS >::operator()().