File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed
Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -172,7 +172,7 @@ struct HfFemtoDreamProducerDplus {
172172
173173 using GeneratedMc = soa::Filtered<soa::Join<aod::McParticles, aod::HfCand3ProngMcGen>>;
174174
175- Filter filterSelectCandidateDplus = (aod::hf_sel_candidate_dplus::isSelDplusToPiKPi >= selectionFlagDplus || aod::hf_sel_candidate_dplus::isSelDplusToPiKPi >= selectionFlagDplus);
175+ Filter filterSelectCandidateDplus = (aod::hf_sel_candidate_dplus::isSelDplusToPiKPi >= selectionFlagDplus || aod::hf_sel_candidate_dplus::isSelDplusToPiKPi >= selectionFlagDplus);
176176
177177 HistogramRegistry qaRegistry{" QAHistos" , {}, OutputObjHandlingPolicy::AnalysisObject};
178178 HistogramRegistry trackRegistry{" Tracks" , {}, OutputObjHandlingPolicy::AnalysisObject};
@@ -560,7 +560,7 @@ struct HfFemtoDreamProducerDplus {
560560 // Filling particle properties
561561 rowCandCharmHadGen.reserve (particles.size ());
562562 for (const auto & particle : particles) {
563- if (std::abs (particle.flagMcMatchGen ()) == hf_decay::hf_cand_3prong::DecayChannelMain:: DplusToPiKPi) {
563+ if (std::abs (particle.flagMcMatchGen ()) == hf_decay::hf_cand_3prong::DecayChannelMain::DplusToPiKPi) {
564564 rowCandCharmHadGen (
565565 particle.mcCollisionId (),
566566 particle.flagMcMatchGen (),
Original file line number Diff line number Diff line change @@ -249,11 +249,12 @@ struct HfTaskCharmHadronsFemtoDream {
249249 registryMixQa.fill (HIST (" MixingQA/hSECollisionBins" ), colBinningMult.getBin ({col.posZ (), col.multNtr ()}));
250250 registryMixQa.fill (HIST (" MixingQA/hSECollisionPool" ), col.posZ (), col.multNtr ());
251251 }
252-
252+
253253 // / Compute the charm hadron candidates mass with the daughter masses
254- // / assumes the candidate is either a D+ or Λc+
255- template <typename Candidate>
256- float getCharmHadronMass (const Candidate& cand) {
254+ // / assumes the candidate is either a D+ or Λc+
255+ template <typename Candidate>
256+ float getCharmHadronMass (const Candidate& cand)
257+ {
257258 float invMass = 0 .0f ;
258259 if (charmHadPDGCode == 4122 ) {
259260 if (cand.candidateSelFlag () == 1 ) {
@@ -400,7 +401,7 @@ struct HfTaskCharmHadronsFemtoDream {
400401 if (kstar > highkstarCut) {
401402 continue ;
402403 }
403-
404+
404405 float invMass = getCharmHadronMass (p2);
405406
406407 if (invMass < charmHadMinInvMass || invMass > charmHadMaxInvMass) {
You can’t perform that action at this time.
0 commit comments