#include <DuplicatedPhotonRemover.h>
Classes | |
struct | EqualBySuperCluster |
struct | EqualBySuperClusterSeed |
Public Member Functions | |
template<typename PhotonCollection > | |
std::unique_ptr< std::vector< size_t > > | duplicatesBySeed (const PhotonCollection &photons) const |
std::unique_ptr< std::vector< size_t > > | duplicatesBySeed (const reco::PhotonCollection &photons) const |
std::unique_ptr< std::vector< size_t > > | duplicatesBySeed (const edm::View< reco::Photon > &photons) const |
template<typename PhotonCollection > | |
std::unique_ptr< std::vector< size_t > > | duplicatesBySuperCluster (const PhotonCollection &photons) const |
std::unique_ptr< std::vector< size_t > > | duplicatesBySuperCluster (const edm::View< reco::Photon > &photons) const |
std::unique_ptr< std::vector< size_t > > | duplicatesBySuperCluster (const reco::PhotonCollection &photons) const |
template<typename PhotonCollection , typename ElectronCollection > | |
std::unique_ptr< pat::OverlapList > | electronsBySeed (const PhotonCollection &photons, const ElectronCollection &electrons) const |
Indices of photons which happen to be also electrons (that is, they share the same SC seed) More... | |
std::unique_ptr< pat::OverlapList > | electronsBySeed (const reco::PhotonCollection &photons, const reco::GsfElectronCollection &electrons) const |
std::unique_ptr< pat::OverlapList > | electronsBySeed (const edm::View< reco::Photon > &photons, const reco::GsfElectronCollection &electrons) const |
std::unique_ptr< pat::OverlapList > | electronsBySeed (const reco::PhotonCollection &photons, const edm::View< reco::GsfElectron > &electrons) const |
std::unique_ptr< pat::OverlapList > | electronsBySeed (const edm::View< reco::Photon > &photons, const edm::View< reco::GsfElectron > &electrons) const |
template<typename PhotonCollection , typename ElectronCollection > | |
std::unique_ptr< pat::OverlapList > | electronsBySuperCluster (const PhotonCollection &photons, const ElectronCollection &electrons) const |
Indices of photons which happen to be also electrons (that is, they share the same SC) More... | |
std::unique_ptr< pat::OverlapList > | electronsBySuperCluster (const edm::View< reco::Photon > &photons, const reco::GsfElectronCollection &electrons) const |
std::unique_ptr< pat::OverlapList > | electronsBySuperCluster (const reco::PhotonCollection &photons, const reco::GsfElectronCollection &electrons) const |
std::unique_ptr< pat::OverlapList > | electronsBySuperCluster (const edm::View< reco::Photon > &photons, const edm::View< reco::GsfElectron > &electrons) const |
std::unique_ptr< pat::OverlapList > | electronsBySuperCluster (const reco::PhotonCollection &photons, const edm::View< reco::GsfElectron > &electrons) const |
Definition at line 18 of file DuplicatedPhotonRemover.h.
std::unique_ptr< std::vector< size_t > > pat::DuplicatedPhotonRemover::duplicatesBySeed | ( | const PhotonCollection & | photons | ) | const |
Indices of duplicated photons (same supercluster) to remove. It keeps the photons with highest energy. PhotonCollection can be anything that has a "begin()" and "end()", and that hold things which have a "superCluster()" method notable examples are std::vector<Photon> and edm::View<Photon> (but GsfElectrons work too)
Definition at line 93 of file DuplicatedPhotonRemover.h.
References pat::GenericDuplicateRemover< Comparator, Arbitrator >::duplicates().
Referenced by pat::DuplicatedPhotonRemover::EqualBySuperCluster::operator()().
std::unique_ptr< std::vector< size_t > > pat::DuplicatedPhotonRemover::duplicatesBySeed | ( | const reco::PhotonCollection & | photons | ) | const |
std::unique_ptr< std::vector< size_t > > pat::DuplicatedPhotonRemover::duplicatesBySeed | ( | const edm::View< reco::Photon > & | photons | ) | const |
std::unique_ptr< std::vector< size_t > > pat::DuplicatedPhotonRemover::duplicatesBySuperCluster | ( | const PhotonCollection & | photons | ) | const |
Indices of duplicated photons (same supercluster) to remove. It keeps the photons with highest energy. PhotonCollection can be anything that has a "begin()" and "end()", and that hold things which have a "superCluster()" method notable examples are std::vector<Photon> and edm::View<Photon> (but GsfElectrons work too)
Definition at line 85 of file DuplicatedPhotonRemover.h.
References pat::GenericDuplicateRemover< Comparator, Arbitrator >::duplicates().
Referenced by pat::DuplicatedPhotonRemover::EqualBySuperCluster::operator()().
std::unique_ptr< std::vector< size_t > > pat::DuplicatedPhotonRemover::duplicatesBySuperCluster | ( | const edm::View< reco::Photon > & | photons | ) | const |
std::unique_ptr< std::vector< size_t > > pat::DuplicatedPhotonRemover::duplicatesBySuperCluster | ( | const reco::PhotonCollection & | photons | ) | const |
std::unique_ptr< pat::OverlapList > pat::DuplicatedPhotonRemover::electronsBySeed | ( | const PhotonCollection & | photons, |
const ElectronCollection & | electrons | ||
) | const |
Indices of photons which happen to be also electrons (that is, they share the same SC seed)
Indices of photons which happen to be also electrons (that is, they share the same SC)
Definition at line 110 of file DuplicatedPhotonRemover.h.
References pat::GenericOverlapFinder< Distance >::find().
Referenced by pat::DuplicatedPhotonRemover::EqualBySuperCluster::operator()().
std::unique_ptr< pat::OverlapList > pat::DuplicatedPhotonRemover::electronsBySeed | ( | const reco::PhotonCollection & | photons, |
const reco::GsfElectronCollection & | electrons | ||
) | const |
Definition at line 28 of file DuplicatedPhotonRemover.cc.
References genericTrackCleaner_cfi::electrons, and jetCleaner_cfi::photons.
std::unique_ptr< pat::OverlapList > pat::DuplicatedPhotonRemover::electronsBySeed | ( | const edm::View< reco::Photon > & | photons, |
const reco::GsfElectronCollection & | electrons | ||
) | const |
Definition at line 34 of file DuplicatedPhotonRemover.cc.
References genericTrackCleaner_cfi::electrons, and jetCleaner_cfi::photons.
std::unique_ptr< pat::OverlapList > pat::DuplicatedPhotonRemover::electronsBySeed | ( | const reco::PhotonCollection & | photons, |
const edm::View< reco::GsfElectron > & | electrons | ||
) | const |
Definition at line 53 of file DuplicatedPhotonRemover.cc.
References genericTrackCleaner_cfi::electrons, and jetCleaner_cfi::photons.
std::unique_ptr< pat::OverlapList > pat::DuplicatedPhotonRemover::electronsBySeed | ( | const edm::View< reco::Photon > & | photons, |
const edm::View< reco::GsfElectron > & | electrons | ||
) | const |
Definition at line 59 of file DuplicatedPhotonRemover.cc.
References genericTrackCleaner_cfi::electrons, and jetCleaner_cfi::photons.
std::unique_ptr< pat::OverlapList > pat::DuplicatedPhotonRemover::electronsBySuperCluster | ( | const PhotonCollection & | photons, |
const ElectronCollection & | electrons | ||
) | const |
Indices of photons which happen to be also electrons (that is, they share the same SC)
Definition at line 102 of file DuplicatedPhotonRemover.h.
References pat::GenericOverlapFinder< Distance >::find().
Referenced by pat::DuplicatedPhotonRemover::EqualBySuperCluster::operator()().
std::unique_ptr< pat::OverlapList > pat::DuplicatedPhotonRemover::electronsBySuperCluster | ( | const edm::View< reco::Photon > & | photons, |
const reco::GsfElectronCollection & | electrons | ||
) | const |
Definition at line 40 of file DuplicatedPhotonRemover.cc.
References genericTrackCleaner_cfi::electrons, and jetCleaner_cfi::photons.
std::unique_ptr< pat::OverlapList > pat::DuplicatedPhotonRemover::electronsBySuperCluster | ( | const reco::PhotonCollection & | photons, |
const reco::GsfElectronCollection & | electrons | ||
) | const |
Definition at line 46 of file DuplicatedPhotonRemover.cc.
References genericTrackCleaner_cfi::electrons, and jetCleaner_cfi::photons.
std::unique_ptr< pat::OverlapList > pat::DuplicatedPhotonRemover::electronsBySuperCluster | ( | const edm::View< reco::Photon > & | photons, |
const edm::View< reco::GsfElectron > & | electrons | ||
) | const |
Definition at line 65 of file DuplicatedPhotonRemover.cc.
References genericTrackCleaner_cfi::electrons, and jetCleaner_cfi::photons.
std::unique_ptr< pat::OverlapList > pat::DuplicatedPhotonRemover::electronsBySuperCluster | ( | const reco::PhotonCollection & | photons, |
const edm::View< reco::GsfElectron > & | electrons | ||
) | const |
Definition at line 71 of file DuplicatedPhotonRemover.cc.
References genericTrackCleaner_cfi::electrons, and jetCleaner_cfi::photons.