Producer for particle flow reconstructed particles (PFCandidates) More...
#include <PFEGammaProducer.h>
Public Member Functions | |
void | beginRun (const edm::Run &, const edm::EventSetup &) override |
PFEGammaProducer (const edm::ParameterSet &, const pfEGHelpers::HeavyObjectCache *) | |
void | produce (edm::Event &, const edm::EventSetup &) override |
~PFEGammaProducer () override | |
Public Member Functions inherited from edm::stream::EDProducer< edm::GlobalCache< pfEGHelpers::HeavyObjectCache > > | |
EDProducer ()=default | |
bool | hasAbilityToProduceInLumis () const final |
bool | hasAbilityToProduceInRuns () const final |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
static void | globalEndJob (pfEGHelpers::HeavyObjectCache const *) |
static std::unique_ptr< pfEGHelpers::HeavyObjectCache > | initializeGlobalCache (const edm::ParameterSet &conf) |
Private Member Functions | |
void | createSingleLegConversions (reco::PFCandidateEGammaExtraCollection &extras, reco::ConversionCollection &oneLegConversions, const edm::RefProd< reco::ConversionCollection > &convProd) |
void | setPFEGParameters (PFEGammaAlgo::PFEGConfigInfo &) |
void | setPFVertexParameters (reco::VertexCollection const &primaryVertices) |
Private Attributes | |
const std::string | ebeeClustersCollection_ |
const edm::EDGetTokenT< reco::PFCluster::EEtoPSAssociation > | eetopsSrc_ |
const std::string | esClustersCollection_ |
const edm::EDGetTokenT< reco::PFBlockCollection > | inputTagBlocks_ |
std::unique_ptr< PFEGammaAlgo > | pfeg_ |
particle flow algorithm More... | |
reco::Vertex | primaryVertex_ |
Variables for PFEGamma. More... | |
const bool | useVerticesForNeutral_ |
const edm::EDGetTokenT< reco::VertexCollection > | vertices_ |
Additional Inherited Members | |
Public Types inherited from edm::stream::EDProducer< edm::GlobalCache< pfEGHelpers::HeavyObjectCache > > | |
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 |
Producer for particle flow reconstructed particles (PFCandidates)
This producer makes use of PFAlgo, the particle flow algorithm.
Definition at line 42 of file PFEGammaProducer.h.
|
explicit |
Definition at line 36 of file PFEGammaProducer.cc.
References PFEGammaAlgo::PFEGConfigInfo::applyCrackCorrections, ebeeClustersCollection_, esClustersCollection_, edm::ParameterSet::getParameter(), PFEGammaAlgo::PFEGConfigInfo::mvaConvCut, PFEGammaAlgo::PFEGConfigInfo::mvaEleCut, PFEGammaAlgo::PFEGConfigInfo::produceEGCandsWithNoSuperCluster, setPFEGParameters(), and PFEGammaAlgo::PFEGConfigInfo::thePFEnergyCalibration.
|
inlineoverride |
Definition at line 46 of file PFEGammaProducer.h.
|
inlineoverride |
Definition at line 56 of file PFEGammaProducer.h.
References createSingleLegConversions(), fillDescriptions(), jets_cff::primaryVertices, setPFEGParameters(), and setPFVertexParameters().
|
private |
Definition at line 350 of file PFEGammaProducer.cc.
References reco::TrackBase::d0(), relativeConstraints::error, reco::Track::innerMomentum(), reco::Track::innerPosition(), reco::Track::outerMomentum(), reco::Track::outerPosition(), reco::Conversion::pflow, edm::PtrVector< T >::push_back(), edm::refToPtr(), and reco::Conversion::setOneLegMVA().
Referenced by beginRun(), and produce().
|
static |
Definition at line 410 of file PFEGammaProducer.cc.
References edm::ConfigurationDescriptions::add(), and edm::ParameterSetDescription::add().
Referenced by beginRun().
|
inlinestatic |
|
inlinestatic |
Definition at line 49 of file PFEGammaProducer.h.
|
override |
Definition at line 79 of file PFEGammaProducer.cc.
References reco::CaloCluster::badHcalMarker, gather_cfg::blocks, fastPrimaryVertexProducer_cfi::clusters, createSingleLegConversions(), TauDecayModes::dec, ebeeClustersCollection_, reco::PFBlockElement::ECAL, eetopsSrc_, allElectronIsolations_cfi::elements, esClustersCollection_, edm::EventID::event(), Exception, flags, edm::EventSetup::get(), edm::Event::get(), edm::Event::getHandle(), edm::Event::getRefBeforePut(), reco::PFBlockElement::HCAL, reco::PFBlockElement::HFEM, reco::PFBlockElement::HFHAD, reco::PFBlockElement::HO, mps_fire::i, edm::EventBase::id(), inputTagBlocks_, LOGDRESSED, eostools::move(), pfeg_, edm::ESHandle< T >::product(), reco::PFBlockElement::PS1, reco::PFBlockElement::PS2, edm::PtrVector< T >::push_back(), edm::Event::put(), edm::EventID::run(), SimDataFormats::CaloAnalysis::sc, reco::PFBlockElement::SC, reco::PFCandidate::setPFEGammaExtraRef(), setPFVertexParameters(), reco::PFCandidateEGammaExtra::setSuperClusterRef(), reco::PFCandidate::setSuperClusterRef(), edm::OwnVector< T, P >::size(), str, and vertices_.
Referenced by globalEndJob().
|
private |
Definition at line 321 of file PFEGammaProducer.cc.
References MillePedeFileConverter_cfg::e, AlCaHLTBitMon_ParallelJobs::p, pfeg_, primaryVertex_, PFEGammaAlgo::PFEGConfigInfo::primaryVtx, and useVerticesForNeutral_.
Referenced by beginRun(), and PFEGammaProducer().
|
private |
Definition at line 337 of file PFEGammaProducer.cc.
References pfeg_, primaryVertex_, and MetAnalyzer::pv().
Referenced by beginRun(), and produce().
|
private |
Definition at line 85 of file PFEGammaProducer.h.
Referenced by PFEGammaProducer(), and produce().
|
private |
Definition at line 72 of file PFEGammaProducer.h.
Referenced by produce().
|
private |
Definition at line 86 of file PFEGammaProducer.h.
Referenced by PFEGammaProducer(), and produce().
|
private |
Definition at line 71 of file PFEGammaProducer.h.
Referenced by produce().
|
private |
particle flow algorithm
Definition at line 83 of file PFEGammaProducer.h.
Referenced by produce(), setPFEGParameters(), and setPFVertexParameters().
|
private |
Variables for PFEGamma.
Definition at line 80 of file PFEGammaProducer.h.
Referenced by setPFEGParameters(), and setPFVertexParameters().
|
private |
Definition at line 76 of file PFEGammaProducer.h.
Referenced by setPFEGParameters().
|
private |
Definition at line 73 of file PFEGammaProducer.h.
Referenced by produce().