1 #ifndef NanoAOD_MatchingUtils_h
2 #define NanoAOD_MatchingUtils_h
8 template <
class C1,
class C2>
10 for (
unsigned int i1 = 0;
i1 <
c1.numberOfSourceCandidatePtrs();
i1++) {
11 auto c1s =
c1.sourceCandidatePtr(
i1);
12 for (
unsigned int i2 = 0;
i2 < c2.numberOfSourceCandidatePtrs();
i2++) {
13 if (c2.sourceCandidatePtr(
i2) == c1s)
20 template <
class C1,
class C2>
22 auto c1s =
c1.parentSuperCluster();
23 auto c2s = c2.parentSuperCluster();