#include <PFElectronTranslator.h>
Public Types | |
typedef std::vector < edm::Handle< edm::ValueMap < double > > > | IsolationValueMaps |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | ModuleType |
typedef WorkerT< EDProducer > | WorkerType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Additional Inherited Members | |
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 | |
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) |
Definition at line 23 of file PFElectronTranslator.h.
typedef std::vector< edm::Handle< edm::ValueMap<double> > > PFElectronTranslator::IsolationValueMaps |
Definition at line 31 of file PFElectronTranslator.h.
|
explicit |
Definition at line 22 of file PFElectronTranslator.cc.
References checkStatusFlag_, emptyIsOk_, edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), GsfElectronCollection_, GsfElectronCoreCollection_, inputTagGSFTracks_, inputTagIsoVals_, inputTagPFCandidateElectrons_, inputTagPFCandidates_, MVACut_, PFBasicClusterCollection_, PFMVAValueMap_, PFPreshowerClusterCollection_, PFSCValueMap_, PFSuperClusterCollection_, and AlCaHLTBitMon_QueryRunRegistry::string.
PFElectronTranslator::~PFElectronTranslator | ( | ) |
Definition at line 70 of file PFElectronTranslator.cc.
|
private |
Definition at line 532 of file PFElectronTranslator.cc.
References reco::CompositeCandidate::begin(), reco::PFCandidate::elementsInBlocks(), reco::CompositeCandidate::end(), and reco::PFBlockElement::index().
Referenced by produce().
|
private |
Definition at line 289 of file PFElectronTranslator.cc.
References reco::CaloCluster::algo(), reco::CaloCluster::caloID(), reco::PFBlockElement::clusterRef(), reco::CaloCluster::hitsAndFractions(), edm::Ref< C, T, F >::isNull(), reco::CaloCluster::position(), reco::PFCandidate::rawEcalEnergy(), and reco::CaloCluster::seed().
Referenced by produce().
|
private |
Definition at line 321 of file PFElectronTranslator.cc.
References basicClusterPtr_, basicClusters_, GsfTrackRef_, and findQualityFiles::size.
Referenced by produce().
|
private |
Definition at line 570 of file PFElectronTranslator.cc.
References gsfElectronCoreRefs_, GsfTrackRef_, and findQualityFiles::size.
Referenced by produce().
|
private |
Definition at line 556 of file PFElectronTranslator.cc.
References GsfTrackRef_, kfTrackRef_, scMap_, reco::GsfElectronCore::setCtfTrack(), and reco::GsfElectronCore::setPflowSuperCluster().
Referenced by produce().
|
private |
Definition at line 591 of file PFElectronTranslator.cc.
References reco::GsfElectron::addAmbiguousGsfTrack(), ambiguousGsfTracks_, CandidatePtr_, reco::GsfElectron::PflowIsolationVariables::chargedHadronIso, reco::GsfElectron::MvaInput::deltaEta, reco::PFCandidate::deltaP(), reco::GsfElectron::MvaInput::earlyBrem, reco::PFCandidate::electronExtraRef(), reco::GsfElectron::MvaInput::etOutsideMustache, gsfElectronCoreRefs_, gsfPFCandidateIndex_, GsfTrackRef_, reco::GsfElectron::MvaInput::hadEnergy, reco::GsfElectron::MvaInput::lateBrem, reco::Mustache::MustacheID(), reco::GsfElectron::MvaOutput::mva, reco::PFCandidateElectronExtra::MVA_DeltaEtaTrackCluster, reco::PFCandidate::mva_e_pi(), reco::PFCandidateElectronExtra::MVA_FirstBrem, reco::PFCandidateElectronExtra::MVA_LateBrem, reco::GsfElectron::MvaInput::nClusterOutsideMustache, reco::GsfElectron::PflowIsolationVariables::neutralHadronIso, reco::LeafCandidate::p4(), reco::GsfElectron::P4_PFLOW_COMBINATION, reco::GsfElectron::PflowIsolationVariables::photonIso, reco::GsfElectron::setMvaInput(), reco::GsfElectron::setMvaOutput(), reco::GsfElectron::setP4(), reco::GsfElectron::setPfIsolationVariables(), reco::GsfElectron::MvaInput::sigmaEtaEta, findQualityFiles::size, and reco::GsfElectron::MvaOutput::status.
Referenced by produce().
|
private |
Definition at line 314 of file PFElectronTranslator.cc.
References reco::PFBlockElement::clusterRef().
Referenced by produce().
|
private |
Definition at line 340 of file PFElectronTranslator.cc.
References GsfTrackRef_, preshowerClusterPtr_, preshowerClusters_, and findQualityFiles::size.
Referenced by produce().
|
private |
Definition at line 359 of file PFElectronTranslator.cc.
References GsfTrackRef_, scMap_, and findQualityFiles::size.
Referenced by produce().
|
private |
Definition at line 442 of file PFElectronTranslator.cc.
References reco::SuperCluster::addCluster(), reco::CaloCluster::addHitAndFraction(), reco::SuperCluster::addPreshowerCluster(), basicClusterPtr_, basicClusters_, alignCSCRings::e, gsfPFCandidateIndex_, GsfTrackRef_, pfClusters_, PFClusterWidthAlgo::pflowEtaWidth(), PFClusterWidthAlgo::pflowPhiWidth(), preshowerClusterPtr_, reco::SuperCluster::rawEnergy(), reco::SuperCluster::setEtaWidth(), reco::SuperCluster::setPhiWidth(), reco::SuperCluster::setPreshowerEnergy(), and reco::SuperCluster::setSeed().
Referenced by produce().
|
private |
Definition at line 256 of file PFElectronTranslator.cc.
References emptyIsOk_, newFWLiteAna::found, and edm::Event::getByLabel().
Referenced by fillMVAValueMap(), and produce().
|
private |
Definition at line 272 of file PFElectronTranslator.cc.
References edm::hlt::Exception, newFWLiteAna::found, and edm::Event::getByLabel().
Referenced by fillMVAValueMap(), and fillSCRefValueMap().
|
private |
Definition at line 371 of file PFElectronTranslator.cc.
References reco::PFCandidate::e, fetchCandidateCollection(), fetchGsfCollection(), gsfMvaMap_, reco::PFCandidate::gsfTrackRef(), i, inputTagGSFTracks_, inputTagPFCandidateElectrons_, edm::helper::Filler< Map >::insert(), edm::Ref< C, T, F >::isNull(), reco::PFCandidate::mva_e_pi(), reco::PFCandidate::particleId(), reco::tau::pfCandidates(), ntuplemaker::status, and makeHLTPrescaleTable::values.
Referenced by produce().
|
private |
Definition at line 415 of file PFElectronTranslator.cc.
References fetchGsfCollection(), inputTagGSFTracks_, edm::helper::Filler< Map >::insert(), scMap_, and makeHLTPrescaleTable::values.
Referenced by produce().
|
private |
|
private |
Definition at line 580 of file PFElectronTranslator.cc.
References reco::PFBlockElementGsfTrack::GsftrackRefPF().
Referenced by produce().
|
overridevirtual |
Implements edm::EDProducer.
Definition at line 72 of file PFElectronTranslator.cc.
References ambiguousGsfTracks_, basicClusterPtr_, basicClusters_, CandidatePtr_, checkStatusFlag_, correspondingDaughterCandidate(), createBasicCluster(), createBasicClusterPtrs(), createGsfElectronCoreRefs(), createGsfElectronCores(), createGsfElectrons(), createPreshowerCluster(), createPreshowerClusterPtrs(), createSuperClusterGsfMapRefs(), createSuperClusters(), reco::PFCandidate::e, reco::PFBlockElement::ECAL, reco::PFCandidate::electronExtraRef(), asciidump::elements, reco::PFCandidate::elementsInBlocks(), fetchCandidateCollection(), edm::helper::Filler< Map >::fill(), fillMVAValueMap(), fillSCRefValueMap(), getAmbiguousGsfTracks(), edm::Event::getByLabel(), reco::PFBlockElement::GSF, GsfElectronCollection_, GsfElectronCoreCollection_, gsfElectronCoreRefs_, gsfPFCandidateIndex_, reco::PFCandidate::gsfTrackRef(), GsfTrackRef_, i, inputTagIsoVals_, inputTagPFCandidates_, edm::Ref< C, T, F >::isNull(), j, kfTrackRef_, reco::PFCandidate::mva_e_pi(), MVACut_, reco::PFCandidate::particleId(), PFBasicClusterCollection_, reco::tau::pfCandidates(), pfClusters_, PFMVAValueMap_, PFPreshowerClusterCollection_, PFSCValueMap_, PFSuperClusterCollection_, preshowerClusterPtr_, preshowerClusters_, reco::PFBlockElement::PS1, reco::PFBlockElement::PS2, edm::Event::put(), scMap_, reco::PFCandidateElectronExtra::Selected, ntuplemaker::status, superClusters_, reco::PFCandidate::trackRef(), and reco::PFBlockElement::type().
|
private |
Definition at line 110 of file PFElectronTranslator.h.
Referenced by createGsfElectrons(), and produce().
|
private |
Definition at line 120 of file PFElectronTranslator.h.
Referenced by createBasicClusterPtrs(), createSuperClusters(), and produce().
|
private |
Definition at line 112 of file PFElectronTranslator.h.
Referenced by createBasicClusterPtrs(), createSuperClusters(), and produce().
|
private |
Definition at line 106 of file PFElectronTranslator.h.
Referenced by createGsfElectrons(), and produce().
|
private |
Definition at line 100 of file PFElectronTranslator.h.
Referenced by PFElectronTranslator(), and produce().
|
private |
Definition at line 131 of file PFElectronTranslator.h.
Referenced by fetchCandidateCollection(), and PFElectronTranslator().
|
private |
Definition at line 98 of file PFElectronTranslator.h.
Referenced by PFElectronTranslator(), and produce().
|
private |
Definition at line 97 of file PFElectronTranslator.h.
Referenced by PFElectronTranslator(), and produce().
|
private |
Definition at line 124 of file PFElectronTranslator.h.
Referenced by createGsfElectronCoreRefs(), createGsfElectrons(), and produce().
|
private |
Definition at line 129 of file PFElectronTranslator.h.
Referenced by fillMVAValueMap().
|
private |
Definition at line 126 of file PFElectronTranslator.h.
Referenced by createGsfElectrons(), createSuperClusters(), and produce().
|
private |
Definition at line 104 of file PFElectronTranslator.h.
Referenced by createBasicClusterPtrs(), createGsfElectronCoreRefs(), createGsfElectronCores(), createGsfElectrons(), createPreshowerClusterPtrs(), createSuperClusterGsfMapRefs(), createSuperClusters(), and produce().
|
private |
Definition at line 90 of file PFElectronTranslator.h.
Referenced by fillMVAValueMap(), fillSCRefValueMap(), and PFElectronTranslator().
|
private |
Definition at line 91 of file PFElectronTranslator.h.
Referenced by PFElectronTranslator(), and produce().
|
private |
Definition at line 89 of file PFElectronTranslator.h.
Referenced by fillMVAValueMap(), and PFElectronTranslator().
|
private |
Definition at line 88 of file PFElectronTranslator.h.
Referenced by PFElectronTranslator(), and produce().
|
private |
Definition at line 108 of file PFElectronTranslator.h.
Referenced by createGsfElectronCores(), and produce().
|
private |
Definition at line 99 of file PFElectronTranslator.h.
Referenced by PFElectronTranslator(), and produce().
|
private |
Definition at line 92 of file PFElectronTranslator.h.
Referenced by PFElectronTranslator(), and produce().
|
private |
Definition at line 114 of file PFElectronTranslator.h.
Referenced by createSuperClusters(), and produce().
|
private |
Definition at line 95 of file PFElectronTranslator.h.
Referenced by PFElectronTranslator(), and produce().
|
private |
Definition at line 93 of file PFElectronTranslator.h.
Referenced by PFElectronTranslator(), and produce().
|
private |
Definition at line 96 of file PFElectronTranslator.h.
Referenced by PFElectronTranslator(), and produce().
|
private |
Definition at line 94 of file PFElectronTranslator.h.
Referenced by PFElectronTranslator(), and produce().
|
private |
Definition at line 122 of file PFElectronTranslator.h.
Referenced by createPreshowerClusterPtrs(), createSuperClusters(), and produce().
|
private |
Definition at line 116 of file PFElectronTranslator.h.
Referenced by createPreshowerClusterPtrs(), and produce().
|
private |
Definition at line 128 of file PFElectronTranslator.h.
Referenced by createGsfElectronCores(), createSuperClusterGsfMapRefs(), fillSCRefValueMap(), and produce().
|
private |
Definition at line 118 of file PFElectronTranslator.h.
Referenced by produce().