#include <ConversionTools.h>
Public Member Functions | |
ConversionTools () | |
Static Public Member Functions | |
static bool | hasMatchedConversion (const reco::GsfElectron &ele, const edm::Handle< 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::TrackRef &trk, const edm::Handle< reco::ConversionCollection > &convCol, const math::XYZPoint &beamspot, float lxyMin=2.0, float probMin=1e-6, unsigned int nHitsBeforeVtxMax=1) |
static bool | hasMatchedConversion (const reco::SuperCluster &sc, const edm::Handle< 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 | hasMatchedPromptElectron (const reco::SuperClusterRef &sc, const edm::Handle< reco::GsfElectronCollection > &eleCol, const edm::Handle< reco::ConversionCollection > &convCol, const math::XYZPoint &beamspot, 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 reco::ConversionRef | matchedConversion (const reco::GsfElectron &ele, const edm::Handle< reco::ConversionCollection > &convCol, const math::XYZPoint &beamspot, bool allowCkfMatch=true, float lxyMin=2.0, float probMin=1e-6, unsigned int nHitsBeforeVtxMax=0) |
static reco::ConversionRef | matchedConversion (const reco::TrackRef &trk, const edm::Handle< reco::ConversionCollection > &convCol, const math::XYZPoint &beamspot, float lxyMin=2.0, float probMin=1e-6, unsigned int nHitsBeforeVtxMax=1) |
static reco::ConversionRef | matchedConversion (const reco::SuperCluster &sc, const edm::Handle< 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 reco::GsfElectronRef | matchedPromptElectron (const reco::SuperClusterRef &sc, const edm::Handle< reco::GsfElectronCollection > &eleCol, const edm::Handle< reco::ConversionCollection > &convCol, const math::XYZPoint &beamspot, float lxyMin=2.0, float probMin=1e-6, unsigned int nHitsBeforeVtxMax=0) |
static bool | matchesConversion (const reco::GsfElectron &ele, const reco::Conversion &conv, bool allowCkfMatch=true) |
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 edm::RefToBase< reco::Track > &trk, const reco::Conversion &conv) |
static bool | matchesConversion (const reco::TrackRef &trk, const reco::Conversion &conv) |
static bool | matchesConversion (const reco::GsfTrackRef &trk, const reco::Conversion &conv) |
Definition at line 37 of file ConversionTools.h.
|
inline |
Definition at line 40 of file ConversionTools.h.
|
static |
Definition at line 145 of file ConversionTools.cc.
Referenced by SoftPFElectronTagInfoProducer::produce(), and pat::PATElectronProducer::produce().
|
static |
Definition at line 165 of file ConversionTools.cc.
References edm::Ref< C, T, F >::isNull().
|
static |
Definition at line 186 of file ConversionTools.cc.
|
static |
Definition at line 292 of file ConversionTools.cc.
References edm::Ref< C, T, F >::isNull().
|
static |
Definition at line 19 of file ConversionTools.cc.
References reco::Vertex::chi2(), reco::Conversion::conversionVertex(), reco::Vertex::isValid(), reco::Vertex::ndof(), reco::Conversion::nHitsBeforeVtx(), reco::Conversion::refittedPairMomentum(), reco::Vertex::x(), and reco::Vertex::y().
|
static |
Definition at line 207 of file ConversionTools.cc.
References edm::match(), and rho.
Referenced by ElectronConversionRejectionValidator::analyze().
|
static |
Definition at line 235 of file ConversionTools.cc.
References edm::Ref< C, T, F >::isNull(), edm::match(), and rho.
|
static |
Definition at line 264 of file ConversionTools.cc.
References edm::match(), and rho.
|
static |
Definition at line 322 of file ConversionTools.cc.
References edm::Ref< C, T, F >::isNull(), and edm::match().
|
static |
Definition at line 51 of file ConversionTools.cc.
References reco::GsfElectron::closestCtfTrackRef(), convBrem_cff::convTracks, reco::GsfElectron::gsfTrack(), edm::ProductID::id(), edm::Ref< C, T, F >::id(), edm::Ref< C, T, F >::isNonnull(), edm::Ref< C, T, F >::key(), and reco::Conversion::tracks().
Referenced by PF_PU_AssoMapAlgos::ComesFromConversion(), and pat::PATConversionProducer::produce().
|
static |
Definition at line 68 of file ConversionTools.cc.
References reco::Conversion::conversionVertex(), reco::deltaPhi(), reco::deltaR(), dPhi(), PFRecoTauDiscriminationAgainstElectronDeadECAL_cfi::dR, reco::Vertex::position(), reco::CaloCluster::position(), and reco::Conversion::refittedPairMomentum().
|
static |
Definition at line 96 of file ConversionTools.cc.
References convBrem_cff::convTracks, edm::ProductID::id(), edm::RefToBase< T >::id(), edm::RefToBase< T >::isNull(), edm::RefToBase< T >::key(), and reco::Conversion::tracks().
|
static |
Definition at line 112 of file ConversionTools.cc.
References convBrem_cff::convTracks, edm::ProductID::id(), edm::Ref< C, T, F >::id(), edm::Ref< C, T, F >::isNull(), edm::Ref< C, T, F >::key(), and reco::Conversion::tracks().
|
static |
Definition at line 128 of file ConversionTools.cc.
References convBrem_cff::convTracks, edm::ProductID::id(), edm::Ref< C, T, F >::id(), edm::Ref< C, T, F >::isNull(), edm::Ref< C, T, F >::key(), and reco::Conversion::tracks().