#include <filter/HLTEventNumberFilter/src/HLTEventNumberFilter.cc>
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
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 () |
Private Member Functions | |
bool | filter (edm::Event &, const edm::EventSetup &) override |
Private Attributes | |
bool | invert_ |
if invert_=true, invert that event accept decision More... | |
unsigned int | period_ |
accept the event if its event number is a multiple of period_ 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 |
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) |
Implementation: <Notes on="" implementation>="">
Description: Filter to select HCAL abort gap events
Implementation: <Notes on="" implementation>="">
Definition at line 38 of file HLTEventNumberFilter.h.
|
explicit |
Definition at line 33 of file HLTEventNumberFilter.cc.
References edm::ParameterSet::getParameter(), invert_, and period_.
|
override |
Definition at line 42 of file HLTEventNumberFilter.cc.
|
static |
Definition at line 51 of file HLTEventNumberFilter.cc.
References edm::ConfigurationDescriptions::add(), and edm::ParameterSetDescription::add().
|
overrideprivate |
Definition at line 64 of file HLTEventNumberFilter.cc.
References accept(), DEFINE_FWK_MODULE, edm::EventID::event(), edm::EventBase::id(), invert_, edm::EventBase::isRealData(), and period_.
|
private |
if invert_=true, invert that event accept decision
Definition at line 52 of file HLTEventNumberFilter.h.
Referenced by filter(), and HLTEventNumberFilter().
|
private |
accept the event if its event number is a multiple of period_
Definition at line 50 of file HLTEventNumberFilter.h.
Referenced by filter(), and HLTEventNumberFilter().