#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 > > | |
typedef CacheContexts< T... > | CacheTypes |
typedef CacheTypes::GlobalCache | GlobalCache |
typedef AbilityChecker< T... > | HasAbility |
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
typedef LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | 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 | |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces () |
declare what type of product will make and with which optional label More... | |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces () |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces () |
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) |
template<Transition B> | |
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 (std::string instanceName) |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
ProducesCollector | producesCollector () |
Protected Member Functions inherited from edm::EDConsumerBase | |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () noexcept |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
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... | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
Description: Enable filtering of good events based on the AlCaGammaJetProducer info
Implementation: [Notes on implementation]
Definition at line 47 of file AlCaGammaJetSelector.cc.
|
explicit |
Definition at line 89 of file AlCaGammaJetSelector.cc.
References edm::ParameterSet::getParameter(), labelPFJet_, labelPhoton_, minPtJet_, minPtPhoton_, nProcessed_, nSelected_, tok_PFJet_, and tok_Photon_.
|
override |
Definition at line 104 of file AlCaGammaJetSelector.cc.
|
inlineoverrideprivatevirtual |
Reimplemented from edm::stream::EDFilterBase.
Definition at line 64 of file AlCaGammaJetSelector.cc.
|
inlineoverrideprivatevirtual |
Reimplemented from edm::stream::EDFilterBase.
Definition at line 62 of file AlCaGammaJetSelector.cc.
|
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.
|
overridevirtual |
Reimplemented from edm::stream::EDFilterBase.
Definition at line 152 of file AlCaGammaJetSelector.cc.
References nProcessed_, and nSelected_.
|
static |
Definition at line 111 of file AlCaGammaJetSelector.cc.
References edm::ConfigurationDescriptions::addDefault(), submitPVResolutionJobs::desc, and HLT_FULL_cff::InputTag.
|
overridevirtual |
Implements edm::stream::EDFilterBase.
Definition at line 123 of file AlCaGammaJetSelector.cc.
References iEvent, edm::HandleBase::isValid(), labelPFJet_, labelPhoton_, nProcessed_, nSelected_, BPHMonitor_cfi::photons, edm::Handle< T >::product(), select(), tok_PFJet_, and tok_Photon_.
|
static |
Definition at line 159 of file AlCaGammaJetSelector.cc.
References submitPVResolutionJobs::count.
|
inlinestatic |
Definition at line 52 of file AlCaGammaJetSelector.cc.
|
private |
Definition at line 163 of file AlCaGammaJetSelector.cc.
References singleTopDQM_cfi::jets, minPtJet_, minPtPhoton_, convertSQLiteXML::ok, and BPHMonitor_cfi::photons.
Referenced by filter().
|
private |
Definition at line 72 of file AlCaGammaJetSelector.cc.
Referenced by AlCaGammaJetSelector(), and filter().
|
private |
Definition at line 72 of file AlCaGammaJetSelector.cc.
Referenced by AlCaGammaJetSelector(), and filter().
|
private |
Definition at line 73 of file AlCaGammaJetSelector.cc.
Referenced by AlCaGammaJetSelector(), and select().
|
private |
Definition at line 73 of file AlCaGammaJetSelector.cc.
Referenced by AlCaGammaJetSelector(), and select().
|
private |
Definition at line 70 of file AlCaGammaJetSelector.cc.
Referenced by AlCaGammaJetSelector(), endStream(), and filter().
|
private |
Definition at line 70 of file AlCaGammaJetSelector.cc.
Referenced by AlCaGammaJetSelector(), endStream(), and filter().
|
private |
Definition at line 75 of file AlCaGammaJetSelector.cc.
Referenced by AlCaGammaJetSelector(), and filter().
|
private |
Definition at line 74 of file AlCaGammaJetSelector.cc.
Referenced by AlCaGammaJetSelector(), and filter().