#include <ConversionTools.h>
Public Member Functions | |
ConversionTools () | |
Static Public Member Functions | |
static float | getVtxFitProb (const reco::Conversion *conv) |
static bool | hasMatchedConversion (const reco::GsfElectron &ele, const reco::ConversionCollection &convCol, const math::XYZPoint &beamspot, bool allowCkfMatch=true, float lxyMin=2.0, float probMin=1e-6, unsigned int nHitsBeforeVtxMax=0) |
static bool | hasMatchedConversion (const reco::SuperCluster &sc, const reco::ConversionCollection &convCol, const math::XYZPoint &beamspot, float dRMax=0.1, float dEtaMax=999., float dPhiMax=999., float lxyMin=2.0, float probMin=1e-6, unsigned int nHitsBeforeVtxMax=1) |
static bool | hasMatchedConversion (const reco::TrackRef &trk, const reco::ConversionCollection &convCol, const math::XYZPoint &beamspot, float lxyMin=2.0, float probMin=1e-6, unsigned int nHitsBeforeVtxMax=1) |
static bool | hasMatchedPromptElectron (const reco::SuperClusterRef &sc, const reco::GsfElectronCollection &eleCol, const reco::ConversionCollection &convCol, const math::XYZPoint &beamspot, bool allowCkfMatch=true, float lxyMin=2.0, float probMin=1e-6, unsigned int nHitsBeforeVtxMax=0) |
static bool | isGoodConversion (const reco::Conversion &conv, const math::XYZPoint &beamspot, float lxyMin=2.0, float probMin=1e-6, unsigned int nHitsBeforeVtxMax=1) |
static const reco::Conversion * | matchedConversion (const reco::GsfElectron &ele, const reco::ConversionCollection &convCol, const math::XYZPoint &beamspot, bool allowCkfMatch=true, float lxyMin=2.0, float probMin=1e-6, unsigned int nHitsBeforeVtxMax=0) |
static const reco::Conversion * | matchedConversion (const reco::GsfElectronCore &eleCore, const reco::ConversionCollection &convCol, const math::XYZPoint &beamspot, bool allowCkfMatch=true, float lxyMin=2.0, float probMin=1e-6, unsigned int nHitsBeforeVtxMax=0) |
static const reco::Conversion * | matchedConversion (const reco::SuperCluster &sc, const reco::ConversionCollection &convCol, const math::XYZPoint &beamspot, float dRMax=0.1, float dEtaMax=999., float dPhiMax=999., float lxyMin=2.0, float probMin=1e-6, unsigned int nHitsBeforeVtxMax=1) |
static const reco::Conversion * | matchedConversion (const reco::TrackRef &trk, const reco::ConversionCollection &convCol, const math::XYZPoint &beamspot, float lxyMin=2.0, float probMin=1e-6, unsigned int nHitsBeforeVtxMax=1) |
static const reco::GsfElectron * | matchedPromptElectron (const reco::SuperClusterRef &sc, const reco::GsfElectronCollection &eleCol, const reco::ConversionCollection &convCol, const math::XYZPoint &beamspot, bool allowCkfMatch=true, float lxyMin=2.0, float probMin=1e-6, unsigned int nHitsBeforeVtxMax=0) |
static bool | matchesConversion (const edm::RefToBase< reco::Track > &trk, const reco::Conversion &conv) |
static bool | matchesConversion (const reco::GsfElectron &ele, const reco::Conversion &conv, bool allowCkfMatch=true, bool allowAmbiguousGsfMatch=false) |
static bool | matchesConversion (const reco::GsfElectronCore &eleCore, const reco::Conversion &conv, bool allowCkfMatch=true) |
static bool | matchesConversion (const reco::GsfTrackRef &trk, const reco::Conversion &conv) |
static bool | matchesConversion (const reco::SuperCluster &sc, const reco::Conversion &conv, float dRMax=0.1, float dEtaMax=999., float dPhiMax=999.) |
static bool | matchesConversion (const reco::TrackRef &trk, const reco::Conversion &conv) |
Definition at line 31 of file ConversionTools.h.
|
inline |
Definition at line 33 of file ConversionTools.h.
|
static |
Definition at line 440 of file ConversionTools.cc.
References conv, and extraflags_cff::vtx.
Referenced by GsfElectronAlgo::createElectron(), and EG9X105XObjectUpdateModifier::modifyObject().
|
static |
Definition at line 183 of file ConversionTools.cc.
References recoSelectForWrite_cfi::probMin.
Referenced by LeptonSkimming::filter(), DQMExample_Step1::MediumEle(), GsfEleConversionVetoCut::operator()(), ElectronIdentifier::passID(), SoftPFElectronTagInfoProducer::produce(), pat::PATElectronProducer::produce(), EgammaCutBasedEleId::TestWP(), and GsfEleConversionVetoCut::value().
|
static |
|
static |
Definition at line 207 of file ConversionTools.cc.
References edm::Ref< C, T, F >::isNull(), and recoSelectForWrite_cfi::probMin.
|
static |
Definition at line 391 of file ConversionTools.cc.
References recoSelectForWrite_cfi::probMin.
Referenced by pat::PATPhotonProducer::produce().
|
static |
Definition at line 15 of file ConversionTools.cc.
References conv, recoSelectForWrite_cfi::probMin, and extraflags_cff::vtx.
|
static |
Definition at line 257 of file ConversionTools.cc.
References edm::match(), and recoSelectForWrite_cfi::probMin.
Referenced by ElectronConversionRejectionValidator::analyze(), GsfElectronAlgo::createElectron(), and EG9X105XObjectUpdateModifier::modifyObject().
|
static |
Definition at line 290 of file ConversionTools.cc.
References edm::match(), and recoSelectForWrite_cfi::probMin.
|
static |
Definition at line 357 of file ConversionTools.cc.
References photonValidator_cfi::dEtaMax, CSCSegmentAlgorithmRU_cfi::dPhiMax, metBenchmark_cfi::dRMax, edm::match(), and recoSelectForWrite_cfi::probMin.
|
static |
Definition at line 323 of file ConversionTools.cc.
References edm::Ref< C, T, F >::isNull(), edm::match(), and recoSelectForWrite_cfi::probMin.
|
static |
Definition at line 404 of file ConversionTools.cc.
References edm::Ref< C, T, F >::isNull(), edm::match(), reco::HitPattern::MISSING_INNER_HITS, and recoSelectForWrite_cfi::probMin.
|
static |
Definition at line 132 of file ConversionTools.cc.
References conv, edm::ProductID::id(), edm::RefToBase< T >::id(), edm::RefToBase< T >::isNull(), edm::RefToBase< T >::key(), and trackerHitRTTI::vector.
|
static |
Definition at line 53 of file ConversionTools.cc.
References reco::GsfElectron::ambiguousGsfTracksBegin(), reco::GsfElectron::ambiguousGsfTracksEnd(), conv, and trackerHitRTTI::vector.
Referenced by PF_PU_AssoMapAlgos::ComesFromConversion(), ReducedEGProducer::linkConversionsByTrackRef(), and pat::PATConversionProducer::produce().
|
static |
Definition at line 85 of file ConversionTools.cc.
References conv, reco::GsfElectronCore::ctfTrack(), reco::GsfElectronCore::gsfTrack(), edm::ProductID::id(), edm::Ref< C, T, F >::id(), edm::Ref< C, T, F >::isNonnull(), and edm::Ref< C, T, F >::key().
|
static |
Definition at line 166 of file ConversionTools.cc.
References conv, edm::ProductID::id(), edm::Ref< C, T, F >::id(), edm::Ref< C, T, F >::isNull(), edm::Ref< C, T, F >::key(), and trackerHitRTTI::vector.
|
static |
Definition at line 105 of file ConversionTools.cc.
References conv, reco::deltaPhi(), reco::deltaR(), HLT_FULL_cff::dEta, photonValidator_cfi::dEtaMax, HLT_FULL_cff::dPhi, CSCSegmentAlgorithmRU_cfi::dPhiMax, HGC3DClusterGenMatchSelector_cfi::dR, metBenchmark_cfi::dRMax, and reco::CaloCluster::position().
|
static |
Definition at line 149 of file ConversionTools.cc.
References conv, edm::ProductID::id(), edm::Ref< C, T, F >::id(), edm::Ref< C, T, F >::isNull(), edm::Ref< C, T, F >::key(), and trackerHitRTTI::vector.