Skip to content

Commit d4c920e

Browse files
committed
Fix tree creator.
1 parent f26f8b8 commit d4c920e

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

PWGHF/TableProducer/treeCreatorSigmacCorrBkg.cxx

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
/// \author Mattia Faggin <mfaggin@cern.ch>, INFN PADOVA
1818

1919
#include "PWGHF/Core/DecayChannels.h"
20-
#include "PWGHF/Core/DecayChannelsLegacy.h"
2120
#include "PWGHF/Core/HfHelper.h"
2221
#include "PWGHF/D2H/Utils/utilsSigmac.h"
2322
#include "PWGHF/DataModel/AliasTables.h"
@@ -148,10 +147,10 @@ struct HfTreeCreatorSigmacCorrBkg {
148147

149148
/// tag immediately the Σc0,++(2455) and Σc0,++(2520) signal
150149
auto flagMcDecayChanScAbs = std::abs(candidateSc.flagMcMatchRec());
151-
bool const isTrueSigmac0 = (flagMcDecayChanScAbs == BIT(aod::hf_cand_sigmac::DecayType::Sc0ToPKPiPi));
152-
bool const isTrueSigmacPlusPlus = (flagMcDecayChanScAbs == BIT(aod::hf_cand_sigmac::DecayType::ScplusplusToPKPiPi));
153-
bool const isTrueSigmacStar0 = (flagMcDecayChanScAbs == BIT(aod::hf_cand_sigmac::DecayType::ScStar0ToPKPiPi));
154-
bool const isTrueSigmacStarPlusPlus = (flagMcDecayChanScAbs == BIT(aod::hf_cand_sigmac::DecayType::ScStarPlusPlusToPKPiPi));
150+
bool const isTrueSigmac0 = (flagMcDecayChanScAbs == aod::hf_decay::hf_cand_sigmac::DecayChannelMain::Sc0ToPKPiPi);
151+
bool const isTrueSigmacPlusPlus = (flagMcDecayChanScAbs == aod::hf_decay::hf_cand_sigmac::DecayChannelMain::ScplusplusToPKPiPi);
152+
bool const isTrueSigmacStar0 = (flagMcDecayChanScAbs == aod::hf_decay::hf_cand_sigmac::DecayChannelMain::ScStar0ToPKPiPi);
153+
bool const isTrueSigmacStarPlusPlus = (flagMcDecayChanScAbs == aod::hf_decay::hf_cand_sigmac::DecayChannelMain::ScStarPlusPlusToPKPiPi);
155154
if (isTrueSigmac0) {
156155
/// fill the output for the signal
157156
fillTable(candidateSc, candLcDauSc, o2::constants::physics::Pdg::kSigmaC0);

0 commit comments

Comments
 (0)