#include <Calibration/HcalAlCaRecoProducers/AlCaGammaJetSelector/src/AlCaGammaJetSelector.cc>
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
static void | globalEndJob (const AlCaGammaJet::Counters *counters) |
static std::unique_ptr < AlCaGammaJet::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< AlCaGammaJet::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 | |
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 | |
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 ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
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 () noexcept |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) noexcept |
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 149 of file AlCaGammaJetSelector.cc.
References nProcessed_, and nSelected_.
|
static |
Definition at line 110 of file AlCaGammaJetSelector.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), submitPVResolutionJobs::desc, and HLT_FULL_cff::InputTag.
|
overridevirtual |
Implements edm::stream::EDFilterBase.
Definition at line 122 of file AlCaGammaJetSelector.cc.
References edm::Event::getHandle(), labelPFJet_, labelPhoton_, nProcessed_, nSelected_, interactiveExample::photons, select(), tok_PFJet_, and tok_Photon_.
|
static |
Definition at line 156 of file AlCaGammaJetSelector.cc.
References AlCaGammaJet::Counters::nProcessed_, and AlCaGammaJet::Counters::nSelected_.
|
inlinestatic |
Definition at line 53 of file AlCaGammaJetSelector.cc.
|
private |
Definition at line 160 of file AlCaGammaJetSelector.cc.
References minPtJet_, minPtPhoton_, and convertSQLiteXML::ok.
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().