#include <EDFilterObjectWrapper.h>
Public Member Functions | |
bool | filter (edm::Event &event, const edm::EventSetup &eventSetup) override |
everything which has to be done during the event loop. NOTE: We can't use the eventSetup in FWLite so ignore it More... | |
FilterObjectWrapper (const edm::ParameterSet &cfg) | |
default contructor. Declares the output (type "C") and the filter (of type T, operates on C::value_type) More... | |
~FilterObjectWrapper () override | |
default destructor More... | |
Public Member Functions inherited from edm::stream::EDFilter<> | |
EDFilter ()=default | |
bool | hasAbilityToProduceInLumis () const final |
bool | hasAbilityToProduceInRuns () const final |
Public Member Functions inherited from edm::stream::EDFilterBase | |
EDFilterBase () | |
ModuleDescription const & | moduleDescription () const |
~EDFilterBase () override | |
Public Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
std::vector< edm::ProductResolverIndex > const & | indiciesForPutProducts (BranchType iBranchType) const |
ProducerBase () | |
std::vector< edm::ProductResolverIndex > const & | putTokenIndexToProductResolverIndex () const |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
void | resolvePutIndicies (BranchType iBranchType, ModuleToResolverIndicies const &iIndicies, std::string const &moduleLabel) |
~ProducerBase () noexcept(false) override | |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
void | convertCurrentProcessAlias (std::string const &processName) |
Convert "@currentProcess" in InputTag process names to the actual current process name. More... | |
EDConsumerBase () | |
EDConsumerBase (EDConsumerBase const &)=delete | |
EDConsumerBase (EDConsumerBase &&)=default | |
ESProxyIndex const * | esGetTokenIndices (edm::Transition iTrans) const |
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
ProductResolverIndexAndSkipBit | uncheckedIndexFrom (EDGetToken) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
void | updateLookup (eventsetup::ESRecordsToProxyIndices const &) |
virtual | ~EDConsumerBase () noexcept(false) |
Public Attributes | |
C::const_iterator | const_iterator |
C::iterator | iterator |
some convenient typedefs. Recall that C is a container class. More... | |
Protected Attributes | |
bool | doFilter_ |
whether or not to filter based on size More... | |
boost::shared_ptr< T > | filter_ |
shared pointer to analysis class of type BasicAnalyzer More... | |
edm::EDGetTokenT< C > | src_ |
InputTag of the input source. More... | |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDFilter<> | |
typedef CacheContexts< T... > | CacheTypes |
typedef CacheTypes::GlobalCache | GlobalCache |
typedef AbilityChecker< T... > | HasAbility |
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | RunSummaryCache |
Public Types inherited from edm::stream::EDFilterBase | |
typedef EDFilterAdaptorBase | 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::stream::EDFilterBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
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) |
Definition at line 49 of file EDFilterObjectWrapper.h.
|
inline |
default contructor. Declares the output (type "C") and the filter (of type T, operates on C::value_type)
Definition at line 57 of file EDFilterObjectWrapper.h.
References edm::FilterObjectWrapper< T, C >::doFilter_, edm::ParameterSet::exists(), edm::FilterObjectWrapper< T, C >::filter_, and edm::ParameterSet::getParameter().
|
inlineoverride |
|
inlineoverride |
everything which has to be done during the event loop. NOTE: We can't use the eventSetup in FWLite so ignore it
Definition at line 70 of file EDFilterObjectWrapper.h.
References edm::FilterObjectWrapper< T, C >::doFilter_, edm::FilterObjectWrapper< T, C >::filter_, mps_fire::i, eostools::move(), and edm::FilterObjectWrapper< T, C >::src_.
C::const_iterator edm::FilterObjectWrapper< T, C >::const_iterator |
Definition at line 54 of file EDFilterObjectWrapper.h.
|
protected |
whether or not to filter based on size
Definition at line 97 of file EDFilterObjectWrapper.h.
Referenced by edm::FilterObjectWrapper< T, C >::filter(), and edm::FilterObjectWrapper< T, C >::FilterObjectWrapper().
|
protected |
shared pointer to analysis class of type BasicAnalyzer
Definition at line 95 of file EDFilterObjectWrapper.h.
Referenced by edm::FilterObjectWrapper< T, C >::filter(), and edm::FilterObjectWrapper< T, C >::FilterObjectWrapper().
C::iterator edm::FilterObjectWrapper< T, C >::iterator |
some convenient typedefs. Recall that C is a container class.
Definition at line 53 of file EDFilterObjectWrapper.h.
|
protected |
InputTag of the input source.
Definition at line 93 of file EDFilterObjectWrapper.h.
Referenced by edm::FilterObjectWrapper< T, C >::filter().