#include <PhotonIDProducer.h>
Public Member Functions | |
PhotonIDProducer (const edm::ParameterSet &conf) | |
virtual void | produce (edm::Event &e, const edm::EventSetup &c) |
virtual | ~PhotonIDProducer () |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
virtual | ~EDProducer () |
Public Member Functions inherited from edm::ProducerBase | |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
boost::function< void(const BranchDescription &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Private Attributes | |
edm::ParameterSet | conf_ |
CutBasedPhotonIDAlgo * | cutBasedAlgo_ |
bool | doCutBased_ |
std::string | photonCutBasedIDLooseEMLabel_ |
std::string | photonCutBasedIDLooseLabel_ |
std::string | photonCutBasedIDTightLabel_ |
std::string | photonLabel_ |
std::string | photonProducer_ |
Additional Inherited Members | |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | ModuleType |
typedef WorkerT< EDProducer > | WorkerType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Static Public Member Functions inherited from edm::EDProducer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDProducer | |
CurrentProcessingContext const * | currentContext () const |
Protected Member Functions inherited from edm::ProducerBase | |
template<class TProducer , class TMethod > | |
void | callWhenNewProductsRegistered (TProducer *iProd, TMethod iMethod) |
Definition at line 15 of file PhotonIDProducer.h.
|
explicit |
Definition at line 8 of file PhotonIDProducer.cc.
References conf_, cutBasedAlgo_, doCutBased_, edm::ParameterSet::getParameter(), photonCutBasedIDLooseEMLabel_, photonCutBasedIDLooseLabel_, photonCutBasedIDTightLabel_, photonLabel_, and photonProducer_.
|
virtual |
Definition at line 26 of file PhotonIDProducer.cc.
References cutBasedAlgo_.
|
virtual |
Implements edm::EDProducer.
Definition at line 33 of file PhotonIDProducer.cc.
References cutBasedAlgo_, CutBasedPhotonIDAlgo::decideEB(), CutBasedPhotonIDAlgo::decideEE(), edm::helper::Filler< Map >::fill(), edm::Event::getByLabel(), edm::helper::Filler< Map >::insert(), photonCutBasedIDLooseEMLabel_, photonCutBasedIDLooseLabel_, photonCutBasedIDTightLabel_, photonLabel_, photonProducer_, interactiveExample::photons, and edm::Event::put().
|
private |
Definition at line 28 of file PhotonIDProducer.h.
Referenced by PhotonIDProducer().
|
private |
Definition at line 26 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 31 of file PhotonIDProducer.h.
Referenced by PhotonIDProducer(), and produce().
|
private |
Definition at line 30 of file PhotonIDProducer.h.
Referenced by PhotonIDProducer(), and produce().