Skip to content

Commit bfa8c34

Browse files
committed
Fix typo and polish the Xicc tree creator
1 parent 0641a3d commit bfa8c34

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

PWGHF/TableProducer/HFTreeCreatorXiccToPKPiPi.cxx

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
/// In this file are defined and filled the output tables
1616
/// \note Extended from HFTreeCreatorD0ToKPi, HFTreeCreatorLcToPKPi, HFTreeCreatorXToJpsiPiPi
1717
///
18-
/// \author Jinjoo Seo <jin.joo.seo@cern.ch>, CERN
18+
/// \author Jinjoo Seo <jin.joo.seo@cern.ch>, Inha University
1919

2020
#include "Framework/runDataProcessing.h"
2121
#include "Framework/AnalysisTask.h"
@@ -28,8 +28,6 @@
2828
using namespace o2;
2929
using namespace o2::framework;
3030
using namespace o2::aod::hf_cand;
31-
using namespace o2::aod::hf_cand_prong2;
32-
using namespace o2::aod::hf_cand_prong3;
3331
using namespace o2::aod::hf_cand_xicc;
3432

3533
namespace o2::aod
@@ -198,7 +196,7 @@ struct HFTreeCreatorXiccToPKPiPi {
198196
// Filling particle properties
199197
rowCandidateFullParticles.reserve(particles.size());
200198
for (auto& particle : particles) {
201-
if (std::abs(particle.flagMCMatchGen()) == 1 << XiccToXicPi) {
199+
if (std::abs(particle.flagMCMatchGen()) == 1 << DecayType::XiccToXicPi) {
202200
rowCandidateFullParticles(
203201
particle.mcCollision().bcId(),
204202
particle.pt(),
@@ -214,6 +212,6 @@ struct HFTreeCreatorXiccToPKPiPi {
214212
WorkflowSpec defineDataProcessing(ConfigContext const& cfgc)
215213
{
216214
WorkflowSpec workflow;
217-
workflow.push_back(adaptAnalysisTask<HFTreeCreatorXiccToPKPiPi>(cfgc, TaskName{"hf-tree-creator-xicc-topkpipi"}));
215+
workflow.push_back(adaptAnalysisTask<HFTreeCreatorXiccToPKPiPi>(cfgc));
218216
return workflow;
219217
}

0 commit comments

Comments
 (0)