Producer for particle flow reconstructed particles (PFCandidates) More...
Public Member Functions | |
void | beginRun (const edm::Run &, const edm::EventSetup &) override |
PFEGammaProducer (const edm::ParameterSet &, const PFEGammaAlgo::GBRForests *) | |
void | produce (edm::Event &, const edm::EventSetup &) override |
Public Member Functions inherited from edm::stream::EDProducer< edm::GlobalCache< PFEGammaAlgo::GBRForests > > | |
EDProducer ()=default | |
bool | hasAbilityToProduceInBeginLumis () const final |
bool | hasAbilityToProduceInBeginRuns () const final |
bool | hasAbilityToProduceInEndLumis () const final |
bool | hasAbilityToProduceInEndRuns () const final |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
static void | globalEndJob (PFEGammaAlgo::GBRForests const *) |
static std::unique_ptr< PFEGammaAlgo::GBRForests > | initializeGlobalCache (const edm::ParameterSet &conf) |
Private Member Functions | |
void | createSingleLegConversions (reco::PFCandidateEGammaExtraCollection &extras, reco::ConversionCollection &oneLegConversions, const edm::RefProd< reco::ConversionCollection > &convProd) |
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< PFEGammaAlgo::GBRForests > > | |
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 51 of file PFEGammaProducer.cc.
|
explicit |
Definition at line 100 of file PFEGammaProducer.cc.
References PFEGammaAlgo::PFEGConfigInfo::applyCrackCorrections, MillePedeFileConverter_cfg::e, ebeeClustersCollection_, esClustersCollection_, edm::ParameterSet::getParameter(), PFEGammaAlgo::PFEGConfigInfo::mvaConvCut, PFEGammaAlgo::PFEGConfigInfo::mvaEleCut, AlCaHLTBitMon_ParallelJobs::p, pfeg_, primaryVertex_, PFEGammaAlgo::PFEGConfigInfo::produceEGCandsWithNoSuperCluster, useVerticesForNeutral_, and HltBtagValidation_cff::Vertex.
|
inlineoverride |
Definition at line 62 of file PFEGammaProducer.cc.
References createSingleLegConversions(), fillDescriptions(), zMuMuMuonUserData::primaryVertices, and setPFVertexParameters().
|
private |
Definition at line 363 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 418 of file PFEGammaProducer.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), and HLT_2018_cff::InputTag.
Referenced by beginRun().
|
inlinestatic |
|
inlinestatic |
Definition at line 55 of file PFEGammaProducer.cc.
|
override |
Definition at line 141 of file PFEGammaProducer.cc.
References reco::CaloCluster::badHcalMarker, gather_cfg::blocks, bsc_activity_cfg::clusters, createSingleLegConversions(), TauDecayModes::dec, ebeeClustersCollection_, reco::PFBlockElement::ECAL, eetopsSrc_, bookConverter::elements, esClustersCollection_, edm::EventID::event(), Exception, HLT_2018_cff::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(), convertSQLitetoXML_cfg::output, 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 351 of file PFEGammaProducer.cc.
References pfeg_, primaryVertex_, and MetAnalyzer::pv().
Referenced by beginRun(), and produce().
|
private |
Definition at line 87 of file PFEGammaProducer.cc.
Referenced by PFEGammaProducer(), and produce().
|
private |
Definition at line 74 of file PFEGammaProducer.cc.
Referenced by produce().
|
private |
Definition at line 88 of file PFEGammaProducer.cc.
Referenced by PFEGammaProducer(), and produce().
|
private |
Definition at line 73 of file PFEGammaProducer.cc.
Referenced by produce().
|
private |
particle flow algorithm
Definition at line 85 of file PFEGammaProducer.cc.
Referenced by PFEGammaProducer(), produce(), and setPFVertexParameters().
|
private |
Variables for PFEGamma.
Definition at line 82 of file PFEGammaProducer.cc.
Referenced by PFEGammaProducer(), and setPFVertexParameters().
|
private |
Definition at line 78 of file PFEGammaProducer.cc.
Referenced by PFEGammaProducer().
|
private |
Definition at line 75 of file PFEGammaProducer.cc.
Referenced by produce().