@@ -174,7 +174,7 @@ struct FemtoUniversePairTaskTrackD0 {
174174 Partition<FemtoFullParticles> partsTrack = (aod::femtouniverseparticle::partType == uint8_t (aod::femtouniverseparticle::ParticleType::kTrack )) && (aod::femtouniverseparticle::sign == int8_t (ConfTrack.confTrackSign)) && (aod::femtouniverseparticle::pt > ConfTrack.confTrackLowPtCut) && (aod::femtouniverseparticle::pt < ConfTrack.confTrackHighPtCut) && (nabs(aod::femtouniverseparticle::eta) < ConfTrack.confTrackEtaMax);
175175 Partition<FemtoFullSigmaParticles> partsTrackFullSigma = (aod::femtouniverseparticle::partType == uint8_t (aod::femtouniverseparticle::ParticleType::kTrack )) && (aod::femtouniverseparticle::sign == int8_t (ConfTrack.confTrackSign)) && (aod::femtouniverseparticle::pt > ConfTrack.confTrackLowPtCut) && (aod::femtouniverseparticle::pt < ConfTrack.confTrackHighPtCut) && (nabs(aod::femtouniverseparticle::eta) < ConfTrack.confTrackEtaMax);
176176 Partition<FemtoMcParticles> partsTrackMCReco = (aod::femtouniverseparticle::partType == uint8_t (aod::femtouniverseparticle::ParticleType::kTrack )) && (aod::femtouniverseparticle::sign == int8_t (ConfTrack.confTrackSign)) && (aod::femtouniverseparticle::pt > ConfTrack.confTrackLowPtCut) && (aod::femtouniverseparticle::pt < ConfTrack.confTrackHighPtCut) && (nabs(aod::femtouniverseparticle::eta) < ConfTrack.confTrackEtaMax);
177- Partition<FemtoMcParticles> partsTrackMCTruth = (aod::femtouniverseparticle::partType == static_cast <uint8_t >(aod::femtouniverseparticle::ParticleType::kMCTruthTrack )) && (aod::femtouniverseparticle::tempFitVar == static_cast <uint32_t >(ConfTrack.confPDGCodeTrack)) && (aod::femtouniverseparticle::pt > ConfTrack.confTrackLowPtCut) && (aod::femtouniverseparticle::pt < ConfTrack.confTrackHighPtCut) && (nabs(aod::femtouniverseparticle::eta) < ConfTrack.confTrackEtaMax);
177+ Partition<FemtoMcParticles> partsTrackMCTruth = (aod::femtouniverseparticle::partType == static_cast <uint8_t >(aod::femtouniverseparticle::ParticleType::kMCTruthTrack )) && (aod::femtouniverseparticle::tempFitVar == static_cast <float >(ConfTrack.confPDGCodeTrack)) && (aod::femtouniverseparticle::pt > ConfTrack.confTrackLowPtCut) && (aod::femtouniverseparticle::pt < ConfTrack.confTrackHighPtCut) && (nabs(aod::femtouniverseparticle::eta) < ConfTrack.confTrackEtaMax);
178178
179179 // / Partitions for particle 2
180180 // / Partition with all D0/D0bar mesons (which pass one and double mass hypothesis)
@@ -194,8 +194,8 @@ struct FemtoUniversePairTaskTrackD0 {
194194 Partition<FemtoMcParticles> partsPromptD0MCRecoSB = (aod::femtouniverseparticle::partType == uint8_t (aod::femtouniverseparticle::ParticleType::kD0 )) && ((aod::femtouniverseparticle::mLambda > ConfDmesons.minInvMassD0D0barLeftSB && aod::femtouniverseparticle::mLambda < ConfDmesons.maxInvMassD0D0barLeftSB) || (aod::femtouniverseparticle::mLambda > ConfDmesons.minInvMassD0D0barRightSB && aod::femtouniverseparticle::mLambda < ConfDmesons.maxInvMassD0D0barRightSB)) && (aod::femtouniverseparticle::pt > ConfDmesons.confMinPtD0D0bar) && (aod::femtouniverseparticle::pt < ConfDmesons.confMaxPtD0D0bar) && (aod::femtouniverseparticle::tpcNClsFound == ConfDmesons.confD0OriginFlag);
195195 Partition<FemtoMcParticles> partsPromptD0barMCRecoSB = (aod::femtouniverseparticle::partType == uint8_t (aod::femtouniverseparticle::ParticleType::kD0 )) && ((aod::femtouniverseparticle::mAntiLambda > ConfDmesons.minInvMassD0D0barLeftSB && aod::femtouniverseparticle::mAntiLambda < ConfDmesons.maxInvMassD0D0barLeftSB) || (aod::femtouniverseparticle::mAntiLambda > ConfDmesons.minInvMassD0D0barRightSB && aod::femtouniverseparticle::mAntiLambda < ConfDmesons.maxInvMassD0D0barRightSB)) && (aod::femtouniverseparticle::pt > ConfDmesons.confMinPtD0D0bar) && (aod::femtouniverseparticle::pt < ConfDmesons.confMaxPtD0D0bar) && (aod::femtouniverseparticle::tpcNClsFound == ConfDmesons.confD0OriginFlag);
196196 // MC Truth D0/D0bar candidates
197- Partition<FemtoMcParticles> partsD0MCTruth = (aod::femtouniverseparticle::partType == static_cast <uint8_t >(aod::femtouniverseparticle::ParticleType::kMCTruthTrack )) && (aod::femtouniverseparticle::tempFitVar == static_cast <uint32_t >(ConfDmesons.confPDGCodeD0)) && (aod::femtouniverseparticle::pt > ConfDmesons.confMinPtD0D0bar) && (aod::femtouniverseparticle::pt < ConfDmesons.confMaxPtD0D0bar);
198- Partition<FemtoMcParticles> partsD0barMCTruth = (aod::femtouniverseparticle::partType == static_cast <uint8_t >(aod::femtouniverseparticle::ParticleType::kMCTruthTrack )) && (aod::femtouniverseparticle::tempFitVar == static_cast <uint32_t >(ConfDmesons.confPDGCodeD0bar)) && (aod::femtouniverseparticle::pt > ConfDmesons.confMinPtD0D0bar) && (aod::femtouniverseparticle::pt < ConfDmesons.confMaxPtD0D0bar);
197+ Partition<FemtoMcParticles> partsD0MCTruth = (aod::femtouniverseparticle::partType == static_cast <uint8_t >(aod::femtouniverseparticle::ParticleType::kMCTruthTrack )) && (aod::femtouniverseparticle::tempFitVar == static_cast <float >(ConfDmesons.confPDGCodeD0)) && (aod::femtouniverseparticle::pt > ConfDmesons.confMinPtD0D0bar) && (aod::femtouniverseparticle::pt < ConfDmesons.confMaxPtD0D0bar);
198+ Partition<FemtoMcParticles> partsD0barMCTruth = (aod::femtouniverseparticle::partType == static_cast <uint8_t >(aod::femtouniverseparticle::ParticleType::kMCTruthTrack )) && (aod::femtouniverseparticle::tempFitVar == static_cast <float >(ConfDmesons.confPDGCodeD0bar)) && (aod::femtouniverseparticle::pt > ConfDmesons.confMinPtD0D0bar) && (aod::femtouniverseparticle::pt < ConfDmesons.confMaxPtD0D0bar);
199199 // / Partition for D0/D0bar daughters
200200 Partition<FemtoFullParticles> partsDmesonsChildren = aod::femtouniverseparticle::partType == uint8_t (aod::femtouniverseparticle::ParticleType::kD0Child );
201201
@@ -427,7 +427,7 @@ struct FemtoUniversePairTaskTrackD0 {
427427 qaRegistry.add (" TrackQA/hTPCfound" , " ; TPC found clusters; Entries" , kTH1F , {{163 , -0.5 , 162.5 }});
428428 qaRegistry.add (" TrackQA/hTPCcrossedOverFindable" , " ; TPC ratio findable; Entries" , kTH1F , {{150 , 0 ., 1.5 }});
429429 qaRegistry.add (" TrackQA/hTPCcrossedRows" , " ; TPC crossed rows; Entries" , kTH1F , {{163 , -0.5 , 162.5 }});
430- qaRegistry.add (" TrackQA/hTPCfindableVsCrossed" , " ;TPC findable clusters ; TPC crossed rows;" , kTH1F , {{163 , -0.5 , 162.5 }, {163 , -0.5 , 162.5 }});
430+ qaRegistry.add (" TrackQA/hTPCfindableVsCrossed" , " ;TPC findable clusters ; TPC crossed rows;" , kTH2F , {{163 , -0.5 , 162.5 }, {163 , -0.5 , 162.5 }});
431431 qaRegistry.add (" TrackQA/hTPCshared" , " ; TPC shared clusters; Entries" , kTH1F , {{163 , -0.5 , 162.5 }});
432432 qaRegistry.add (" TrackQA/hTPCfractionSharedCls" , " ; TPC fraction of shared clusters; Entries" , kTH1F , {{100 , 0.0 , 1.0 }});
433433 qaRegistry.add (" TrackQA/hITSclusters" , " ; ITS clusters; Entries" , kTH1F , {{10 , -0.5 , 9.5 }});
0 commit comments