#include <ThinningProducer.h>
Public Member Functions | |
void | produce (Event &event, EventSetup const &eventSetup) override |
void | registerThinnedAssociations (ProductRegistry const &productRegistry, ThinnedAssociationsHelper &thinnedAssociationsHelper) override |
ThinningProducer (ParameterSet const &pset) | |
~ThinningProducer () override | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginProcessBlocks () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndProcessBlocks () const final |
bool | hasAbilityToProduceInEndRuns () const final |
Static Public Member Functions | |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
Private Types | |
using | SelectorChooseReturnType = decltype(selector_->choose(0U, std::declval< typename detail::ElementType< Collection >::type const >())) |
Private Attributes | |
edm::InputTag | inputTag_ |
edm::EDGetTokenT< Collection > | inputToken_ |
edm::EDPutTokenT< Collection > | outputToken_ |
edm::propagate_const< std::unique_ptr< Selector > > | selector_ |
edm::EDPutTokenT< ThinnedAssociation > | thinnedOutToken_ |
Static Private Attributes | |
static constexpr bool | isSlimming = detail::IsStdOptional<SelectorChooseReturnType>::value |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer<> | |
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 |
Definition at line 68 of file ThinningProducer.h.
|
private |
Definition at line 88 of file ThinningProducer.h.
|
explicit |
Definition at line 96 of file ThinningProducer.h.
References edm::ThinningProducer< Collection, Selector >::inputTag_, edm::ThinningProducer< Collection, Selector >::inputToken_, edm::ThinningProducer< Collection, Selector >::outputToken_, muonDTDigis_cfi::pset, and edm::ThinningProducer< Collection, Selector >::thinnedOutToken_.
|
override |
Definition at line 106 of file ThinningProducer.h.
|
static |
Definition at line 109 of file ThinningProducer.h.
References edm::ConfigurationDescriptions::addWithDefaultLabel(), submitPVResolutionJobs::desc, and reco::modules::fillPSetDescription().
|
override |
Definition at line 118 of file ThinningProducer.h.
References edmPickEvents::event, edm::detail::fillCollectionForThinning(), edm::OrphanHandleBase::id(), PDWG_EXOHSCP_cff::inputCollection, eostools::move(), edm::ThinnedAssociation::setParentCollectionID(), and edm::ThinnedAssociation::setThinnedCollectionID().
|
override |
Definition at line 142 of file ThinningProducer.h.
References edm::ThinnedAssociationsHelper::addAssociation(), submitPVResolutionJobs::desc, edm::InputTag::instance(), edm::InputTag::label(), edm::InputTag::process(), edm::ProductRegistry::productList(), and edm::InputTag::willSkipCurrentProcess().
|
private |
Definition at line 83 of file ThinningProducer.h.
Referenced by edm::ThinningProducer< Collection, Selector >::ThinningProducer().
|
private |
Definition at line 82 of file ThinningProducer.h.
Referenced by edm::ThinningProducer< Collection, Selector >::ThinningProducer().
|
staticconstexprprivate |
Definition at line 89 of file ThinningProducer.h.
|
private |
Definition at line 84 of file ThinningProducer.h.
Referenced by edm::ThinningProducer< Collection, Selector >::ThinningProducer().
|
private |
Definition at line 81 of file ThinningProducer.h.
|
private |
Definition at line 85 of file ThinningProducer.h.
Referenced by edm::ThinningProducer< Collection, Selector >::ThinningProducer().