CMS 3D CMS Logo

pat::DuplicatedElectronRemover Class Reference

#include <PhysicsTools/PatUtils/interface/DuplicatedElectronRemover.h>

List of all members.

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


Detailed Description

Definition at line 22 of file DuplicatedElectronRemover.h.


Member Function Documentation

template<typename Collection>
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

Definition at line 12 of file DuplicatedElectronRemover.cc.

00012                                                                                                   {
00013     return duplicatesToRemove< edm::View<reco::GsfElectron> >(electrons);
00014 }

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().

00007                                                                                                   {
00008     return duplicatesToRemove< std::vector<reco::GsfElectron> >(electrons);
00009 }


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:49:31 2009 for CMSSW by  doxygen 1.5.4