Skip to content

Commit

Permalink
Tutorials/PWGHF: Fix compilation warnings: unused-parameter (#5675)
Browse files Browse the repository at this point in the history
* Tutorials/PWGHF: Fix compilation warnings: unused-parameter

* Please consider the following formatting changes (#65)

---------

Co-authored-by: ALICE Builder <alibuild@users.noreply.github.com>
  • Loading branch information
vkucera and alibuild committed Apr 17, 2024
1 parent 205c99d commit e8668ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tutorials/PWGHF/taskMini.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ struct HfCandidateSelectorD0 {
/// \note trackPion = positive and trackKaon = negative for D0 selection and inverse for D0bar
/// \return true if candidate passes all cuts for the given conjugate
template <typename T1, typename T2>
bool selectionTopolConjugate(const T1& candidate, const T2& trackPion, const T2& trackKaon)
bool selectionTopolConjugate(const T1& candidate, const T2& trackPion, const T2& /*trackKaon*/)
{
// invariant-mass cut
if (trackPion.sign() > 0) {
Expand Down Expand Up @@ -295,7 +295,7 @@ struct HfTaskD0 {
registry.add("hCpaVsPtCand", strTitle + ";" + "cosine of pointing angle" + ";" + strPt + ";" + strEntries, {HistType::kTH2F, {{110, -1.1, 1.1}, {100, 0., 10.}}});
}

void process(soa::Join<aod::HfCandProng2, aod::HfSelCandidateD0> const& candidates)
void process(soa::Join<aod::HfCandProng2, aod::HfSelCandidateD0> const& /*candidates*/)
{
for (const auto& candidate : selectedD0Candidates) {
if (candidate.isSelD0() >= selectionFlagD0) {
Expand Down

0 comments on commit e8668ce

Please sign in to comment.