CMS 3D CMS Logo

Classes | Public Member Functions

pat::DuplicatedElectronRemover Class Reference

#include <DuplicatedElectronRemover.h>

List of all members.

Classes

struct  BestEoverP
struct  SameSuperclusterOrTrack

Public Member Functions

std::auto_ptr< std::vector
< size_t > > 
duplicatesToRemove (const std::vector< reco::GsfElectron > &electrons) const
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

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.

References HI_PhotonSkim_cff::electrons.

                                                                                                  {
    return duplicatesToRemove< std::vector<reco::GsfElectron> >(electrons);
}
template<typename Collection >
std::auto_ptr< std::vector< size_t > > pat::DuplicatedElectronRemover::duplicatesToRemove ( const Collection &  electrons) const
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.

References HI_PhotonSkim_cff::electrons.

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