CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Classes | Public Member Functions
pat::DuplicatedElectronRemover Class Reference

#include <DuplicatedElectronRemover.h>

Classes

struct  BestEoverP
 
struct  SameSuperclusterOrTrack
 

Public Member Functions

std::auto_ptr< std::vector
< size_t > > 
duplicatesToRemove (const std::vector< reco::GsfElectron > &electrons) const
 
std::auto_ptr< std::vector
< size_t > > 
duplicatesToRemove (const edm::View< reco::GsfElectron > &electrons) const
 
template<typename Collection >
std::auto_ptr< std::vector
< size_t > > 
duplicatesToRemove (const Collection &electrons) const
 

Detailed Description

Definition at line 22 of file DuplicatedElectronRemover.h.

Member Function Documentation

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.

7  {
8  return duplicatesToRemove< std::vector<reco::GsfElectron> >(electrons);
9 }
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.

12  {
13  return duplicatesToRemove< edm::View<reco::GsfElectron> >(electrons);
14 }
template<typename Collection >
std::auto_ptr< std::vector< size_t > > pat::DuplicatedElectronRemover::duplicatesToRemove ( const Collection &  electrons) const

Definition at line 60 of file DuplicatedElectronRemover.h.

References pat::GenericDuplicateRemover< Comparator, Arbitrator >::duplicates().

60  {
62  return dups.duplicates(electrons);
63 }
std::auto_ptr< std::vector< size_t > > duplicates(const Collection &items) const