Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tutorials/PWGHF: Fix compilation warnings: unused-parameter #5675

Merged
merged 2 commits into from
Apr 17, 2024
Merged
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
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
Loading