#include <ThinningProducer.h>
Public Member Functions | |
virtual void | produce (Event &event, EventSetup const &eventSetup) override |
virtual void | registerThinnedAssociations (ProductRegistry const &productRegistry, ThinnedAssociationsHelper &thinnedAssociationsHelper) override |
ThinningProducer (ParameterSet const &pset) | |
virtual | ~ThinningProducer () |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
bool | hasAbilityToProduceInLumis () const final |
bool | hasAbilityToProduceInRuns () const final |
Static Public Member Functions | |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
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_ |
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 30 of file ThinningProducer.h.
|
explicit |
Definition at line 51 of file ThinningProducer.h.
References edm::ParameterSet::getParameter(), edm::ThinningProducer< Collection, Selector >::inputTag_, edm::ThinningProducer< Collection, Selector >::inputToken_, edm::ThinningProducer< Collection, Selector >::outputToken_, edm::ThinningProducer< Collection, Selector >::thinnedOutToken_, and edm::ThinningProducer< Collection, Selector >::~ThinningProducer().
|
virtual |
Definition at line 63 of file ThinningProducer.h.
References edm::ThinningProducer< Collection, Selector >::fillDescriptions().
Referenced by edm::ThinningProducer< Collection, Selector >::ThinningProducer().
|
static |
Definition at line 67 of file ThinningProducer.h.
References edm::ParameterSetDescription::add(), edm::ConfigurationDescriptions::addDefault(), edm::ThinningProducer< Collection, Selector >::produce(), and edm::ParameterSetDescription::setComment().
Referenced by edm::ThinningProducer< Collection, Selector >::~ThinningProducer().
|
overridevirtual |
Definition at line 77 of file ThinningProducer.h.
References event(), edm::OrphanHandleBase::id(), edm::HandleBase::id(), genParticles_cff::inputCollection, edm::ThinningProducer< Collection, Selector >::inputToken_, eostools::move(), edm::ThinningProducer< Collection, Selector >::outputToken_, edm::ThinnedAssociation::push_back(), edm::ThinningProducer< Collection, Selector >::registerThinnedAssociations(), edm::ThinningProducer< Collection, Selector >::selector_, edm::ThinnedAssociation::setParentCollectionID(), edm::ThinnedAssociation::setThinnedCollectionID(), and edm::ThinningProducer< Collection, Selector >::thinnedOutToken_.
Referenced by JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), HTMLExport.HTMLExportStatic::export(), and edm::ThinningProducer< Collection, Selector >::fillDescriptions().
|
overridevirtual |
Definition at line 105 of file ThinningProducer.h.
References edm::ThinnedAssociationsHelper::addAssociation(), edm::BranchDescription::branchID(), edm::ThinningProducer< Collection, Selector >::inputTag_, edm::InputTag::instance(), edm::InputTag::label(), edm::BranchDescription::moduleLabel(), edm::BranchDescription::originalBranchID(), edm::InputTag::process(), edm::BranchDescription::processName(), edm::BranchDescription::produced(), edm::BranchDescription::productInstanceName(), edm::ProductRegistry::productList(), edm::TypeWithDict::typeInfo(), edm::BranchDescription::unwrappedType(), and edm::InputTag::willSkipCurrentProcess().
Referenced by edm::ThinningProducer< Collection, Selector >::produce().
|
private |
Definition at line 44 of file ThinningProducer.h.
Referenced by edm::ThinningProducer< Collection, Selector >::registerThinnedAssociations(), and edm::ThinningProducer< Collection, Selector >::ThinningProducer().
|
private |
Definition at line 43 of file ThinningProducer.h.
Referenced by edm::ThinningProducer< Collection, Selector >::produce(), and edm::ThinningProducer< Collection, Selector >::ThinningProducer().
|
private |
Definition at line 45 of file ThinningProducer.h.
Referenced by edm::ThinningProducer< Collection, Selector >::produce(), and edm::ThinningProducer< Collection, Selector >::ThinningProducer().
|
private |
Definition at line 42 of file ThinningProducer.h.
Referenced by edm::ThinningProducer< Collection, Selector >::produce().
|
private |
Definition at line 46 of file ThinningProducer.h.
Referenced by edm::ThinningProducer< Collection, Selector >::produce(), and edm::ThinningProducer< Collection, Selector >::ThinningProducer().