#include <PhotonIDProducer.h>
Public Member Functions | |
PhotonIDProducer (const edm::ParameterSet &conf) | |
void | produce (edm::Event &e, const edm::EventSetup &c) override |
~PhotonIDProducer () override | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
bool | hasAbilityToProduceInLumis () const final |
bool | hasAbilityToProduceInRuns () const final |
Private Attributes | |
edm::ParameterSet | conf_ |
CutBasedPhotonIDAlgo * | cutBasedAlgo_ |
bool | doCutBased_ |
std::string | photonCutBasedIDLooseEMLabel_ |
std::string | photonCutBasedIDLooseLabel_ |
std::string | photonCutBasedIDTightLabel_ |
edm::EDGetTokenT< reco::PhotonCollection > | photonToken_ |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer<> | |
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 |
Definition at line 16 of file PhotonIDProducer.h.
|
explicit |
Definition at line 7 of file PhotonIDProducer.cc.
References conf_, cutBasedAlgo_, doCutBased_, edm::ParameterSet::getParameter(), photonCutBasedIDLooseEMLabel_, photonCutBasedIDLooseLabel_, photonCutBasedIDTightLabel_, photonToken_, and AlCaHLTBitMon_QueryRunRegistry::string.
|
override |
Definition at line 24 of file PhotonIDProducer.cc.
References cutBasedAlgo_.
|
override |
Definition at line 31 of file PhotonIDProducer.cc.
References cutBasedAlgo_, CutBasedPhotonIDAlgo::decideEB(), CutBasedPhotonIDAlgo::decideEE(), edm::Event::getByToken(), muon::Loose, eostools::move(), muons2muons_cfi::photon, photonCutBasedIDLooseEMLabel_, photonCutBasedIDLooseLabel_, photonCutBasedIDTightLabel_, nano_cff::photons, photonToken_, edm::Event::put(), and muon::Tight.
|
private |
Definition at line 29 of file PhotonIDProducer.h.
Referenced by PhotonIDProducer().
|
private |
Definition at line 27 of file PhotonIDProducer.h.
Referenced by PhotonIDProducer(), produce(), and ~PhotonIDProducer().
|
private |
Definition at line 36 of file PhotonIDProducer.h.
Referenced by PhotonIDProducer().
|
private |
Definition at line 32 of file PhotonIDProducer.h.
Referenced by PhotonIDProducer(), and produce().
|
private |
Definition at line 33 of file PhotonIDProducer.h.
Referenced by PhotonIDProducer(), and produce().
|
private |
Definition at line 34 of file PhotonIDProducer.h.
Referenced by PhotonIDProducer(), and produce().
|
private |
Definition at line 30 of file PhotonIDProducer.h.
Referenced by PhotonIDProducer(), and produce().