1 #ifndef PhysicsTools_PatUtils_DuplicatedElectronRemover_h
2 #define PhysicsTools_PatUtils_DuplicatedElectronRemover_h
24 template <
typename T1,
typename T2>
26 return ((
t1.superCluster() ==
t2.superCluster()) || (
t1.gsfTrack() ==
t2.gsfTrack()));
31 template <
typename T1,
typename T2>
33 float diff1 = fabs(
t1.eSuperClusterOverP() - 1);
34 float diff2 = fabs(
t2.eSuperClusterOverP() - 1);
35 return diff1 <= diff2;
48 template <
typename Collection>
56 template <
typename Collection>