Skip to content

Commit 62f3187

Browse files
authored
Update DileptonHadron.h
1 parent 4efed45 commit 62f3187

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

PWGEM/Dilepton/Core/DileptonHadron.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1046,8 +1046,8 @@ struct DileptonHadron {
10461046
return true;
10471047
}
10481048

1049-
template <int ev_id, typename TCollision, typename TRefTrack>
1050-
bool fillHadronHadron(TCollision const& collision, TRefTrack const& t1, TRefTrack const& t2)
1049+
template <int ev_id, typename TRefTrack>
1050+
bool fillHadronHadron(TRefTrack const& t1, TRefTrack const& t2)
10511051
{
10521052
if constexpr (ev_id == 0) {
10531053
if (!fEMTrackCut.IsSelected(t1) || !fEMTrackCut.IsSelected(t2)) { // for charged track
@@ -1255,7 +1255,7 @@ struct DileptonHadron {
12551255
nlspp++;
12561256
}
12571257
for (const auto& reftrack : refTracks_per_coll) {
1258-
bool is_pair_ok = fillDileptonHadron<0>(collision, pos1, pos2, cut, tracks, reftrack);
1258+
fillDileptonHadron<0>(collision, pos1, pos2, cut, tracks, reftrack);
12591259
}
12601260
}
12611261
for (const auto& [neg1, neg2] : combinations(CombinationsStrictlyUpperIndexPolicy(negTracks_per_coll, negTracks_per_coll))) { // LS--
@@ -1264,12 +1264,12 @@ struct DileptonHadron {
12641264
nlsmm++;
12651265
}
12661266
for (const auto& reftrack : refTracks_per_coll) {
1267-
bool is_pair_ok = fillDileptonHadron<0>(collision, neg1, neg2, cut, tracks, reftrack);
1267+
fillDileptonHadron<0>(collision, neg1, neg2, cut, tracks, reftrack);
12681268
}
12691269
}
12701270

12711271
for (const auto& [trg, ref] : combinations(CombinationsStrictlyUpperIndexPolicy(refTracks_per_coll, refTracks_per_coll))) {
1272-
bool is_pair_ok = fillHadronHadron<0>(collision, trg, ref);
1272+
fillHadronHadron<0>(trg, ref);
12731273
}
12741274

12751275
if (!cfgDoMix || !(nuls > 0 || nlspp > 0 || nlsmm > 0)) {

0 commit comments

Comments
 (0)