#include <Calibration/HcalAlCaRecoProducers/AlCaGammaJetSelector/src/AlCaGammaJetSelector.cc>
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
static void | globalEndJob (const alCaGammaJetSelector::Counters *counters) |
static std::unique_ptr< alCaGammaJetSelector::Counters > | initializeGlobalCache (edm::ParameterSet const &) |
Static Public Member Functions inherited from edm::stream::EDFilterBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Private Member Functions | |
void | beginLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) override |
void | beginRun (edm::Run const &, edm::EventSetup const &) override |
void | endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) override |
void | endRun (edm::Run const &, edm::EventSetup const &) override |
bool | select (const reco::PhotonCollection &, const reco::PFJetCollection &) |
Private Attributes | |
edm::InputTag | labelPFJet_ |
edm::InputTag | labelPhoton_ |
double | minPtJet_ |
double | minPtPhoton_ |
unsigned int | nProcessed_ |
unsigned int | nSelected_ |
edm::EDGetTokenT< reco::PFJetCollection > | tok_PFJet_ |
edm::EDGetTokenT< reco::PhotonCollection > | tok_Photon_ |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDFilter< edm::GlobalCache< alCaGammaJetSelector::Counters > > | |
using | CacheTypes = CacheContexts< T... > |
using | GlobalCache = typename CacheTypes::GlobalCache |
using | HasAbility = AbilityChecker< T... > |
using | InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache |
using | LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache |
using | LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > |
using | LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache |
using | RunCache = typename CacheTypes::RunCache |
using | RunContext = RunContextT< RunCache, GlobalCache > |
using | RunSummaryCache = typename CacheTypes::RunSummaryCache |
Public Types inherited from edm::stream::EDFilterBase | |
typedef EDFilterAdaptorBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
template<typename T > | |
using | BranchAliasSetterT = ProductRegistryHelper::BranchAliasSetterT< T > |
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 |
Protected Member Functions inherited from edm::ProducerBase | |
template<Transition Tr = Transition::Event> | |
auto | produces (std::string instanceName) noexcept |
declare what type of product will make and with which optional label More... | |
template<Transition B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<BranchType B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces () |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces () |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces () |
template<Transition Tr = Transition::Event> | |
auto | produces () noexcept |
ProducesCollector | producesCollector () |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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 ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
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) |
void | resetItemsToGetFrom (BranchType iType) |
Description: Enable filtering of good events based on the AlCaGammaJetProducer info
Implementation: [Notes on implementation]
Definition at line 48 of file AlCaGammaJetSelector.cc.
|
explicit |
Definition at line 90 of file AlCaGammaJetSelector.cc.
References edm::ParameterSet::getParameter(), labelPFJet_, labelPhoton_, minPtJet_, minPtPhoton_, nProcessed_, nSelected_, tok_PFJet_, and tok_Photon_.
|
overridedefault |
|
inlineoverrideprivatevirtual |
Reimplemented from edm::stream::EDFilterBase.
Definition at line 65 of file AlCaGammaJetSelector.cc.
|
inlineoverrideprivatevirtual |
Reimplemented from edm::stream::EDFilterBase.
Definition at line 63 of file AlCaGammaJetSelector.cc.
|
inlineoverrideprivatevirtual |
Reimplemented from edm::stream::EDFilterBase.
Definition at line 66 of file AlCaGammaJetSelector.cc.
|
inlineoverrideprivatevirtual |
Reimplemented from edm::stream::EDFilterBase.
Definition at line 64 of file AlCaGammaJetSelector.cc.
|
overridevirtual |
Reimplemented from edm::stream::EDFilterBase.
Definition at line 150 of file AlCaGammaJetSelector.cc.
References nProcessed_, and nSelected_.
|
static |
Definition at line 111 of file AlCaGammaJetSelector.cc.
References edm::ConfigurationDescriptions::add(), submitPVResolutionJobs::desc, and ProducerED_cfi::InputTag.
|
overridevirtual |
Implements edm::stream::EDFilterBase.
Definition at line 123 of file AlCaGammaJetSelector.cc.
References iEvent, labelPFJet_, labelPhoton_, nProcessed_, nSelected_, BPHMonitor_cfi::photons, select(), tok_PFJet_, and tok_Photon_.
|
static |
Definition at line 157 of file AlCaGammaJetSelector.cc.
References submitPVResolutionJobs::count.
|
inlinestatic |
Definition at line 53 of file AlCaGammaJetSelector.cc.
|
private |
Definition at line 161 of file AlCaGammaJetSelector.cc.
References PDWG_EXODelayedJetMET_cff::jets, minPtJet_, minPtPhoton_, convertSQLiteXML::ok, and BPHMonitor_cfi::photons.
Referenced by filter().
|
private |
Definition at line 73 of file AlCaGammaJetSelector.cc.
Referenced by AlCaGammaJetSelector(), and filter().
|
private |
Definition at line 73 of file AlCaGammaJetSelector.cc.
Referenced by AlCaGammaJetSelector(), and filter().
|
private |
Definition at line 74 of file AlCaGammaJetSelector.cc.
Referenced by AlCaGammaJetSelector(), and select().
|
private |
Definition at line 74 of file AlCaGammaJetSelector.cc.
Referenced by AlCaGammaJetSelector(), and select().
|
private |
Definition at line 71 of file AlCaGammaJetSelector.cc.
Referenced by AlCaGammaJetSelector(), endStream(), and filter().
|
private |
Definition at line 71 of file AlCaGammaJetSelector.cc.
Referenced by AlCaGammaJetSelector(), endStream(), and filter().
|
private |
Definition at line 76 of file AlCaGammaJetSelector.cc.
Referenced by AlCaGammaJetSelector(), and filter().
|
private |
Definition at line 75 of file AlCaGammaJetSelector.cc.
Referenced by AlCaGammaJetSelector(), and filter().