#include <Configuration/Skimming/src/LeptonRecoSkim.cc>
Public Member Functions | |
LeptonRecoSkim (const edm::ParameterSet &) | |
~LeptonRecoSkim () override | |
Public Member Functions inherited from edm::EDFilter | |
EDFilter () | |
ModuleDescription const & | moduleDescription () const |
~EDFilter () override | |
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 () | |
std::vector< edm::ProductResolverIndex > const & | putTokenIndexToProductResolverIndex () const |
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, ModuleToResolverIndicies 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 | |
void | beginJob () override |
void | endJob () override |
bool | filter (edm::Event &, const edm::EventSetup &) override |
void | handleObjects (const edm::Event &, const edm::EventSetup &iSetup) |
Additional Inherited Members | |
Public Types inherited from edm::EDFilter | |
typedef EDFilter | 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::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 59 of file LeptonRecoSkim.h.
|
explicit |
Definition at line 32 of file LeptonRecoSkim.cc.
References NeventsFiltered, NeventsTotal, NHltDiMu3, NHltMu9, NmvaElectrons, and NtotalElectrons.
|
override |
Definition at line 69 of file LeptonRecoSkim.cc.
|
overrideprivatevirtual |
Reimplemented from edm::EDFilter.
Definition at line 214 of file LeptonRecoSkim.cc.
References firstEvent.
|
overrideprivatevirtual |
Reimplemented from edm::EDFilter.
Definition at line 221 of file LeptonRecoSkim.cc.
References gather_cfg::cout, filterName, objects.autophobj::float, NeventsFiltered, NeventsTotal, NHltDiMu3, NHltMu9, NmvaElectrons, and NtotalElectrons.
|
overrideprivate |
Definition at line 84 of file LeptonRecoSkim.cc.
References accept(), reco::PFCandidate::e, metsig::electron, ElectronCutPassed, firstEvent, reco::Muon::globalTrack(), cutBasedMuonId_MuonPOG_V0_cff::globalTrack, reco::PFCandidate::gsfTrackRef(), handleObjects(), HtCutPassed, htJetThreshold, htMin, mps_fire::i, reco::Muon::innerTrack(), reco::Muon::isGlobalMuon(), edm::Ref< C, T, F >::isNull(), reco::Muon::isTrackerMuon(), LogDebug, SiStripPI::max, MuonCutPassed, reco::GsfElectron::mva_e_pi(), NeventsFiltered, NeventsTotal, NmvaElectrons, nSelectedElectrons, nSelectedMuons, nSelectedPfElectrons, NtotalElectrons, reco::PFCandidate::particleId(), PfElectronCutPassed, PFHtCutPassed, pfHtJetThreshold, pfHtMin, reco::LeafCandidate::pt(), ptElecMin, ptGlobalMuonMin, ptPfElecMin, ptTrackerMuonMin, theCaloJetCollection, theElectronCollection, theMuonCollection, thePfCandidateCollection, thePFJetCollection, useElectronSelection, useHtSelection, useMuonSelection, usePfElectronSelection, and usePFHtSelection.
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().
|
private |
Definition at line 238 of file LeptonRecoSkim.cc.
References DEFINE_FWK_MODULE, edm::EventSetup::get(), edm::Event::getByLabel(), m_ebRecHitsSrc, m_eeRecHitsSrc, m_electronSrc, m_jetsSrc, m_muonSrc, m_pfelectronSrc, m_pfjetsSrc, edm::Handle< T >::product(), edm::ESHandle< T >::product(), theCaloGeometry, theCaloJetCollection, theCaloTopology, theEcalBarrelCollection, theEcalEndcapCollection, theElectronCollection, theMuonCollection, thePfCandidateCollection, and thePFJetCollection.
Referenced by filter().
|
private |
Definition at line 104 of file LeptonRecoSkim.h.
Referenced by filter().
|
private |
Definition at line 74 of file LeptonRecoSkim.h.
Referenced by endJob().
|
private |
Definition at line 93 of file LeptonRecoSkim.h.
Referenced by beginJob(), filter(), looper.Looper::loop(), and Printer.Printer::process().
|
private |
Definition at line 73 of file LeptonRecoSkim.h.
|
private |
Definition at line 107 of file LeptonRecoSkim.h.
Referenced by filter().
|
private |
Definition at line 120 of file LeptonRecoSkim.h.
Referenced by filter().
|
private |
Definition at line 118 of file LeptonRecoSkim.h.
Referenced by filter().
|
private |
Definition at line 80 of file LeptonRecoSkim.h.
Referenced by handleObjects().
|
private |
Definition at line 81 of file LeptonRecoSkim.h.
Referenced by handleObjects().
|
private |
Definition at line 75 of file LeptonRecoSkim.h.
Referenced by handleObjects().
|
private |
Definition at line 78 of file LeptonRecoSkim.h.
Referenced by handleObjects().
|
private |
Definition at line 77 of file LeptonRecoSkim.h.
Referenced by handleObjects().
|
private |
Definition at line 76 of file LeptonRecoSkim.h.
Referenced by handleObjects().
|
private |
Definition at line 79 of file LeptonRecoSkim.h.
Referenced by handleObjects().
|
private |
Definition at line 106 of file LeptonRecoSkim.h.
Referenced by filter().
|
private |
Definition at line 126 of file LeptonRecoSkim.h.
Referenced by endJob(), filter(), and LeptonRecoSkim().
|
private |
Definition at line 125 of file LeptonRecoSkim.h.
Referenced by endJob(), filter(), and LeptonRecoSkim().
|
private |
Definition at line 128 of file LeptonRecoSkim.h.
Referenced by endJob(), and LeptonRecoSkim().
|
private |
Definition at line 127 of file LeptonRecoSkim.h.
Referenced by endJob(), and LeptonRecoSkim().
|
private |
Definition at line 131 of file LeptonRecoSkim.h.
Referenced by endJob(), filter(), and LeptonRecoSkim().
|
private |
Definition at line 113 of file LeptonRecoSkim.h.
Referenced by filter().
|
private |
Definition at line 117 of file LeptonRecoSkim.h.
Referenced by filter().
|
private |
Definition at line 114 of file LeptonRecoSkim.h.
Referenced by filter().
|
private |
Definition at line 130 of file LeptonRecoSkim.h.
Referenced by endJob(), filter(), and LeptonRecoSkim().
|
private |
Definition at line 105 of file LeptonRecoSkim.h.
Referenced by filter().
|
private |
Definition at line 108 of file LeptonRecoSkim.h.
Referenced by filter().
|
private |
Definition at line 121 of file LeptonRecoSkim.h.
Referenced by filter().
|
private |
Definition at line 119 of file LeptonRecoSkim.h.
Referenced by filter().
|
private |
Definition at line 111 of file LeptonRecoSkim.h.
Referenced by filter().
|
private |
Definition at line 115 of file LeptonRecoSkim.h.
Referenced by filter().
|
private |
Definition at line 112 of file LeptonRecoSkim.h.
Referenced by filter().
|
private |
Definition at line 116 of file LeptonRecoSkim.h.
Referenced by filter().
|
private |
Definition at line 91 of file LeptonRecoSkim.h.
Referenced by handleObjects().
|
private |
Definition at line 86 of file LeptonRecoSkim.h.
Referenced by filter(), and handleObjects().
|
private |
Definition at line 90 of file LeptonRecoSkim.h.
Referenced by handleObjects().
|
private |
Definition at line 88 of file LeptonRecoSkim.h.
Referenced by handleObjects().
|
private |
Definition at line 89 of file LeptonRecoSkim.h.
Referenced by handleObjects().
|
private |
Definition at line 83 of file LeptonRecoSkim.h.
Referenced by filter(), and handleObjects().
|
private |
Definition at line 85 of file LeptonRecoSkim.h.
Referenced by filter(), and handleObjects().
|
private |
Definition at line 84 of file LeptonRecoSkim.h.
Referenced by filter(), and handleObjects().
|
private |
Definition at line 87 of file LeptonRecoSkim.h.
Referenced by filter(), and handleObjects().
|
private |
Definition at line 97 of file LeptonRecoSkim.h.
Referenced by filter().
|
private |
Definition at line 100 of file LeptonRecoSkim.h.
Referenced by filter().
|
private |
Definition at line 99 of file LeptonRecoSkim.h.
Referenced by filter().
|
private |
Definition at line 98 of file LeptonRecoSkim.h.
Referenced by filter().
|
private |
Definition at line 101 of file LeptonRecoSkim.h.
Referenced by filter().