#include <PFEGammaAlgo.h>
Classes | |
struct | PFEGConfigInfo |
struct | ProtoEGObject |
Public Member Functions | |
reco::PFCandidateCollection & | getCandidates () |
reco::PFCandidateEGammaExtraCollection & | getEGExtra () |
reco::SuperClusterCollection & | getRefinedSCs () |
bool | isEGValidCandidate (const pfEGHelpers::HeavyObjectCache *hoc, const reco::PFBlockRef &blockRef, std::vector< bool > &active) |
PFEGammaAlgo (const PFEGConfigInfo &) | |
void | RunPFEG (const pfEGHelpers::HeavyObjectCache *hoc, const reco::PFBlockRef &blockRef, std::vector< bool > &active) |
void | setAlphaGamma_ESplanes_fromDB (const ESEEIntercalibConstants *esEEInterCalib) |
void | setEEtoPSAssociation (const edm::Handle< EEtoPSAssociation > &eetops) |
void | setESChannelStatus (const ESChannelStatus *channelStatus) |
void | setnPU (int nVtx) |
void | setPhotonPrimaryVtx (const reco::Vertex &primary) |
~PFEGammaAlgo () | |
Private Types | |
enum | verbosityLevel { Silent, Summary, Chatty } |
Definition at line 58 of file PFEGammaAlgo.h.
typedef std::unordered_map<unsigned int, std::vector<unsigned int> > PFEGammaAlgo::AsscMap |
Definition at line 72 of file PFEGammaAlgo.h.
typedef std::unordered_map<const PFClusterElement*, std::vector<PFClusterFlaggedElement> > PFEGammaAlgo::ClusterMap |
Definition at line 78 of file PFEGammaAlgo.h.
Definition at line 60 of file PFEGammaAlgo.h.
typedef std::vector<std::pair<const reco::PFBlockElement*, const reco::PFBlockElement*> > PFEGammaAlgo::ElementMap |
Definition at line 74 of file PFEGammaAlgo.h.
typedef std::unordered_map<const PFGSFElement*, std::vector<PFKFFlaggedElement> > PFEGammaAlgo::GSFToTrackMap |
Definition at line 76 of file PFEGammaAlgo.h.
typedef std::unordered_map<const PFKFElement*, float > PFEGammaAlgo::KFValMap |
Definition at line 80 of file PFEGammaAlgo.h.
Definition at line 62 of file PFEGammaAlgo.h.
typedef std::pair<const PFBremElement*,bool> PFEGammaAlgo::PFBremFlaggedElement |
Definition at line 68 of file PFEGammaAlgo.h.
Definition at line 65 of file PFEGammaAlgo.h.
typedef std::pair<const PFClusterElement*,bool> PFEGammaAlgo::PFClusterFlaggedElement |
Definition at line 71 of file PFEGammaAlgo.h.
typedef std::pair<const reco::PFBlockElement*,bool> PFEGammaAlgo::PFFlaggedElement |
Definition at line 66 of file PFEGammaAlgo.h.
Definition at line 63 of file PFEGammaAlgo.h.
typedef std::pair<const PFGSFElement*,bool> PFEGammaAlgo::PFGSFFlaggedElement |
Definition at line 69 of file PFEGammaAlgo.h.
Definition at line 64 of file PFEGammaAlgo.h.
typedef std::pair<const PFKFElement*,bool> PFEGammaAlgo::PFKFFlaggedElement |
Definition at line 70 of file PFEGammaAlgo.h.
Definition at line 61 of file PFEGammaAlgo.h.
typedef std::pair<const PFSCElement*,bool> PFEGammaAlgo::PFSCFlaggedElement |
Definition at line 67 of file PFEGammaAlgo.h.
|
private |
Enumerator | |
---|---|
Silent | |
Summary | |
Chatty |
Definition at line 185 of file PFEGammaAlgo.h.
PFEGammaAlgo::PFEGammaAlgo | ( | const PFEGConfigInfo & | cfg | ) |
Definition at line 695 of file PFEGammaAlgo.cc.
References cfg_, X0_inner, PFEGammaAlgo::PFEGConfigInfo::X0_Map, X0_middle, X0_outer, and X0_sum.
|
inline |
Definition at line 139 of file PFEGammaAlgo.h.
|
private |
Definition at line 1260 of file PFEGammaAlgo.cc.
References _splayedblock, docast, PFLayer::ECAL_BARREL, eetops_, edm::Ptr< T >::key(), reco::PFBlockElement::PS1, reco::PFBlockElement::PS2, edm::refToPtr(), and groupFilesInBlocks::temp.
Referenced by linkKFTrackToECAL(), linkRefinableObjectBremTangentsToECAL(), linkRefinableObjectPrimaryGSFTrackToECAL(), linkRefinableObjectSecondaryKFsToECAL(), and unwrapSuperCluster().
|
private |
Definition at line 829 of file PFEGammaAlgo.cc.
References _currentblock, _currentlinks, _finalCandidates, _recoveredlinks, _refinableObjects, _splayedblock, a, b, reco::CaloCluster::badHcalMarker, groupFilesInBlocks::block, dumpCurrentRefinableObjects(), fillPFCandidates(), HCAL, initializeProtoCands(), isAMuon(), linkRefinableObjectBremTangentsToECAL(), linkRefinableObjectConvSecondaryKFsToSecondaryKFs(), linkRefinableObjectECALToSingleLegConv(), linkRefinableObjectGSFTracksToKFs(), linkRefinableObjectKFTracksToECAL(), linkRefinableObjectPrimaryGSFTrackToECAL(), linkRefinableObjectPrimaryGSFTrackToHCAL(), linkRefinableObjectPrimaryKFsToSecondaryKFs(), linkRefinableObjectSecondaryKFsToECAL(), LOGDRESSED, LOGVERB, mergeROsByAnyLink(), outcands_, outcandsextra_, removeOrLinkECALClustersToKFTracks(), unlinkRefinableObjectKFandECALMatchedToHCAL(), and unlinkRefinableObjectKFandECALWithBadEoverP().
Referenced by RunPFEG().
|
private |
Definition at line 2280 of file PFEGammaAlgo.cc.
References reco::SuperCluster::addCluster(), reco::CaloCluster::addHitAndFraction(), reco::SuperCluster::addPreshowerCluster(), PFEGammaAlgo::PFEGConfigInfo::applyCrackCorrections, cfg_, channelStatus_, reco::CaloCluster::correctedEnergy(), TauDecayModes::dec, PFEGammaAlgo::ProtoEGObject::ecal2ps, PFLayer::ECAL_ENDCAP, PFEGammaAlgo::ProtoEGObject::ecalclusters, reco::PFCluster::energy(), Exception, ESCondObjectContainer< T >::find(), spr::find(), plotBeamSpotDB::first, edm::Ptr< T >::get(), ESCondObjectContainer< T >::getMap(), reco::CaloCluster::hitsAndFractions(), PFClusterWidthAlgo::pflowEtaWidth(), PFClusterWidthAlgo::pflowPhiWidth(), reco::CaloCluster::position(), RecoTauValidation_cfi::posX, RecoTauValidation_cfi::posY, reco::SuperCluster::preshowerClustersBegin(), reco::SuperCluster::preshowerClustersEnd(), PFLayer::PS1, reco::PFBlockElement::PS1, PFLayer::PS2, reco::PFBlockElement::PS2, reco::SuperCluster::rawEnergy(), reco::CaloCluster::setCorrectedEnergy(), reco::SuperCluster::setEtaWidth(), reco::SuperCluster::setPhiWidth(), reco::SuperCluster::setPreshowerEnergy(), reco::SuperCluster::setPreshowerEnergyPlane1(), reco::SuperCluster::setPreshowerEnergyPlane2(), reco::SuperCluster::setSeed(), PFEGammaAlgo::PFEGConfigInfo::thePFEnergyCalibration, and unlinkRefinableObjectKFandECALWithBadEoverP().
Referenced by fill_extra_info(), and fillPFCandidates().
|
private |
Definition at line 2084 of file PFEGammaAlgo.cc.
References _currentblock, a, funct::abs(), b, PFEGammaAlgo::ProtoEGObject::brems, chi2_gsf, chi2_kf, constexpr, DEtaGsfEcalClust, dPtOverPt_gsf, DPtOverPt_gsf, DPtOverPt_kf, MillePedeFileConverter_cfg::e, earlyBrem, digitizers_cfi::ecal, PFEGammaAlgo::ProtoEGObject::ecalclusters, EGsfPoutMode, PFEGammaAlgo::ProtoEGObject::electronClusters, Eta_gsf, EtotBremPinPoutMode, EtotPinMode, f, spr::find(), PFEGammaAlgo::ProtoEGObject::firstBrem, firstBrem, pfEGHelpers::HeavyObjectCache::gbrEle_, reco::PFBlockElementGsfTrack::GsftrackRef(), PFEGammaAlgo::ProtoEGObject::hcalClusters, HOverHE, HOverPin, edm::Ref< C, T, F >::isNonnull(), PFEGammaAlgo::ProtoEGObject::lateBrem, lateBrem, lnPt_gsf, PFEGammaAlgo::ProtoEGObject::localMap, cmsBatch::log, SiStripPI::max, min(), PFEGammaAlgo::ProtoEGObject::nBremsWithClusters, nhit_gsf, nhit_kf, PFClusterWidthAlgo::pflowSigmaEtaEta(), reco::PFBlockElementGsfTrack::positionAtECALEntrance(), reco::PFBlockElementGsfTrack::Pout(), PFEGammaAlgo::ProtoEGObject::primaryGSFs, PFEGammaAlgo::ProtoEGObject::primaryKFs, reco::PFCandidateEGammaExtra::setDeltaEta(), reco::PFCandidateEGammaExtra::setEarlyBrem(), reco::PFCandidateEGammaExtra::setGsfElectronClusterRef(), reco::PFCandidateEGammaExtra::setGsfTrackPout(), reco::PFCandidateEGammaExtra::setHadEnergy(), reco::PFCandidateEGammaExtra::setLateBrem(), reco::PFCandidateEGammaExtra::setSigmaEtaEta(), electronIdCutBased_cfi::sigmaEtaEta, and SigmaEtaEta.
Referenced by fillPFCandidates().
|
private |
Definition at line 1292 of file PFEGammaAlgo.cc.
References _refinableObjects, info(), and removeOrLinkECALClustersToKFTracks().
Referenced by buildAndRefineEGObjects().
|
private |
Definition at line 746 of file PFEGammaAlgo.cc.
References reco::PFBlock::associatedElements(), groupFilesInBlocks::block, chi2, del_phi, hiPixelPairStep_cff::deltaPhi, reco::PFBlockElement::ECAL, allElectronIsolations_cfi::elements, reco::PFBlock::elements(), EoverPt, pfEGHelpers::HeavyObjectCache::gbrSingleLeg_, reco::PFBlockElement::HCAL, HoverPt, reco::PFBlock::linkData(), reco::PFBlock::LINKTEST_ALL, mvaValue, nlayers, nlost, colinearityKinematic::Phi, PV3DBase< T, PVType, FrameType >::phi(), STIP, track_pt, X, reco::Vertex::x(), reco::Vertex::y(), and reco::Vertex::z().
Referenced by fillPFCandidates(), linkRefinableObjectECALToSingleLegConv(), and RunPFEG().
|
private |
Definition at line 2253 of file PFEGammaAlgo.cc.
References _currentblock, _currentlinks, _splayedblock, reco::PFCandidateEGammaExtra::addExtraNonConvTrack(), buildRefinedSuperCluster(), docast, digitizers_cfi::ecal, reco::PFBlockElement::ECAL, PFEGammaAlgo::ProtoEGObject::ecalclusters, and reco::PFBlockElement::TRACK.
Referenced by fillPFCandidates().
|
private |
Definition at line 1938 of file PFEGammaAlgo.cc.
References _currentblock, reco::PFCandidateEGammaExtra::addConversionRef(), reco::PFCandidate::addElementInBlock(), reco::PFCandidateEGammaExtra::addSingleLegConvTrackRefMva(), buildRefinedSuperCluster(), calculate_ele_mva(), cfg_, reco::PFBlockElementTrack::convRefs(), digitizers_cfi::ecal, reco::CaloCluster::energy(), EvaluateSingleLegMVA(), fill_extra_info(), ntupleEnum::gsf, reco::PFBlockElementGsfTrack::GsftrackRef(), reco::PFBlockElement::index(), edm::Ref< C, T, F >::index(), p4, reco::Vertex::position(), reco::CaloCluster::position(), reco::PFBlockElementTrack::positionAtECALEntrance(), reco::PFBlockElementGsfTrack::positionAtECALEntrance(), PFEGammaAlgo::PFEGConfigInfo::primaryVtx, PFEGammaAlgo::PFEGConfigInfo::produceEGCandsWithNoSuperCluster, reco::SuperCluster::rawEnergy(), refinedscs_, reco::SuperCluster::seed(), reco::PFCandidate::set_mva_e_pi(), reco::LeafCandidate::setCharge(), reco::PFCandidate::setEcalEnergy(), reco::PFCandidateEGammaExtra::setGsfTrackRef(), reco::PFCandidate::setGsfTrackRef(), reco::PFCandidateEGammaExtra::setKfTrackRef(), reco::PFCandidateEGammaExtra::setMVA(), reco::LeafCandidate::setP4(), reco::LeafCandidate::setPdgId(), reco::PFCandidate::setPositionAtECALEntrance(), reco::PFCandidateEGammaExtra::setSuperClusterPFECALRef(), reco::PFCandidateEGammaExtra::setSuperClusterRef(), reco::PFCandidate::setSuperClusterRef(), reco::PFCandidate::setTime(), reco::PFCandidate::setTrackRef(), and reco::PFBlockElementTrack::trackRef().
Referenced by buildAndRefineEGObjects(), and linkRefinableObjectSecondaryKFsToECAL().
|
inline |
|
inline |
Definition at line 177 of file PFEGammaAlgo.h.
References outcandsextra_.
|
inline |
|
private |
Definition at line 962 of file PFEGammaAlgo.cc.
References _currentblock, _currentlinks, _refinableObjects, _splayedblock, PFEGammaAlgo::ProtoEGObject::brems, docast, reco::PFBlockElementGsfTrack::Dump(), PFEGammaAlgo::ProtoEGObject::ecal2ps, PFEGammaAlgo::ProtoEGObject::ecalclusters, PFEGammaAlgo::ProtoEGObject::electronSeed, Exception, f, PFEGammaAlgo::ProtoEGObject::firstBrem, edm::Ref< C, T, F >::get(), reco::PFBlockElementGsfTrack::GsftrackRef(), reco::PFBlockElement::index(), edm::Ref< C, T, F >::isAvailable(), edm::Ref< C, T, F >::isNonnull(), edm::Ref< C, T, F >::isNull(), PFEGammaAlgo::ProtoEGObject::lateBrem, reco::PFBlock::LINKTEST_ALL, PFEGammaAlgo::ProtoEGObject::localMap, LOGDRESSED, LOGVERB, eostools::move(), PFEGammaAlgo::ProtoEGObject::nBremsWithClusters, PFEGammaAlgo::ProtoEGObject::parentBlock, PFEGammaAlgo::ProtoEGObject::parentSC, PFEGammaAlgo::ProtoEGObject::primaryGSFs, reco::PFBlockElement::T_FROM_GAMMACONV, reco::PFBlockElementGsfTrack::trackType(), and unwrapSuperCluster().
Referenced by buildAndRefineEGObjects().
|
private |
Definition at line 802 of file PFEGammaAlgo.cc.
References _currentblock, _currentlinks, allElectronIsolations_cfi::elements, reco::PFBlockElement::GSF, reco::PFBlockElement::index(), PFMuonAlgo::isMuon(), reco::PFBlock::LINKTEST_ALL, reco::PFBlockElement::TRACK, and reco::PFBlockElement::type().
Referenced by buildAndRefineEGObjects().
|
inline |
Definition at line 166 of file PFEGammaAlgo.h.
References egCandidate_, and RunPFEG().
|
private |
Definition at line 2621 of file PFEGammaAlgo.cc.
References reco::PFBlockElementGsfTrack::GsftrackRefPF(), edm::Ref< C, T, F >::isNonnull(), and reco::PFBlockElementTrack::trackRefPF().
Referenced by linkRefinableObjectGSFTracksToKFs().
|
private |
Definition at line 1715 of file PFEGammaAlgo.cc.
References _currentblock, _currentlinks, _splayedblock, attachPSClusters(), docast, reco::PFBlockElement::ECAL, PFEGammaAlgo::ProtoEGObject::ecal2ps, PFEGammaAlgo::ProtoEGObject::ecalclusters, linkRefinableObjectBremTangentsToECAL(), PFEGammaAlgo::ProtoEGObject::localMap, and LOGDRESSED.
Referenced by linkRefinableObjectKFTracksToECAL().
|
private |
Definition at line 1771 of file PFEGammaAlgo.cc.
References _currentblock, _currentlinks, _splayedblock, funct::abs(), attachPSClusters(), PFEGammaAlgo::ProtoEGObject::brems, docast, digitizers_cfi::ecal, reco::PFBlockElement::ECAL, PFEGammaAlgo::ProtoEGObject::ecal2ps, PFEGammaAlgo::ProtoEGObject::ecalclusters, PFEGammaAlgo::ProtoEGObject::firstBrem, linkRefinableObjectConvSecondaryKFsToSecondaryKFs(), PFEGammaAlgo::ProtoEGObject::localMap, LOGDRESSED, and PFEGammaAlgo::ProtoEGObject::nBremsWithClusters.
Referenced by buildAndRefineEGObjects(), and linkKFTrackToECAL().
|
private |
Definition at line 1846 of file PFEGammaAlgo.cc.
References _currentblock, _currentlinks, _splayedblock, SoftLeptonByDistance_cfi::distance, docast, plotBeamSpotDB::first, training_settings::idx, linkRefinableObjectECALToSingleLegConv(), PFEGammaAlgo::ProtoEGObject::localMap, PFEGammaAlgo::ProtoEGObject::secondaryKFs, and reco::PFBlockElement::TRACK.
Referenced by buildAndRefineEGObjects(), and linkRefinableObjectBremTangentsToECAL().
|
private |
Definition at line 1874 of file PFEGammaAlgo.cc.
References _currentblock, _currentlinks, _splayedblock, cfg_, docast, digitizers_cfi::ecal, reco::PFBlockElement::ECAL, PFEGammaAlgo::ProtoEGObject::ecalclusters, EvaluateSingleLegMVA(), linkRefinableObjectSecondaryKFsToECAL(), PFEGammaAlgo::ProtoEGObject::localMap, PFEGammaAlgo::PFEGConfigInfo::mvaConvCut, PFEGammaAlgo::PFEGConfigInfo::primaryVtx, PFEGammaAlgo::ProtoEGObject::secondaryKFs, PFEGammaAlgo::ProtoEGObject::singleLegConversionMvaMap, and reco::PFBlockElement::TRACK.
Referenced by buildAndRefineEGObjects(), and linkRefinableObjectConvSecondaryKFsToSecondaryKFs().
|
private |
Definition at line 1555 of file PFEGammaAlgo.cc.
References _currentblock, _currentlinks, _splayedblock, constexpr, docast, PFEGammaAlgo::ProtoEGObject::electronSeed, relativeConstraints::empty, edm::Ref< C, T, F >::isNull(), isPrimaryTrack(), linkRefinableObjectPrimaryKFsToSecondaryKFs(), PFEGammaAlgo::ProtoEGObject::localMap, PFEGammaAlgo::ProtoEGObject::primaryGSFs, PFEGammaAlgo::ProtoEGObject::primaryKFs, PFEGammaAlgo::ProtoEGObject::secondaryKFs, reco::PFBlockElement::T_FROM_GAMMACONV, reco::PFBlockElement::TRACK, reco::PFBlockElementTrack::trackType(), and reco::PFBlockElementGsfTrack::trackType().
Referenced by buildAndRefineEGObjects(), and mergeROsByAnyLink().
|
private |
Definition at line 1708 of file PFEGammaAlgo.cc.
References _splayedblock, reco::PFBlockElement::ECAL, relativeConstraints::empty, linkKFTrackToECAL(), PFEGammaAlgo::ProtoEGObject::primaryKFs, and PFEGammaAlgo::ProtoEGObject::secondaryKFs.
Referenced by buildAndRefineEGObjects(), and linkRefinableObjectPrimaryGSFTrackToHCAL().
|
private |
Definition at line 1628 of file PFEGammaAlgo.cc.
References _currentblock, _currentlinks, _splayedblock, attachPSClusters(), docast, digitizers_cfi::ecal, reco::PFBlockElement::ECAL, PFEGammaAlgo::ProtoEGObject::ecal2ps, PFEGammaAlgo::ProtoEGObject::ecalclusters, PFEGammaAlgo::ProtoEGObject::electronClusters, relativeConstraints::empty, linkRefinableObjectPrimaryGSFTrackToHCAL(), PFEGammaAlgo::ProtoEGObject::localMap, LOGDRESSED, PFEGammaAlgo::ProtoEGObject::primaryGSFs, and groupFilesInBlocks::temp.
Referenced by buildAndRefineEGObjects(), and linkRefinableObjectPrimaryKFsToSecondaryKFs().
|
private |
Definition at line 1682 of file PFEGammaAlgo.cc.
References _currentblock, _currentlinks, _splayedblock, docast, relativeConstraints::empty, digitizers_cfi::hcal, reco::PFBlockElement::HCAL, PFEGammaAlgo::ProtoEGObject::hcalClusters, linkRefinableObjectKFTracksToECAL(), PFEGammaAlgo::ProtoEGObject::localMap, LOGDRESSED, PFEGammaAlgo::ProtoEGObject::primaryGSFs, and groupFilesInBlocks::temp.
Referenced by buildAndRefineEGObjects(), and linkRefinableObjectPrimaryGSFTrackToECAL().
|
private |
Definition at line 1592 of file PFEGammaAlgo.cc.
References _currentblock, _currentlinks, _splayedblock, constexpr, docast, relativeConstraints::empty, Exception, linkRefinableObjectPrimaryGSFTrackToECAL(), PFEGammaAlgo::ProtoEGObject::localMap, PFEGammaAlgo::ProtoEGObject::primaryKFs, PFEGammaAlgo::ProtoEGObject::secondaryKFs, reco::PFBlockElement::T_FROM_GAMMACONV, reco::PFBlockElement::TRACK, and reco::PFBlockElementTrack::trackType().
Referenced by buildAndRefineEGObjects(), and linkRefinableObjectGSFTracksToKFs().
|
private |
Definition at line 1915 of file PFEGammaAlgo.cc.
References _currentblock, _currentlinks, _splayedblock, attachPSClusters(), docast, digitizers_cfi::ecal, reco::PFBlockElement::ECAL, PFEGammaAlgo::ProtoEGObject::ecal2ps, fillPFCandidates(), PFEGammaAlgo::ProtoEGObject::localMap, PFEGammaAlgo::ProtoEGObject::secondaryKFs, and reco::PFBlockElement::TRACK.
Referenced by buildAndRefineEGObjects(), and linkRefinableObjectECALToSingleLegConv().
|
private |
Definition at line 1460 of file PFEGammaAlgo.cc.
References PFEGammaAlgo::ProtoEGObject::brems, SoftLeptonByDistance_cfi::distance, PFEGammaAlgo::ProtoEGObject::ecal2ps, PFEGammaAlgo::ProtoEGObject::ecalclusters, PFEGammaAlgo::ProtoEGObject::electronClusters, PFEGammaAlgo::ProtoEGObject::electronSeed, PFEGammaAlgo::ProtoEGObject::firstBrem, edm::Ref< C, T, F >::isNonnull(), edm::Ref< C, T, F >::isNull(), PFEGammaAlgo::ProtoEGObject::lateBrem, linkRefinableObjectGSFTracksToKFs(), PFEGammaAlgo::ProtoEGObject::localMap, LOGDRESSED, LOGWARN, PFEGammaAlgo::ProtoEGObject::nBremsWithClusters, PFEGammaAlgo::ProtoEGObject::parentSC, PFEGammaAlgo::ProtoEGObject::primaryGSFs, PFEGammaAlgo::ProtoEGObject::primaryKFs, PFEGammaAlgo::ProtoEGObject::secondaryKFs, and std::swap().
Referenced by buildAndRefineEGObjects(), and removeOrLinkECALClustersToKFTracks().
|
private |
Definition at line 1365 of file PFEGammaAlgo.cc.
References _currentblock, _currentlinks, _recoveredlinks, _splayedblock, cfg_, docast, reco::PFBlockElement::ECAL, relativeConstraints::empty, f, reco::PFBlockElement::GSF, reco::PFBlockElement::index(), PFTrackAlgoTools::isGoodForEGMPrimary(), reco::PFBlock::LINKTEST_ALL, mergeROsByAnyLink(), PFEGammaAlgo::PFEGConfigInfo::primaryVtx, SimDataFormats::CaloAnalysis::sc, reco::PFBlockElement::SC, reco::PFBlockElement::T_FROM_GAMMACONV, reco::PFBlockElement::TRACK, reco::PFBlockElementTrack::trackRef(), reco::Vertex::tracks_begin(), reco::Vertex::tracks_end(), and reco::PFBlockElementGsfTrack::trackType().
Referenced by buildAndRefineEGObjects(), and dumpCurrentRefinableObjects().
void PFEGammaAlgo::RunPFEG | ( | const pfEGHelpers::HeavyObjectCache * | hoc, |
const reco::PFBlockRef & | blockRef, | ||
std::vector< bool > & | active | ||
) |
Definition at line 728 of file PFEGammaAlgo.cc.
References buildAndRefineEGObjects(), Chatty, convGsfTrack_, egCandidate_, egExtra_, EvaluateSingleLegMVA(), fifthStepKfTrack_, and verbosityLevel_.
Referenced by isEGValidCandidate(), and setPhotonPrimaryVtx().
|
inline |
Definition at line 145 of file PFEGammaAlgo.h.
References cfg_, and PFEGammaAlgo::PFEGConfigInfo::thePFEnergyCalibration.
|
inline |
Definition at line 141 of file PFEGammaAlgo.h.
References eetops_.
|
inline |
|
inline |
Definition at line 153 of file PFEGammaAlgo.h.
References nVtx_.
|
inline |
Definition at line 156 of file PFEGammaAlgo.h.
References cfg_, PFEGammaAlgo::PFEGConfigInfo::primaryVtx, and RunPFEG().
|
private |
Definition at line 2529 of file PFEGammaAlgo.cc.
References _currentblock, _currentlinks, _splayedblock, reco::PFBlockElementCluster::clusterRef(), SoftLeptonByDistance_cfi::distance, digitizers_cfi::ecal, PFEGammaAlgo::ProtoEGObject::ecalclusters, f, spr::find(), spr::goodTrack(), reco::PFBlockElement::HCAL, PFTrackAlgoTools::isGoodForEGM(), reco::PFBlock::LINKTEST_ALL, PFEGammaAlgo::ProtoEGObject::localMap, LOGDRESSED, PFEGammaAlgo::ProtoEGObject::parentSC, and PFEGammaAlgo::ProtoEGObject::secondaryKFs.
Referenced by buildAndRefineEGObjects(), and unlinkRefinableObjectKFandECALWithBadEoverP().
|
private |
Definition at line 2439 of file PFEGammaAlgo.cc.
References _currentblock, _currentlinks, funct::abs(), PFEGammaAlgo::ProtoEGObject::brems, SoftLeptonByDistance_cfi::distance, digitizers_cfi::ecal, PFEGammaAlgo::ProtoEGObject::ecalclusters, PVValHelper::eta, f, spr::find(), reco::PFBlock::LINKTEST_ALL, PFEGammaAlgo::ProtoEGObject::localMap, LOGDRESSED, PFEGammaAlgo::ProtoEGObject::primaryGSFs, PFEGammaAlgo::ProtoEGObject::secondaryKFs, and unlinkRefinableObjectKFandECALMatchedToHCAL().
Referenced by buildAndRefineEGObjects(), and buildRefinedSuperCluster().
|
private |
Definition at line 1115 of file PFEGammaAlgo.cc.
References _currentblock, _currentlinks, _splayedblock, attachPSClusters(), TauDecayModes::dec, SoftLeptonByDistance_cfi::distance, docast, reco::PFBlockElementCluster::Dump(), reco::PFBlockElementSuperCluster::Dump(), reco::PFBlockElement::ECAL, Exception, spr::find(), reco::PFBlockElementSuperCluster::fromPFSuperCluster(), edm::Ref< C, T, F >::get(), reco::PFBlockElement::HGCAL, edm::Ref< C, T, F >::isAvailable(), edm::Ref< C, T, F >::isNonnull(), LOGDRESSED, LOGERR, LOGVERB, and reco::PFBlockElementSuperCluster::superClusterRef().
Referenced by initializeProtoCands().
|
private |
Definition at line 200 of file PFEGammaAlgo.h.
Referenced by buildAndRefineEGObjects(), calculate_ele_mva(), fill_extra_info(), fillPFCandidates(), initializeProtoCands(), isAMuon(), linkKFTrackToECAL(), linkRefinableObjectBremTangentsToECAL(), linkRefinableObjectConvSecondaryKFsToSecondaryKFs(), linkRefinableObjectECALToSingleLegConv(), linkRefinableObjectGSFTracksToKFs(), linkRefinableObjectPrimaryGSFTrackToECAL(), linkRefinableObjectPrimaryGSFTrackToHCAL(), linkRefinableObjectPrimaryKFsToSecondaryKFs(), linkRefinableObjectSecondaryKFsToECAL(), removeOrLinkECALClustersToKFTracks(), unlinkRefinableObjectKFandECALMatchedToHCAL(), unlinkRefinableObjectKFandECALWithBadEoverP(), and unwrapSuperCluster().
|
private |
Definition at line 201 of file PFEGammaAlgo.h.
Referenced by buildAndRefineEGObjects(), fill_extra_info(), initializeProtoCands(), isAMuon(), linkKFTrackToECAL(), linkRefinableObjectBremTangentsToECAL(), linkRefinableObjectConvSecondaryKFsToSecondaryKFs(), linkRefinableObjectECALToSingleLegConv(), linkRefinableObjectGSFTracksToKFs(), linkRefinableObjectPrimaryGSFTrackToECAL(), linkRefinableObjectPrimaryGSFTrackToHCAL(), linkRefinableObjectPrimaryKFsToSecondaryKFs(), linkRefinableObjectSecondaryKFsToECAL(), removeOrLinkECALClustersToKFTracks(), unlinkRefinableObjectKFandECALMatchedToHCAL(), unlinkRefinableObjectKFandECALWithBadEoverP(), and unwrapSuperCluster().
|
private |
Definition at line 220 of file PFEGammaAlgo.h.
Referenced by buildAndRefineEGObjects().
|
private |
Definition at line 205 of file PFEGammaAlgo.h.
Referenced by buildAndRefineEGObjects(), and removeOrLinkECALClustersToKFTracks().
|
private |
Definition at line 218 of file PFEGammaAlgo.h.
Referenced by buildAndRefineEGObjects(), dumpCurrentRefinableObjects(), and initializeProtoCands().
|
private |
Definition at line 204 of file PFEGammaAlgo.h.
Referenced by attachPSClusters(), buildAndRefineEGObjects(), fill_extra_info(), initializeProtoCands(), linkKFTrackToECAL(), linkRefinableObjectBremTangentsToECAL(), linkRefinableObjectConvSecondaryKFsToSecondaryKFs(), linkRefinableObjectECALToSingleLegConv(), linkRefinableObjectGSFTracksToKFs(), linkRefinableObjectKFTracksToECAL(), linkRefinableObjectPrimaryGSFTrackToECAL(), linkRefinableObjectPrimaryGSFTrackToHCAL(), linkRefinableObjectPrimaryKFsToSecondaryKFs(), linkRefinableObjectSecondaryKFsToECAL(), removeOrLinkECALClustersToKFTracks(), unlinkRefinableObjectKFandECALMatchedToHCAL(), and unwrapSuperCluster().
|
private |
Definition at line 398 of file PFEGammaAlgo.h.
|
private |
Definition at line 313 of file PFEGammaAlgo.h.
Referenced by buildRefinedSuperCluster(), fillPFCandidates(), linkRefinableObjectECALToSingleLegConv(), PFEGammaAlgo(), removeOrLinkECALClustersToKFTracks(), setAlphaGamma_ESplanes_fromDB(), and setPhotonPrimaryVtx().
|
private |
Definition at line 396 of file PFEGammaAlgo.h.
Referenced by buildRefinedSuperCluster(), and setESChannelStatus().
|
private |
Definition at line 368 of file PFEGammaAlgo.h.
Referenced by EvaluateSingleLegMVA().
|
private |
Definition at line 322 of file PFEGammaAlgo.h.
Referenced by calculate_ele_mva().
|
private |
Definition at line 322 of file PFEGammaAlgo.h.
Referenced by calculate_ele_mva().
|
private |
Definition at line 374 of file PFEGammaAlgo.h.
|
private |
Definition at line 374 of file PFEGammaAlgo.h.
|
private |
Definition at line 374 of file PFEGammaAlgo.h.
|
private |
Definition at line 374 of file PFEGammaAlgo.h.
|
private |
Definition at line 311 of file PFEGammaAlgo.h.
Referenced by RunPFEG().
|
private |
Definition at line 374 of file PFEGammaAlgo.h.
|
private |
Definition at line 376 of file PFEGammaAlgo.h.
|
private |
Definition at line 376 of file PFEGammaAlgo.h.
|
private |
Definition at line 374 of file PFEGammaAlgo.h.
|
private |
Definition at line 377 of file PFEGammaAlgo.h.
|
private |
Definition at line 377 of file PFEGammaAlgo.h.
|
private |
Definition at line 368 of file PFEGammaAlgo.h.
Referenced by EvaluateSingleLegMVA().
|
private |
Definition at line 385 of file PFEGammaAlgo.h.
|
private |
Definition at line 329 of file PFEGammaAlgo.h.
Referenced by calculate_ele_mva().
|
private |
Definition at line 385 of file PFEGammaAlgo.h.
|
private |
Definition at line 322 of file PFEGammaAlgo.h.
Referenced by calculate_ele_mva().
|
private |
Definition at line 322 of file PFEGammaAlgo.h.
Referenced by calculate_ele_mva().
|
private |
Definition at line 322 of file PFEGammaAlgo.h.
Referenced by calculate_ele_mva().
|
private |
Definition at line 380 of file PFEGammaAlgo.h.
|
private |
Definition at line 380 of file PFEGammaAlgo.h.
|
private |
Definition at line 380 of file PFEGammaAlgo.h.
|
private |
Definition at line 380 of file PFEGammaAlgo.h.
|
private |
Definition at line 382 of file PFEGammaAlgo.h.
|
private |
Definition at line 380 of file PFEGammaAlgo.h.
|
private |
Definition at line 380 of file PFEGammaAlgo.h.
|
private |
Definition at line 380 of file PFEGammaAlgo.h.
|
private |
Definition at line 374 of file PFEGammaAlgo.h.
|
private |
Definition at line 384 of file PFEGammaAlgo.h.
|
private |
Definition at line 371 of file PFEGammaAlgo.h.
|
private |
Definition at line 332 of file PFEGammaAlgo.h.
Referenced by calculate_ele_mva().
|
private |
Definition at line 378 of file PFEGammaAlgo.h.
|
private |
Definition at line 381 of file PFEGammaAlgo.h.
|
private |
Definition at line 199 of file PFEGammaAlgo.h.
Referenced by attachPSClusters(), and setEEtoPSAssociation().
|
private |
Definition at line 400 of file PFEGammaAlgo.h.
Referenced by isEGValidCandidate(), and RunPFEG().
|
private |
Definition at line 404 of file PFEGammaAlgo.h.
Referenced by RunPFEG().
|
private |
Definition at line 328 of file PFEGammaAlgo.h.
Referenced by calculate_ele_mva().
|
private |
Definition at line 381 of file PFEGammaAlgo.h.
|
private |
Definition at line 368 of file PFEGammaAlgo.h.
Referenced by EvaluateSingleLegMVA().
|
private |
Definition at line 381 of file PFEGammaAlgo.h.
|
private |
Definition at line 380 of file PFEGammaAlgo.h.
|
private |
Definition at line 319 of file PFEGammaAlgo.h.
Referenced by calculate_ele_mva().
|
private |
Definition at line 381 of file PFEGammaAlgo.h.
|
private |
Definition at line 328 of file PFEGammaAlgo.h.
Referenced by calculate_ele_mva().
|
private |
Definition at line 328 of file PFEGammaAlgo.h.
Referenced by calculate_ele_mva().
|
private |
Definition at line 395 of file PFEGammaAlgo.h.
|
private |
Definition at line 310 of file PFEGammaAlgo.h.
Referenced by RunPFEG().
|
private |
Definition at line 332 of file PFEGammaAlgo.h.
Referenced by calculate_ele_mva().
|
private |
Definition at line 309 of file PFEGammaAlgo.h.
|
private |
Definition at line 333 of file PFEGammaAlgo.h.
Referenced by calculate_ele_mva().
|
private |
Definition at line 333 of file PFEGammaAlgo.h.
Referenced by calculate_ele_mva().
|
private |
Definition at line 368 of file PFEGammaAlgo.h.
Referenced by EvaluateSingleLegMVA().
|
private |
Definition at line 335 of file PFEGammaAlgo.h.
|
private |
Definition at line 332 of file PFEGammaAlgo.h.
Referenced by calculate_ele_mva().
|
private |
Definition at line 319 of file PFEGammaAlgo.h.
Referenced by calculate_ele_mva().
|
private |
Definition at line 308 of file PFEGammaAlgo.h.
|
private |
Definition at line 374 of file PFEGammaAlgo.h.
|
private |
Definition at line 385 of file PFEGammaAlgo.h.
|
private |
Definition at line 363 of file PFEGammaAlgo.h.
|
private |
Definition at line 395 of file PFEGammaAlgo.h.
|
private |
Definition at line 395 of file PFEGammaAlgo.h.
|
private |
Definition at line 384 of file PFEGammaAlgo.h.
|
private |
Definition at line 369 of file PFEGammaAlgo.h.
Referenced by EvaluateSingleLegMVA().
|
private |
Definition at line 315 of file PFEGammaAlgo.h.
|
private |
Definition at line 325 of file PFEGammaAlgo.h.
Referenced by calculate_ele_mva().
|
private |
Definition at line 325 of file PFEGammaAlgo.h.
Referenced by calculate_ele_mva().
|
private |
Definition at line 367 of file PFEGammaAlgo.h.
Referenced by EvaluateSingleLegMVA().
|
private |
Definition at line 367 of file PFEGammaAlgo.h.
Referenced by EvaluateSingleLegMVA().
|
private |
Definition at line 385 of file PFEGammaAlgo.h.
|
private |
Definition at line 387 of file PFEGammaAlgo.h.
Referenced by setnPU().
|
private |
Definition at line 193 of file PFEGammaAlgo.h.
Referenced by buildAndRefineEGObjects(), and getCandidates().
|
private |
Definition at line 194 of file PFEGammaAlgo.h.
Referenced by buildAndRefineEGObjects(), and getEGExtra().
|
private |
Definition at line 366 of file PFEGammaAlgo.h.
|
private |
Definition at line 374 of file PFEGammaAlgo.h.
|
private |
Definition at line 384 of file PFEGammaAlgo.h.
|
private |
Definition at line 384 of file PFEGammaAlgo.h.
|
private |
Definition at line 384 of file PFEGammaAlgo.h.
|
private |
Definition at line 384 of file PFEGammaAlgo.h.
|
private |
Definition at line 384 of file PFEGammaAlgo.h.
|
private |
Definition at line 384 of file PFEGammaAlgo.h.
|
private |
Definition at line 384 of file PFEGammaAlgo.h.
|
private |
Definition at line 384 of file PFEGammaAlgo.h.
|
private |
Definition at line 348 of file PFEGammaAlgo.h.
|
private |
Definition at line 384 of file PFEGammaAlgo.h.
|
private |
Definition at line 351 of file PFEGammaAlgo.h.
|
private |
Definition at line 356 of file PFEGammaAlgo.h.
|
private |
Definition at line 357 of file PFEGammaAlgo.h.
|
private |
Definition at line 358 of file PFEGammaAlgo.h.
|
private |
Definition at line 350 of file PFEGammaAlgo.h.
|
private |
Definition at line 354 of file PFEGammaAlgo.h.
|
private |
Definition at line 355 of file PFEGammaAlgo.h.
|
private |
Definition at line 352 of file PFEGammaAlgo.h.
|
private |
Definition at line 195 of file PFEGammaAlgo.h.
Referenced by fillPFCandidates(), and getRefinedSCs().
|
private |
Definition at line 385 of file PFEGammaAlgo.h.
|
private |
Definition at line 385 of file PFEGammaAlgo.h.
|
private |
Definition at line 384 of file PFEGammaAlgo.h.
|
private |
Definition at line 384 of file PFEGammaAlgo.h.
|
private |
Definition at line 330 of file PFEGammaAlgo.h.
Referenced by calculate_ele_mva().
|
private |
Definition at line 368 of file PFEGammaAlgo.h.
Referenced by EvaluateSingleLegMVA().
|
private |
Definition at line 361 of file PFEGammaAlgo.h.
|
private |
Definition at line 362 of file PFEGammaAlgo.h.
|
private |
Definition at line 386 of file PFEGammaAlgo.h.
|
private |
Definition at line 386 of file PFEGammaAlgo.h.
|
private |
Definition at line 368 of file PFEGammaAlgo.h.
Referenced by EvaluateSingleLegMVA().
|
private |
Definition at line 342 of file PFEGammaAlgo.h.
Referenced by RunPFEG().
|
private |
Definition at line 374 of file PFEGammaAlgo.h.
|
private |
Definition at line 390 of file PFEGammaAlgo.h.
Referenced by PFEGammaAlgo().
|
private |
Definition at line 391 of file PFEGammaAlgo.h.
Referenced by PFEGammaAlgo().
|
private |
Definition at line 392 of file PFEGammaAlgo.h.
Referenced by PFEGammaAlgo().
|
private |
Definition at line 389 of file PFEGammaAlgo.h.
Referenced by PFEGammaAlgo().
|
private |
Definition at line 393 of file PFEGammaAlgo.h.
|
private |
Definition at line 393 of file PFEGammaAlgo.h.
|
private |
Definition at line 393 of file PFEGammaAlgo.h.