Event filter based on the StringCutObjectSelector. More...
#include "TopQuarkAnalysis/TopEventProducers/interface/StringCutObjectEvtFilter.h"
Private Member Functions | |
bool | filter (edm::Event &, const edm::EventSetup &) override |
filter function More... | |
Private Attributes | |
StringCutObjectSelector< T > | cut_ |
cut string for event selection More... | |
edm::EDGetTokenT< T > | srcToken_ |
input object 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) |
Event filter based on the StringCutObjectSelector.
Template class to filter events based on member functions of a given object in the event and cuts that are parsed by the StringCutObjectSelector.
Definition at line 21 of file StringCutObjectEvtFilter.h.
|
explicit |
default constructor
Definition at line 44 of file StringCutObjectEvtFilter.h.
|
inlineoverride |
default destructor
Definition at line 28 of file StringCutObjectEvtFilter.h.
References StringCutObjectEvtFilter< T >::filter().
|
overrideprivate |
filter function
Definition at line 51 of file StringCutObjectEvtFilter.h.
References StringCutObjectEvtFilter< T >::cut_, edm::Event::getByToken(), TrackRefitter_38T_cff::src, and StringCutObjectEvtFilter< T >::srcToken_.
Referenced by StringCutObjectEvtFilter< T >::~StringCutObjectEvtFilter().
|
private |
cut string for event selection
Definition at line 40 of file StringCutObjectEvtFilter.h.
Referenced by StringCutObjectEvtFilter< T >::filter().
|
private |
input object
Definition at line 38 of file StringCutObjectEvtFilter.h.
Referenced by StringCutObjectEvtFilter< T >::filter().