@@ -1715,8 +1715,8 @@ struct HfCandidateCreatorXic0Omegac0QaMc {
17151715
17161716 // Add histograms for QA
17171717 if (configs.fillMcHistograms ) {
1718- registry.add (" hGenCharmBaryonPtRapidityTight" , " Generated charm baryon #it{p}_{T};#if {p}_{T} (GeV/#it{c});entries" , {HistType::kTH1D , {{20 , 0.0 , 20.0 }}});
1719- registry.add (" hGenCharmBaryonPtRapidityLoose" , " Generated charm baryon #it{p}_{T};#if {p}_{T} (GeV/#it{c});entries" , {HistType::kTH1D , {{20 , 0.0 , 20.0 }}});
1718+ registry.add (" hGenCharmBaryonPtRapidityTight" , " Generated charm baryon #it{p}_{T};#it {p}_{T} (GeV/#it{c});entries" , {HistType::kTH1D , {{20 , 0.0 , 20.0 }}});
1719+ registry.add (" hGenCharmBaryonPtRapidityLoose" , " Generated charm baryon #it{p}_{T};#it {p}_{T} (GeV/#it{c});entries" , {HistType::kTH1D , {{20 , 0.0 , 20.0 }}});
17201720 }
17211721 }
17221722
@@ -1853,7 +1853,7 @@ struct HfCandidateCreatorXic0Omegac0QaMc {
18531853 }
18541854 }
18551855
1856- // Check if Xic0 is from b-hadron decay(prompt vs non-prompt)
1856+ // Check if charm baryon is from b-hadron decay(prompt vs non-prompt)
18571857 if (flag != 0 ) {
18581858 auto particle = mcParticles.rawIteratorAt (indexRecCharmBaryon);
18591859 origin = RecoDecay::getCharmHadronOrigin (mcParticles, particle, false , &idxBhadMothers);
@@ -1878,7 +1878,7 @@ struct HfCandidateCreatorXic0Omegac0QaMc {
18781878 const auto & mcParticlesPerMcColl = mcParticles.sliceBy (mcParticlesPerMcCollision, mcCollision.globalIndex ());
18791879
18801880 float centrality{-1 .f };
1881- uint16_t rejectionMask{0 };
1881+ o2::hf_evsel::HfCollisionRejectionMask rejectionMask{};
18821882 int nSplitColl{0 };
18831883
18841884 if constexpr (centEstimator == o2::hf_centrality::CentralityEstimator::None) {
@@ -1909,14 +1909,14 @@ struct HfCandidateCreatorXic0Omegac0QaMc {
19091909 ptCharmBaryonGen = -999 .;
19101910 yCharmBaryonGen = -999 .;
19111911 flag = 0 ;
1912- sign = 0 ;
1912+ sign = - 9 ;
19131913 debugGenCharmBaryon = 0 ;
19141914 debugGenCasc = 0 ;
19151915 debugGenV0 = 0 ;
19161916 origin = RecoDecay::OriginType::None;
19171917 std::vector<int > idxBhadMothers{};
1918- float kYCutTight = 0.5 ;
1919- float kYCutLoose = 0.8 ;
1918+ const float kYCutTight = 0.5 ;
1919+ const float kYCutLoose = 0.8 ;
19201920
19211921 // Reject particles from background events
19221922 if (particle.fromBackgroundEvent () && configs.rejectBackground ) {
@@ -1929,7 +1929,6 @@ struct HfCandidateCreatorXic0Omegac0QaMc {
19291929 debugGenCharmBaryon = 1 ;
19301930 ptCharmBaryonGen = particle.pt ();
19311931 yCharmBaryonGen = particle.y ();
1932- debug = 1 ; // -> Matched Xic0
19331932
19341933 for (auto const & daughterCharm : particle.template daughters_as <aod::McParticles>()) {
19351934 if (std::abs (daughterCharm.pdgCode ()) != pdgOfCascade[decayChannel]) {
0 commit comments