#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_, and edm::ThinningProducer< Collection, Selector >::thinnedOutToken_.
|
virtual |
Definition at line 61 of file ThinningProducer.h.
|
static |
Definition at line 64 of file ThinningProducer.h.
References edm::ParameterSetDescription::add(), edm::ConfigurationDescriptions::addDefault(), and edm::ParameterSetDescription::setComment().
|
overridevirtual |
Definition at line 73 of file ThinningProducer.h.
References event(), edm::OrphanHandleBase::id(), genParticles_cff::inputCollection, edm::ThinningProducer< Collection, Selector >::inputToken_, eostools::move(), edm::ThinningProducer< Collection, Selector >::outputToken_, edm::ThinnedAssociation::push_back(), 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(), and HTMLExport.HTMLExportStatic::export().
|
overridevirtual |
Definition at line 97 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().
|
private |
Definition at line 45 of file ThinningProducer.h.
Referenced by edm::ThinningProducer< Collection, Selector >::registerThinnedAssociations(), and edm::ThinningProducer< Collection, Selector >::ThinningProducer().
|
private |
Definition at line 44 of file ThinningProducer.h.
Referenced by edm::ThinningProducer< Collection, Selector >::produce(), and edm::ThinningProducer< Collection, Selector >::ThinningProducer().
|
private |
Definition at line 46 of file ThinningProducer.h.
Referenced by edm::ThinningProducer< Collection, Selector >::produce(), and edm::ThinningProducer< Collection, Selector >::ThinningProducer().
|
private |
Definition at line 43 of file ThinningProducer.h.
Referenced by edm::ThinningProducer< Collection, Selector >::produce().
|
private |
Definition at line 47 of file ThinningProducer.h.
Referenced by edm::ThinningProducer< Collection, Selector >::produce(), and edm::ThinningProducer< Collection, Selector >::ThinningProducer().