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

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

Detailed Description

Definition at line 21 of file DuplicatedElectronRemover.h.

Member Function Documentation

◆ duplicatesToRemove() [1/3]

template<typename Collection >
std::unique_ptr< std::vector< size_t > > pat::DuplicatedElectronRemover::duplicatesToRemove ( const Collection &  electrons) const

◆ duplicatesToRemove() [2/3]

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.

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

References pwdgSkimBPark_cfi::electrons.

◆ duplicatesToRemove() [3/3]

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.

6  {
7  return duplicatesToRemove<std::vector<reco::GsfElectron> >(electrons);
8 }

References pwdgSkimBPark_cfi::electrons.

pat::GenericDuplicateRemover
Definition: GenericDuplicateRemover.h:11
pat::GenericDuplicateRemover::duplicates
std::unique_ptr< std::vector< size_t > > duplicates(const Collection &items) const
Definition: GenericDuplicateRemover.h:36
pwdgSkimBPark_cfi.electrons
electrons
Definition: pwdgSkimBPark_cfi.py:6