Selects a list of FwdPtr's to a product T (templated) that satisfy a method S(T) (templated). Can also handle input as View<T>. Can also have a factory class to create new instances of clones if desired. More...
#include "CommonTools/UtilAlgos/interface/FwdPtrCollectionFilter.h"
Protected Attributes | |
bool const | filter_ |
bool const | makeClones_ |
S | selector_ |
edm::EDGetTokenT< std::vector< edm::FwdPtr< T > > > const | srcToken_ |
edm::EDGetTokenT< edm::View< T > > const | srcViewToken_ |
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) |
Selects a list of FwdPtr's to a product T (templated) that satisfy a method S(T) (templated). Can also handle input as View<T>. Can also have a factory class to create new instances of clones if desired.
Definition at line 26 of file FwdPtrCollectionFilter.h.
|
inlineexplicit |
Definition at line 29 of file FwdPtrCollectionFilter.h.
References edm::FwdPtrCollectionFilter< T, S, H >::filter_, edm::ParameterSet::getParameter(), edm::FwdPtrCollectionFilter< T, S, H >::makeClones_, edm::FwdPtrCollectionFilter< T, S, H >::selector_, and edm::FwdPtrCollectionFilter< T, S, H >::srcViewToken_.
|
inlineoverridevirtual |
Implements edm::stream::EDFilterBase.
Definition at line 42 of file FwdPtrCollectionFilter.h.
References edm::FwdPtrCollectionFilter< T, S, H >::filter_, edm::Event::getByToken(), class-composition::H, mps_fire::i, edm::FwdPtrCollectionFilter< T, S, H >::makeClones_, eostools::move(), AlCaHLTBitMon_ParallelJobs::p, edm::Event::put(), edm::FwdPtrCollectionFilter< T, S, H >::selector_, edm::FwdPtrCollectionFilter< T, S, H >::srcToken_, edm::FwdPtrCollectionFilter< T, S, H >::srcViewToken_, and create_public_lumi_plots::transform.
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().
|
protected |
Definition at line 81 of file FwdPtrCollectionFilter.h.
Referenced by edm::FwdPtrCollectionFilter< T, S, H >::filter(), and edm::FwdPtrCollectionFilter< T, S, H >::FwdPtrCollectionFilter().
|
protected |
Definition at line 82 of file FwdPtrCollectionFilter.h.
Referenced by edm::FwdPtrCollectionFilter< T, S, H >::filter(), and edm::FwdPtrCollectionFilter< T, S, H >::FwdPtrCollectionFilter().
|
protected |
Definition at line 83 of file FwdPtrCollectionFilter.h.
Referenced by edm::FwdPtrCollectionFilter< T, S, H >::filter(), and edm::FwdPtrCollectionFilter< T, S, H >::FwdPtrCollectionFilter().
|
protected |
Definition at line 79 of file FwdPtrCollectionFilter.h.
Referenced by edm::FwdPtrCollectionFilter< T, S, H >::filter().
|
protected |
Definition at line 80 of file FwdPtrCollectionFilter.h.
Referenced by edm::FwdPtrCollectionFilter< T, S, H >::filter(), and edm::FwdPtrCollectionFilter< T, S, H >::FwdPtrCollectionFilter().