Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions PWGEM/Dilepton/Core/Dilepton.h
Original file line number Diff line number Diff line change
Expand Up @@ -817,11 +817,11 @@ struct Dilepton {
}

if constexpr (pairtype == o2::aod::pwgem::dilepton::utils::pairutil::DileptonPairType::kDielectron) {
if (!cut.template IsSelectedPair(t1, t2, d_bz)) {
if (!cut.IsSelectedPair(t1, t2, d_bz)) {
return false;
}
} else if constexpr (pairtype == o2::aod::pwgem::dilepton::utils::pairutil::DileptonPairType::kDimuon) {
if (!cut.template IsSelectedPair(t1, t2)) {
if (!cut.IsSelectedPair(t1, t2)) {
return false;
}
}
Expand Down Expand Up @@ -1329,17 +1329,17 @@ struct Dilepton {
}
}
} else if constexpr (pairtype == o2::aod::pwgem::dilepton::utils::pairutil::DileptonPairType::kDimuon) {
if (!cut.template IsSelectedTrack(t1) || !cut.template IsSelectedTrack(t2)) {
if (!cut.IsSelectedTrack(t1) || !cut.IsSelectedTrack(t2)) {
return false;
}
}

if constexpr (pairtype == o2::aod::pwgem::dilepton::utils::pairutil::DileptonPairType::kDielectron) {
if (!cut.template IsSelectedPair(t1, t2, d_bz)) {
if (!cut.IsSelectedPair(t1, t2, d_bz)) {
return false;
}
} else if constexpr (pairtype == o2::aod::pwgem::dilepton::utils::pairutil::DileptonPairType::kDimuon) {
if (!cut.template IsSelectedPair(t1, t2)) {
if (!cut.IsSelectedPair(t1, t2)) {
return false;
}
}
Expand Down
4 changes: 2 additions & 2 deletions PWGEM/Dilepton/Core/DileptonMC.h
Original file line number Diff line number Diff line change
Expand Up @@ -782,14 +782,14 @@ struct DileptonMC {
return false;
}
}
if (!cut.template IsSelectedPair(t1, t2, d_bz)) {
if (!cut.IsSelectedPair(t1, t2, d_bz)) {
return false;
}
} else if constexpr (pairtype == o2::aod::pwgem::dilepton::utils::pairutil::DileptonPairType::kDimuon) {
if (!cut.template IsSelectedTrack<false>(t1) || !cut.template IsSelectedTrack<false>(t2)) {
return false;
}
if (!cut.template IsSelectedPair(t1, t2)) {
if (!cut.IsSelectedPair(t1, t2)) {
return false;
}
}
Expand Down
2 changes: 1 addition & 1 deletion PWGEM/PhotonMeson/Core/Pi0EtaToGammaGammaMC.h
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ struct Pi0EtaToGammaGammaMC {
continue;
}

if (!cut2.template IsSelectedPair(pos2, ele2, d_bz)) {
if (!cut2.IsSelectedPair(pos2, ele2, d_bz)) {
continue;
}

Expand Down
2 changes: 1 addition & 1 deletion PWGEM/PhotonMeson/Core/TaggingPi0MC.h
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ struct TaggingPi0MC {
continue;
}

if (!cut2.template IsSelectedPair(pos2, ele2, d_bz)) {
if (!cut2.IsSelectedPair(pos2, ele2, d_bz)) {
continue;
}

Expand Down