Producer for particle flow reconstructed particles (PFCandidates) More...
#include <PFEGammaProducer.h>
Private Member Functions | |
void | setPFEGParameters (PFEGammaAlgo::PFEGConfigInfo &) |
void | setPFVertexParameters (bool useVertex, const reco::VertexCollection *primaryVertices) |
Additional Inherited Members | |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | ModuleType |
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::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
Producer for particle flow reconstructed particles (PFCandidates)
This producer makes use of PFAlgo, the particle flow algorithm.
Definition at line 51 of file PFEGammaProducer.h.
|
explicit |
Definition at line 45 of file PFEGammaProducer.cc.
References PFEGammaAlgo::PFEGConfigInfo::applyCrackCorrections, PFEGammaAlgo::PFEGConfigInfo::coneEcalIsoForEgammaSC, PFEGammaAlgo::PFEGConfigInfo::coneTrackIsoForEgammaSC, ebeeClustersCollection_, eetopsSrc_, esClustersCollection_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), inputTagBlocks_, LogDebug, PFEGammaAlgo::PFEGConfigInfo::mvaConvCut, PFEGammaAlgo::PFEGConfigInfo::mvaEleCut, PFEGammaAlgo::PFEGConfigInfo::mvaweightfile, PFEGammaAlgo::PFEGConfigInfo::mvaWeightFileEleID, PFEGammaAlgo::PFEGConfigInfo::nTrackIsoForEgammaSC, PFEGammaAlgo::PFEGConfigInfo::produceEGCandsWithNoSuperCluster, ReaderGC_, ReaderLC_, ReaderRes_, setPFEGParameters(), AlCaHLTBitMon_QueryRunRegistry::string, PFEGammaAlgo::PFEGConfigInfo::sumEtEcalIsoForEgammaSC_barrel, PFEGammaAlgo::PFEGConfigInfo::sumEtEcalIsoForEgammaSC_endcap, PFEGammaAlgo::PFEGConfigInfo::sumPtTrackIsoForEgammaSC_barrel, PFEGammaAlgo::PFEGConfigInfo::sumPtTrackIsoForEgammaSC_endcap, PFEGammaAlgo::PFEGConfigInfo::sumPtTrackIsoForPhoton, PFEGammaAlgo::PFEGConfigInfo::sumPtTrackIsoSlopeForPhoton, useCalibrationsFromDB_, PFEGammaAlgo::PFEGConfigInfo::useEGammaSupercluster, PFEGammaAlgo::PFEGConfigInfo::usePFSCEleCalib, PFEGammaAlgo::PFEGConfigInfo::useReg, useRegressionFromDB_, useVerticesForNeutral_, verbose_, vertices_, and PFEGammaAlgo::PFEGConfigInfo::X0_Map.
PFEGammaProducer::~PFEGammaProducer | ( | ) |
Definition at line 202 of file PFEGammaProducer.cc.
|
overridevirtual |
Reimplemented from edm::EDProducer.
Definition at line 205 of file PFEGammaProducer.cc.
References edm::EventSetup::get(), edm::ESHandle< class >::product(), ReaderEcalRes_, ReaderGCBarrel_, ReaderGCEndCapHighr9_, ReaderGCEndCapLowr9_, ReaderLCEB_, ReaderLCEE_, and useRegressionFromDB_.
|
overridevirtual |
Implements edm::EDProducer.
Definition at line 241 of file PFEGammaProducer.cc.
References gather_cfg::blocks, ebeeClustersCollection_, reco::PFBlockElement::ECAL, eetopsSrc_, egCandidates_, egExtra_, asciidump::elements, reco::CaloCluster::energy(), esClustersCollection_, edm::EventID::event(), edm::hlt::Exception, newFWLiteAna::found, edm::Event::getByToken(), edm::Event::getRefBeforePut(), reco::PFBlockElement::HCAL, reco::PFBlockElement::HFEM, reco::PFBlockElement::HFHAD, reco::PFBlockElement::HO, i, edm::EventBase::id(), edm::EDGetTokenT< T >::index(), inputTagBlocks_, LOGDRESSED, pfeg_, edm::Handle< T >::product(), reco::PFBlockElement::PS1, reco::PFBlockElement::PS2, edm::PtrVector< T >::push_back(), edm::Event::put(), edm::EventID::run(), reco::PFBlockElement::SC, sClusters_, reco::PFCandidate::setPFEGammaExtraRef(), setPFVertexParameters(), reco::PFCandidateEGammaExtra::setSuperClusterRef(), reco::PFCandidate::setSuperClusterRef(), edm::OwnVector< T, P >::size(), funct::true, useVerticesForNeutral_, and vertices_.
|
private |
Definition at line 499 of file PFEGammaProducer.cc.
References alignCSCRings::e, PFEGammaAlgo::PFEGConfigInfo::mvaweightfile, PFEGammaAlgo::PFEGConfigInfo::mvaWeightFileEleID, AlCaHLTBitMon_ParallelJobs::p, pfeg_, primaryVertex_, PFEGammaAlgo::PFEGConfigInfo::primaryVtx, AlCaHLTBitMon_QueryRunRegistry::string, and useVerticesForNeutral_.
Referenced by PFEGammaProducer().
|
private |
Definition at line 549 of file PFEGammaProducer.cc.
References i, pfeg_, primaryVertex_, and useVerticesForNeutral_.
Referenced by produce().
|
private |
Definition at line 104 of file PFEGammaProducer.h.
|
private |
Definition at line 110 of file PFEGammaProducer.h.
|
private |
Definition at line 113 of file PFEGammaProducer.h.
|
private |
Definition at line 131 of file PFEGammaProducer.h.
Referenced by PFEGammaProducer(), and produce().
|
private |
Definition at line 67 of file PFEGammaProducer.h.
Referenced by PFEGammaProducer(), and produce().
|
private |
Definition at line 118 of file PFEGammaProducer.h.
Referenced by produce().
|
private |
Definition at line 119 of file PFEGammaProducer.h.
Referenced by produce().
|
private |
Definition at line 132 of file PFEGammaProducer.h.
Referenced by PFEGammaProducer(), and produce().
|
private |
Definition at line 66 of file PFEGammaProducer.h.
Referenced by PFEGammaProducer(), and produce().
|
private |
Definition at line 101 of file PFEGammaProducer.h.
|
private |
Variables for PFEGamma.
Definition at line 99 of file PFEGammaProducer.h.
|
private |
Definition at line 114 of file PFEGammaProducer.h.
|
private |
the unfiltered electron collection
particle flow algorithm
Definition at line 129 of file PFEGammaProducer.h.
Referenced by produce(), setPFEGParameters(), and setPFVertexParameters().
|
private |
Definition at line 116 of file PFEGammaProducer.h.
Referenced by setPFEGParameters(), and setPFVertexParameters().
|
private |
Definition at line 86 of file PFEGammaProducer.h.
Referenced by beginRun().
|
private |
Definition at line 78 of file PFEGammaProducer.h.
Referenced by PFEGammaProducer().
|
private |
Definition at line 83 of file PFEGammaProducer.h.
Referenced by beginRun().
|
private |
Definition at line 84 of file PFEGammaProducer.h.
Referenced by beginRun().
|
private |
Definition at line 85 of file PFEGammaProducer.h.
Referenced by beginRun().
|
private |
Definition at line 79 of file PFEGammaProducer.h.
Referenced by PFEGammaProducer().
|
private |
Definition at line 81 of file PFEGammaProducer.h.
Referenced by beginRun().
|
private |
Definition at line 82 of file PFEGammaProducer.h.
Referenced by beginRun().
|
private |
Definition at line 80 of file PFEGammaProducer.h.
Referenced by PFEGammaProducer().
|
private |
Definition at line 120 of file PFEGammaProducer.h.
Referenced by produce().
|
private |
Definition at line 100 of file PFEGammaProducer.h.
|
private |
Definition at line 108 of file PFEGammaProducer.h.
|
private |
Definition at line 109 of file PFEGammaProducer.h.
|
private |
Definition at line 111 of file PFEGammaProducer.h.
|
private |
Definition at line 112 of file PFEGammaProducer.h.
|
private |
Definition at line 96 of file PFEGammaProducer.h.
|
private |
Definition at line 94 of file PFEGammaProducer.h.
Referenced by PFEGammaProducer().
|
private |
Definition at line 88 of file PFEGammaProducer.h.
|
private |
Definition at line 107 of file PFEGammaProducer.h.
|
private |
Definition at line 106 of file PFEGammaProducer.h.
|
private |
Definition at line 102 of file PFEGammaProducer.h.
|
private |
Definition at line 103 of file PFEGammaProducer.h.
|
private |
Definition at line 105 of file PFEGammaProducer.h.
|
private |
Definition at line 76 of file PFEGammaProducer.h.
|
private |
Definition at line 77 of file PFEGammaProducer.h.
Referenced by beginRun(), and PFEGammaProducer().
|
private |
Definition at line 91 of file PFEGammaProducer.h.
Referenced by PFEGammaProducer(), produce(), setPFEGParameters(), and setPFVertexParameters().
|
private |
|
private |
Definition at line 68 of file PFEGammaProducer.h.
Referenced by PFEGammaProducer(), and produce().