CMS 3D CMS Logo

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 22 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 7 of file DuplicatedElectronRemover.cc.

References nano_cff::electrons.

Referenced by pat::DuplicatedElectronRemover::BestEoverP::operator()(), and pat::DuplicatedElectronCleaner::produce().

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

Definition at line 12 of file DuplicatedElectronRemover.cc.

References nano_cff::electrons.

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