CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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::unique_ptr< std::vector
< size_t > > 
duplicatesToRemove (const std::vector< reco::GsfElectron > &electrons) const
 
std::unique_ptr< std::vector
< size_t > > 
duplicatesToRemove (const edm::View< reco::GsfElectron > &electrons) const
 
template<typename Collection >
std::unique_ptr< std::vector
< size_t > > 
duplicatesToRemove (const Collection &electrons) const
 

Detailed Description

Definition at line 21 of file DuplicatedElectronRemover.h.

Member Function Documentation

std::unique_ptr< std::vector< size_t > > pat::DuplicatedElectronRemover::duplicatesToRemove ( const std::vector< reco::GsfElectron > &  electrons) const

Definition at line 5 of file DuplicatedElectronRemover.cc.

References HI_PhotonSkim_cff::electrons.

6  {
7  return duplicatesToRemove<std::vector<reco::GsfElectron> >(electrons);
8 }
std::unique_ptr< std::vector< size_t > > pat::DuplicatedElectronRemover::duplicatesToRemove ( const edm::View< reco::GsfElectron > &  electrons) const

Definition at line 10 of file DuplicatedElectronRemover.cc.

References HI_PhotonSkim_cff::electrons.

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