CMS 3D CMS Logo

Public Member Functions

pat::DuplicatedElectronRemover::SameSuperclusterOrTrack Struct Reference

#include <DuplicatedElectronRemover.h>

List of all members.

Public Member Functions

template<typename T1 , typename T2 >
bool operator() (const T1 &t1, const T2 &t2) const

Detailed Description

Definition at line 24 of file DuplicatedElectronRemover.h.


Member Function Documentation

template<typename T1 , typename T2 >
bool pat::DuplicatedElectronRemover::SameSuperclusterOrTrack::operator() ( const T1 &  t1,
const T2 &  t2 
) const [inline]

Definition at line 26 of file DuplicatedElectronRemover.h.

                                                                  { 
                    return ((t1.superCluster() == t2.superCluster()) ||
                            (t1.gsfTrack()     == t2.gsfTrack())); 
                }