#include <ObjectPairFilter.h>
Private Member Functions | |
bool | filter (edm::Event &evt, const edm::EventSetup &) override |
process one event More... | |
Private Attributes | |
unsigned int | minNumber_ |
minimum number of entries in a collection More... | |
S | select_ |
object filter More... | |
edm::EDGetTokenT< C > | srcToken_ |
source collection label More... | |
Additional Inherited Members | |
Public Types inherited from edm::EDFilter | |
typedef EDFilter | 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::EDFilter | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
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) |
Filters an event if one or more pairs of objects passes a given selection
Definition at line 24 of file ObjectPairFilter.h.
|
inlineexplicit |
constructor
Definition at line 27 of file ObjectPairFilter.h.
References spr::find(), electronCountFilter_cfi::minNumber, ObjectPairFilter< C, S >::minNumber_, and AlCaHLTBitMon_QueryRunRegistry::string.
|
inlineoverrideprivate |
process one event
Definition at line 40 of file ObjectPairFilter.h.
References edm::Event::getByToken(), mps_fire::i, ObjectPairFilter< C, S >::minNumber_, gen::n, ObjectPairFilter< C, S >::select_, source, and ObjectPairFilter< C, S >::srcToken_.
Referenced by Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::filter(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::find(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::setDataAccessor(), and Vispa.Plugins.Browser.BrowserTabController.BrowserTabController::switchCenterView().
|
private |
minimum number of entries in a collection
Definition at line 56 of file ObjectPairFilter.h.
Referenced by ObjectPairFilter< C, S >::filter(), and ObjectPairFilter< C, S >::ObjectPairFilter().
|
private |
object filter
Definition at line 52 of file ObjectPairFilter.h.
Referenced by ObjectPairFilter< C, S >::filter().
|
private |
source collection label
Definition at line 54 of file ObjectPairFilter.h.
Referenced by ObjectPairFilter< C, S >::filter().