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
12 changes: 2 additions & 10 deletions ALICE3/Utils/utilsHfAlice3.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
// granted to it by virtue of its status as an Intergovernmental Organization
// or submit itself to any jurisdiction.

/// \file HfHelperAlice3.h
/// \file utilsHfAlice3.h
/// \brief Class with helper functions for HF analyses
///
/// \author Marcello Di Costanzo <marcello.di.costanzo@cern.ch>, Polytechnic University of Turin and INFN Turin
Expand All @@ -26,15 +26,7 @@ enum CharmHadAlice3 { Lc = 1 };

} // namespace o2::analysis

class HfHelperAlice3
{
public:
/// Default constructor
HfHelperAlice3() = default;

/// Default destructor
~HfHelperAlice3() = default;

struct HfHelperAlice3 {
/// Get candidate mass (ALICE3 HF data model)
/// \tparam TCand candidate type
/// \param cand candidate
Expand Down
12 changes: 2 additions & 10 deletions PWGHF/Core/HfHelper.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,7 @@ concept IsB0ToDstarPiChannel = requires(T candidate) {
candidate.prongD0Id();
};

class HfHelper
{
public:
/// Default constructor
HfHelper() = default;

/// Default destructor
~HfHelper() = default;

struct HfHelper {
// 2-prong

// D0(bar) → π± K∓
Expand Down Expand Up @@ -526,7 +518,7 @@ class HfHelper
double etaJpsi = RecoDecay::eta(std::array{candidate.pxProng0(), candidate.pyProng0(), candidate.pzProng0()});
double phiJpsi = RecoDecay::phi(candidate.pxProng0(), candidate.pyProng0());

double etaPi, phiPi;
double etaPi{}, phiPi{};

if (numPi <= 1) {
etaPi = RecoDecay::eta(std::array{candidate.pxProng1(), candidate.pyProng1(), candidate.pzProng1()});
Expand Down
Loading