#include <Configuration/Skimming/src/LeptonRecoSkim.cc>
Public Member Functions | |
LeptonRecoSkim (const edm::ParameterSet &) | |
~LeptonRecoSkim () | |
Public Member Functions inherited from edm::EDFilter | |
EDFilter () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDFilter () |
Public Member Functions inherited from edm::ProducerBase | |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Private Member Functions | |
virtual void | beginJob () |
virtual void | endJob () |
virtual bool | filter (edm::Event &, const edm::EventSetup &) |
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 | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
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::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
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.
LeptonRecoSkim::~LeptonRecoSkim | ( | ) |
Definition at line 69 of file LeptonRecoSkim.cc.
|
privatevirtual |
Reimplemented from edm::EDFilter.
Definition at line 214 of file LeptonRecoSkim.cc.
References firstEvent.
|
privatevirtual |
Reimplemented from edm::EDFilter.
Definition at line 221 of file LeptonRecoSkim.cc.
References gather_cfg::cout, filterName, NeventsFiltered, NeventsTotal, NHltDiMu3, NHltMu9, NmvaElectrons, and NtotalElectrons.
|
privatevirtual |
Implements edm::EDFilter.
Definition at line 84 of file LeptonRecoSkim.cc.
References accept(), reco::PFCandidate::e, metsig::electron, ElectronCutPassed, firstEvent, reco::Muon::globalTrack(), reco::PFCandidate::gsfTrackRef(), handleObjects(), HtCutPassed, htJetThreshold, htMin, i, reco::Muon::innerTrack(), reco::Muon::isGlobalMuon(), edm::Ref< C, T, F >::isNull(), reco::Muon::isTrackerMuon(), LogDebug, bookConverter::max, metsig::muon, 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 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< class >::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().