Produces the pat::Photon. More...
#include "PhysicsTools/PatAlgos/interface/PATPhotonProducer.h"
Public Member Functions | |
PATPhotonProducer (const edm::ParameterSet &iConfig) | |
virtual void | produce (edm::Event &iEvent, const edm::EventSetup &iSetup) |
~PATPhotonProducer () | |
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 () |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::EDProducer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Private Types | |
typedef std::pair< std::string, edm::InputTag > | NameTag |
Private Attributes | |
bool | addEfficiencies_ |
bool | addGenMatch_ |
bool | addPhotonID_ |
bool | addResolutions_ |
pat::helper::EfficiencyLoader | efficiencyLoader_ |
bool | embedGenMatch_ |
bool | embedSuperCluster_ |
GreaterByEt< Photon > | eTComparator_ |
std::vector< edm::InputTag > | genMatchSrc_ |
std::vector< std::pair < pat::IsolationKeys, edm::InputTag > > | isoDepositLabels_ |
pat::helper::MultiIsolator | isolator_ |
pat::helper::MultiIsolator::IsolationValuePairs | isolatorTmpStorage_ |
std::vector< NameTag > | photIDSrcs_ |
edm::InputTag | photonSrc_ |
pat::helper::KinResolutionsLoader | resolutionLoader_ |
pat::PATUserDataHelper < pat::Photon > | userDataHelper_ |
bool | useUserData_ |
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 |
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) |
Produces the pat::Photon.
The PATPhotonProducer produces the analysis-level pat::Photon starting from a collection of objects of PhotonType.
Definition at line 38 of file PATPhotonProducer.h.
|
private |
Definition at line 73 of file PATPhotonProducer.h.
|
explicit |
Definition at line 18 of file PATPhotonProducer.cc.
References addEfficiencies_, addGenMatch_, addPhotonID_, addResolutions_, pat::EcalIso, efficiencyLoader_, embedGenMatch_, embedSuperCluster_, edm::hlt::Exception, edm::ParameterSet::exists(), edm::ParameterSet::existsAs(), genMatchSrc_, edm::ParameterSet::getParameter(), edm::ParameterSet::getParameterNamesForType(), pat::HcalIso, isoDepositLabels_, combine::key, cscdqm::h::names, photIDSrcs_, photonSrc_, resolutionLoader_, pat::TrackIso, pat::UserBaseIso, userDataHelper_, and useUserData_.
PATPhotonProducer::~PATPhotonProducer | ( | ) |
Definition at line 97 of file PATPhotonProducer.cc.
|
static |
Definition at line 212 of file PATPhotonProducer.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), edm::ParameterSetDescription::addNode(), edm::ParameterSetDescription::addOptional(), pat::helper::KinResolutionsLoader::fillDescription(), pat::PATUserDataHelper< ObjectType >::fillDescription(), edm::ParameterSetDescription::setAllowAnything(), edm::ParameterSetDescription::setComment(), and edm::ParameterDescriptionNode::setComment().
|
virtual |
Implements edm::EDProducer.
Definition at line 100 of file PATPhotonProducer.cc.
References addGenMatch_, pat::PATObject< ObjectType >::addGenParticleRef(), addPhotonID_, pat::helper::MultiIsolator::beginEvent(), efficiencyLoader_, embedGenMatch_, pat::PATObject< ObjectType >::embedGenParticle(), pat::Photon::embedSuperCluster(), embedSuperCluster_, pat::helper::EfficiencyLoader::enabled(), pat::helper::KinResolutionsLoader::enabled(), pat::helper::MultiIsolator::enabled(), pat::helper::MultiIsolator::endEvent(), eTComparator_, pat::helper::MultiIsolator::fill(), first, genMatchSrc_, edm::Event::getByLabel(), i, isoDepositLabels_, isolator_, isolatorTmpStorage_, edm::EventBase::isRealData(), j, n, pat::helper::EfficiencyLoader::newEvent(), pat::helper::KinResolutionsLoader::newEvent(), photIDSrcs_, interactiveExample::photons, photonSrc_, edm::Event::put(), resolutionLoader_, edm::second(), pat::helper::EfficiencyLoader::setEfficiencies(), pat::Photon::setIsoDeposit(), pat::Photon::setIsolation(), pat::Photon::setPhotonIDs(), pat::helper::KinResolutionsLoader::setResolutions(), python.multivaluedict::sort(), userDataHelper_, and useUserData_.
|
private |
Definition at line 66 of file PATPhotonProducer.h.
Referenced by PATPhotonProducer().
|
private |
Definition at line 55 of file PATPhotonProducer.h.
Referenced by PATPhotonProducer(), and produce().
|
private |
Definition at line 72 of file PATPhotonProducer.h.
Referenced by PATPhotonProducer(), and produce().
|
private |
Definition at line 69 of file PATPhotonProducer.h.
Referenced by PATPhotonProducer().
|
private |
Definition at line 67 of file PATPhotonProducer.h.
Referenced by PATPhotonProducer(), and produce().
|
private |
Definition at line 56 of file PATPhotonProducer.h.
Referenced by PATPhotonProducer(), and produce().
|
private |
Definition at line 53 of file PATPhotonProducer.h.
Referenced by PATPhotonProducer(), and produce().
|
private |
Definition at line 60 of file PATPhotonProducer.h.
Referenced by produce().
|
private |
Definition at line 57 of file PATPhotonProducer.h.
Referenced by PATPhotonProducer(), and produce().
|
private |
Definition at line 64 of file PATPhotonProducer.h.
Referenced by PATPhotonProducer(), and produce().
|
private |
Definition at line 62 of file PATPhotonProducer.h.
Referenced by produce().
|
private |
Definition at line 63 of file PATPhotonProducer.h.
Referenced by produce().
|
private |
Definition at line 74 of file PATPhotonProducer.h.
Referenced by PATPhotonProducer(), and produce().
|
private |
Definition at line 52 of file PATPhotonProducer.h.
Referenced by PATPhotonProducer(), and produce().
|
private |
Definition at line 70 of file PATPhotonProducer.h.
Referenced by PATPhotonProducer(), and produce().
|
private |
Definition at line 77 of file PATPhotonProducer.h.
Referenced by PATPhotonProducer(), and produce().
|
private |
Definition at line 76 of file PATPhotonProducer.h.
Referenced by PATPhotonProducer(), and produce().