Functions | |
bool | isBetter (reco::GsfElectron const &, reco::GsfElectron const &) |
bool | isInnerMost (reco::GsfElectron const &, reco::GsfElectron const &) |
int | sharedDets (reco::GsfTrackRef const &, reco::GsfTrackRef const &) |
int | sharedDets (const GsfTrackRef &gsfTrackRef1, const GsfTrackRef &gsfTrackRef2) |
float | sharedEnergy (reco::CaloCluster const &clu1, reco::CaloCluster const &clu2, EcalRecHitCollection const &barrelRecHits, EcalRecHitCollection const &endcapRecHits) |
float | sharedEnergy (reco::SuperClusterRef const &sc1, reco::SuperClusterRef const &sc2, EcalRecHitCollection const &barrelRecHits, EcalRecHitCollection const &endcapRecHits) |
int | sharedHits (reco::GsfTrackRef const &, reco::GsfTrackRef const &) |
int | sharedHits (const GsfTrackRef &gsfTrackRef1, const GsfTrackRef &gsfTrackRef2) |
bool EgAmbiguityTools::isBetter | ( | reco::GsfElectron const & | e1, |
reco::GsfElectron const & | e2 | ||
) |
Definition at line 17 of file EgAmbiguityTools.cc.
References funct::abs(), and reco::GsfElectron::eSuperClusterOverP().
Referenced by isInnerMost(), and GsfElectronBaseProducer::setAmbiguityData().
bool EgAmbiguityTools::isInnerMost | ( | reco::GsfElectron const & | e1, |
reco::GsfElectron const & | e2 | ||
) |
Definition at line 20 of file EgAmbiguityTools.cc.
References reco::GsfElectron::gsfTrack(), and isBetter().
Referenced by GsfElectronBaseProducer::setAmbiguityData().
int EgAmbiguityTools::sharedDets | ( | reco::GsfTrackRef const & | , |
reco::GsfTrackRef const & | |||
) |
int EgAmbiguityTools::sharedDets | ( | const GsfTrackRef & | gsfTrackRef1, |
const GsfTrackRef & | gsfTrackRef2 | ||
) |
Definition at line 101 of file EgAmbiguityTools.cc.
References reco::HitPattern::getHitPattern().
float EgAmbiguityTools::sharedEnergy | ( | reco::CaloCluster const & | clu1, |
reco::CaloCluster const & | clu2, | ||
EcalRecHitCollection const & | barrelRecHits, | ||
EcalRecHitCollection const & | endcapRecHits | ||
) |
Definition at line 152 of file EgAmbiguityTools.cc.
References EcalBarrel, EcalEndcap, edm::SortedCollection< T, SORT >::end(), edm::SortedCollection< T, SORT >::find(), conversionTrackCandidates_cfi::fractionShared, and reco::CaloCluster::hitsAndFractions().
Referenced by RealisticHitToClusterAssociator::findAndMergeInvisibleClusters(), GsfElectronBaseProducer::setAmbiguityData(), and sharedEnergy().
float EgAmbiguityTools::sharedEnergy | ( | reco::SuperClusterRef const & | sc1, |
reco::SuperClusterRef const & | sc2, | ||
EcalRecHitCollection const & | barrelRecHits, | ||
EcalRecHitCollection const & | endcapRecHits | ||
) |
Definition at line 183 of file EgAmbiguityTools.cc.
References sharedEnergy().
int EgAmbiguityTools::sharedHits | ( | reco::GsfTrackRef const & | , |
reco::GsfTrackRef const & | |||
) |
int EgAmbiguityTools::sharedHits | ( | const GsfTrackRef & | gsfTrackRef1, |
const GsfTrackRef & | gsfTrackRef2 | ||
) |
Definition at line 49 of file EgAmbiguityTools.cc.
References reco::HitPattern::getHitPattern(), and TrackingRecHit::some.