#include <CommonTools/UtilAlgos/src/ConfigurableAnalysis.cc>
Public Member Functions | |
ConfigurableAnalysis (const edm::ParameterSet &) | |
~ConfigurableAnalysis () | |
Public Member Functions inherited from edm::EDFilter | |
EDFilter () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDFilter () |
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 () | |
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, std::unordered_multimap< std::string, edm::ProductResolverIndex > const &iIndicies, std::string const &moduleLabel) |
virtual | ~ProducerBase () noexcept(false) |
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 | |
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 |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
virtual | ~EDConsumerBase () noexcept(false) |
Private Member Functions | |
virtual void | beginJob () override |
virtual void | endJob () override |
virtual bool | filter (edm::Event &, const edm::EventSetup &) override |
Private Attributes | |
std::vector< std::string > | flows_ |
NTupler * | ntupler_ |
Plotter * | plotter_ |
Selections * | selections_ |
bool | workAsASelector_ |
Additional Inherited Members | |
Public Types inherited from edm::EDFilter | |
typedef EDFilter | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::EDFilter | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
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 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) |
Description: <one line="" class="" summary>="">
Implementation: <Notes on="" implementation>="">
Definition at line 45 of file ConfigurableAnalysis.cc.
|
explicit |
Definition at line 74 of file ConfigurableAnalysis.cc.
References edm::EDConsumerBase::consumesCollector(), edm::ParameterSet::empty(), edm::ParameterSet::exists(), flows_, reco::get(), edm::ParameterSet::getParameter(), init, ntupler_, RecoTauValidation_cfi::plotPset, plotter_, NTupler::registerleaves(), selections_, AlCaHLTBitMon_QueryRunRegistry::string, and workAsASelector_.
ConfigurableAnalysis::~ConfigurableAnalysis | ( | ) |
|
overrideprivatevirtual |
Reimplemented from edm::EDFilter.
Definition at line 218 of file ConfigurableAnalysis.cc.
|
overrideprivatevirtual |
Reimplemented from edm::EDFilter.
Definition at line 224 of file ConfigurableAnalysis.cc.
References Plotter::complete(), DEFINE_FWK_MODULE, plotter_, Selections::print(), and selections_.
|
overrideprivatevirtual |
Definition at line 128 of file ConfigurableAnalysis.cc.
References accept(), Selections::begin(), create_public_lumi_plots::cumulative, Selections::end(), Plotter::fill(), NTupler::fill(), flows_, iEvent, SFilter::inverted(), eostools::move(), Filter::name(), ntupler_, plotter_, edm::Event::put(), corrVsCorr::selection, selections_, mps_merge::separator, Plotter::setDir(), createPayload::skip, AlCaHLTBitMon_QueryRunRegistry::string, and workAsASelector_.
|
private |
Definition at line 59 of file ConfigurableAnalysis.cc.
Referenced by ConfigurableAnalysis(), and filter().
|
private |
Definition at line 57 of file ConfigurableAnalysis.cc.
Referenced by ConfigurableAnalysis(), and filter().
|
private |
Definition at line 56 of file ConfigurableAnalysis.cc.
Referenced by ConfigurableAnalysis(), endJob(), and filter().
|
private |
Definition at line 55 of file ConfigurableAnalysis.cc.
Referenced by ConfigurableAnalysis(), endJob(), filter(), and ~ConfigurableAnalysis().
|
private |
Definition at line 60 of file ConfigurableAnalysis.cc.
Referenced by ConfigurableAnalysis(), and filter().