#include <PhysicsTools/PatUtils/interface/DuplicatedElectronRemover.h>
Public Member Functions | |
template<typename Collection> | |
std::auto_ptr< std::vector < size_t > > | duplicatesToRemove (const Collection &electrons) const |
std::auto_ptr< std::vector < size_t > > | duplicatesToRemove (const edm::View< reco::GsfElectron > &electrons) const |
std::auto_ptr< std::vector < size_t > > | duplicatesToRemove (const std::vector< reco::GsfElectron > &electrons) const |
Classes | |
struct | BestEoverP |
struct | SameSuperclusterOrTrack |
Definition at line 22 of file DuplicatedElectronRemover.h.
std::auto_ptr< std::vector< size_t > > pat::DuplicatedElectronRemover::duplicatesToRemove | ( | const Collection & | electrons | ) | const [inline] |
Definition at line 60 of file DuplicatedElectronRemover.h.
References pat::GenericDuplicateRemover< Comparator, Arbitrator >::duplicates().
00060 { 00061 pat::GenericDuplicateRemover<SameSuperclusterOrTrack,BestEoverP> dups; 00062 return dups.duplicates(electrons); 00063 }
std::auto_ptr< std::vector< size_t > > pat::DuplicatedElectronRemover::duplicatesToRemove | ( | const edm::View< reco::GsfElectron > & | electrons | ) | const |
std::auto_ptr< std::vector< size_t > > pat::DuplicatedElectronRemover::duplicatesToRemove | ( | const std::vector< reco::GsfElectron > & | electrons | ) | const |
Definition at line 7 of file DuplicatedElectronRemover.cc.
Referenced by pat::DuplicatedElectronCleaner::produce().