Skip to content

Commit

Permalink
updated with one argument in a given line
Browse files Browse the repository at this point in the history
  • Loading branch information
Prottay Das committed Nov 12, 2024
1 parent 2c36667 commit 50c0e9c
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions PWGHF/D2H/Tasks/taskDirectedFlowCharmHadrons.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,8 @@ struct HfTaskDirectedFlowCharmHadrons {
/// \param candidates are the selected candidates
template <DecayChannel channel, typename T1, typename Trk>
void runFlowAnalysis(CollsWithQvecs::iterator const& collision,
T1 const& candidates, Trk const& /*tracks*/)
T1 const& candidates,
Trk const& /*tracks*/)
{
double cent = getCentrality(collision);
if (cent < centralityMin || cent > centralityMax) {
Expand Down Expand Up @@ -205,15 +206,17 @@ struct HfTaskDirectedFlowCharmHadrons {
}
// Dplus with ML
void processDplusMl(CollsWithQvecs::iterator const& collision,
CandDplusDataWMl const& candidatesDplus, TracksWithExtra const& tracks)
CandDplusDataWMl const& candidatesDplus,
TracksWithExtra const& tracks)
{
runFlowAnalysis<DecayChannel::DplusToPiKPi>(collision, candidatesDplus, tracks);
}
PROCESS_SWITCH(HfTaskDirectedFlowCharmHadrons, processDplusMl, "Process Dplus candidates with ML", false);

// Dplus with rectangular cuts
void processDplusStd(CollsWithQvecs::iterator const& collision,
CandDplusData const& candidatesDplus, TracksWithExtra const& tracks)
CandDplusData const& candidatesDplus,
TracksWithExtra const& tracks)
{
runFlowAnalysis<DecayChannel::DplusToPiKPi>(collision, candidatesDplus, tracks);
}
Expand Down

0 comments on commit 50c0e9c

Please sign in to comment.