CMS 3D CMS Logo

List of all members | Public Member Functions
pat::DuplicatedPhotonRemover::EqualBySuperClusterSeed Struct Reference

#include <DuplicatedPhotonRemover.h>

Public Member Functions

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

Detailed Description

Definition at line 21 of file DuplicatedPhotonRemover.h.

Member Function Documentation

◆ operator()()

template<typename T1 , typename T2 >
bool pat::DuplicatedPhotonRemover::EqualBySuperClusterSeed::operator() ( const T1 &  t1,
const T2 &  t2 
) const
inline

Definition at line 23 of file DuplicatedPhotonRemover.h.

References RandomServiceHelper::t1, and RandomServiceHelper::t2.

23  {
24  return (t1.superCluster()->seed() == t2.superCluster()->seed());
25  }