@@ -148,7 +148,7 @@ struct TreeCreatorXic0ToXiPiKf {
148148 using MyEventTableWithNTracksPV = soa::Join<aod::Collisions, aod::EvSels, aod::CentNTPVs>;
149149 using MyMcCandidates = soa::Filtered<soa::Join<aod::HfCandToXiPiKf, aod::HfSelToXiPiKf, aod::HfXicToXiPiMCRec>>;
150150
151- Filter mcFilter = aod::hf_cand_mc_flag::originMcRec == 1 ;
151+ Filter mcFilter = aod::hf_cand_mc_flag::originMcRec == RecoDecay::OriginType::NonPrompt || aod::hf_cand_mc_flag::originMcRec == RecoDecay::OriginType::Prompt ;
152152
153153 HistogramRegistry registry{" registry" }; // for QA of selections
154154
@@ -247,7 +247,7 @@ struct TreeCreatorXic0ToXiPiKf {
247247 fillKfCandidate<false , MyEventTable>(candidate, -7 , -7 , RecoDecay::OriginType::None, false );
248248 }
249249 }
250- PROCESS_SWITCH (HfTreeCreatorXic0ToXiPiKf , processKfData, " Process KF data" , false );
250+ PROCESS_SWITCH (TreeCreatorXic0ToXiPiKf , processKfData, " Process KF data" , false );
251251
252252 void processKfDataWithFT0C (MyTrackTable const &, MyEventTableWithFT0C const &,
253253 soa::Join<aod::HfCandToXiPiKf, aod::HfSelToXiPiKf> const & candidates)
@@ -257,7 +257,7 @@ struct TreeCreatorXic0ToXiPiKf {
257257 fillKfCandidate<true , MyEventTableWithFT0C>(candidate, -7 , -7 , RecoDecay::OriginType::None, false );
258258 }
259259 }
260- PROCESS_SWITCH (HfTreeCreatorXic0ToXiPiKf , processKfDataWithFT0C, " Process KF data with FT0C" , false );
260+ PROCESS_SWITCH (TreeCreatorXic0ToXiPiKf , processKfDataWithFT0C, " Process KF data with FT0C" , false );
261261
262262 void processKfDataWithFT0M (MyTrackTable const &, MyEventTableWithFT0M const &,
263263 soa::Join<aod::HfCandToXiPiKf, aod::HfSelToXiPiKf> const & candidates)
@@ -267,7 +267,7 @@ struct TreeCreatorXic0ToXiPiKf {
267267 fillKfCandidate<true , MyEventTableWithFT0M>(candidate, -7 , -7 , RecoDecay::OriginType::None, false );
268268 }
269269 }
270- PROCESS_SWITCH (HfTreeCreatorXic0ToXiPiKf , processKfDataWithFT0M, " Process KF data with FT0M" , false );
270+ PROCESS_SWITCH (TreeCreatorXic0ToXiPiKf , processKfDataWithFT0M, " Process KF data with FT0M" , false );
271271
272272 void processDataLiteWithNTracksPV (MyTrackTable const &,
273273 soa::Join<aod::HfCandToXiPiKf, aod::HfSelToXiPiKf> const & candidates)
@@ -277,7 +277,7 @@ struct TreeCreatorXic0ToXiPiKf {
277277 fillKfCandidate<true , MyEventTableWithNTracksPV>(candidate, -7 , -7 , RecoDecay::OriginType::None, false );
278278 }
279279 }
280- PROCESS_SWITCH (HfTreeCreatorXic0ToXiPiKf , processDataLiteWithNTracksPV, " Process KF data with Ntracks" , false );
280+ PROCESS_SWITCH (TreeCreatorXic0ToXiPiKf , processDataLiteWithNTracksPV, " Process KF data with Ntracks" , false );
281281
282282 void processKfMcXic0 (MyTrackTable const &,
283283 MyMcCandidates const & candidates)
@@ -287,7 +287,7 @@ struct TreeCreatorXic0ToXiPiKf {
287287 fillKfCandidate<false , MyEventTable>(candidate, candidate.flagMcMatchRec (), candidate.debugMcRec (), candidate.originMcRec (), candidate.collisionMatched ());
288288 }
289289 }
290- PROCESS_SWITCH (HfTreeCreatorXic0ToXiPiKf , processKfMcXic0, " Process MC with information for xic0" , false );
290+ PROCESS_SWITCH (TreeCreatorXic0ToXiPiKf , processKfMcXic0, " Process MC with information for xic0" , false );
291291
292292 void processKfMCWithFT0C (MyTrackTable const &,
293293 MyMcCandidates const & candidates)
@@ -297,7 +297,7 @@ struct TreeCreatorXic0ToXiPiKf {
297297 fillKfCandidate<true , MyEventTableWithFT0C>(candidate, candidate.flagMcMatchRec (), candidate.debugMcRec (), candidate.originMcRec (), candidate.collisionMatched ());
298298 }
299299 }
300- PROCESS_SWITCH (HfTreeCreatorXic0ToXiPiKf , processKfMCWithFT0C, " Process MC with information for xic0 at FT0C" , false );
300+ PROCESS_SWITCH (TreeCreatorXic0ToXiPiKf , processKfMCWithFT0C, " Process MC with information for xic0 at FT0C" , false );
301301
302302 void processKfMCWithFT0M (MyTrackTable const &,
303303 MyMcCandidates const & candidates)
@@ -307,7 +307,7 @@ struct TreeCreatorXic0ToXiPiKf {
307307 fillKfCandidate<true , MyEventTableWithFT0M>(candidate, candidate.flagMcMatchRec (), candidate.debugMcRec (), candidate.originMcRec (), candidate.collisionMatched ());
308308 }
309309 }
310- PROCESS_SWITCH (HfTreeCreatorXic0ToXiPiKf , processKfMCWithFT0M, " Process MC with information for xic0 at FT0M" , false );
310+ PROCESS_SWITCH (TreeCreatorXic0ToXiPiKf , processKfMCWithFT0M, " Process MC with information for xic0 at FT0M" , false );
311311
312312 void processMCLiteWithNTracksPV (MyTrackTable const &,
313313 MyMcCandidates const & candidates)
@@ -317,11 +317,11 @@ struct TreeCreatorXic0ToXiPiKf {
317317 fillKfCandidate<true , MyEventTableWithNTracksPV>(candidate, candidate.flagMcMatchRec (), candidate.debugMcRec (), candidate.originMcRec (), candidate.collisionMatched ());
318318 }
319319 }
320- PROCESS_SWITCH (HfTreeCreatorXic0ToXiPiKf , processMCLiteWithNTracksPV, " Process MC with information for xic0 at Ntrack" , false );
320+ PROCESS_SWITCH (TreeCreatorXic0ToXiPiKf , processMCLiteWithNTracksPV, " Process MC with information for xic0 at Ntrack" , false );
321321}; // end of struct
322322
323323WorkflowSpec defineDataProcessing (ConfigContext const & cfgc)
324324{
325325 return WorkflowSpec{
326- adaptAnalysisTask<HfTreeCreatorXic0ToXiPiKf >(cfgc)};
326+ adaptAnalysisTask<TreeCreatorXic0ToXiPiKf >(cfgc)};
327327}
0 commit comments