@@ -166,6 +166,7 @@ struct FemtoUniversePairTaskTrackTrackSpherHarMultKtExtended {
166166
167167 ConfigurableAxis confDeltaEtaAxis{" confDeltaEtaAxis" , {100 , -0.15 , 0.15 }, " DeltaEta" };
168168 ConfigurableAxis confDeltaPhiStarAxis{" confDeltaPhiStarAxis" , {100 , -0.15 , 0.15 }, " DeltaPhiStar" };
169+ Configurable<bool > confIsDebug{" confIsDebug" , true , " Fill additional histograms" };
169170 } twotracksconfigs;
170171
171172 using FemtoFullParticles = soa::Join<aod::FDParticles, aod::FDExtParticles>;
@@ -489,9 +490,14 @@ struct FemtoUniversePairTaskTrackTrackSpherHarMultKtExtended {
489490
490491 trackHistoPartTwo.init (&qaRegistry, confTempFitVarpTBins, confTempFitVarBins, twotracksconfigs.confIsMC , tracktwofilter.confPDGCodePartTwo , true );
491492
492- mixQaRegistry.add (" MixingQA/hSECollisionBins" , " ;bin;Entries" , kTH1F , {{120 , - 0.5 , 119.5 }});
493+ mixQaRegistry.add (" MixingQA/hSECollisionBins" , " ;bin;Entries" , kTH1F , {{120 , 0 , 119.5 }});
493494 mixQaRegistry.add (" MixingQA/hMECollisionBins" , " ;bin;Entries" , kTH1F , {{120 , -0.5 , 119.5 }});
494495
496+ if (twotracksconfigs.confIsDebug ) {
497+ qaRegistry.add (" Tracks_one/hPtpcVsP" , " ;p GeV/c; (p_{TPC}-p)/p" , kTH2F , {{800 , 0 , 4 }, {400 , -1 , 1 }});
498+ qaRegistry.add (" Tracks_two/hPtpcVsP" , " ;p GeV/c; (p_{TPC}-p)/p" , kTH2F , {{800 , 0 , 4 }, {400 , -1 , 1 }});
499+ }
500+
495501 mass1 = pdg->Mass (trackonefilter.confPDGCodePartOne );
496502 mass2 = pdg->Mass (tracktwofilter.confPDGCodePartTwo );
497503
@@ -582,6 +588,9 @@ struct FemtoUniversePairTaskTrackTrackSpherHarMultKtExtended {
582588 }
583589 trackHistoPartOne.fillQA <isMC, true >(part);
584590 trackHistoPartOne.fillQAMisIden <isMC, true >(part, trackonefilter.confPDGCodePartOne );
591+ if (twotracksconfigs.confIsDebug ) {
592+ qaRegistry.fill (HIST (" Tracks_one/hPtpcVsP" ), part.p (), (part.tpcInnerParam () - part.p ()) / part.p ());
593+ }
585594 }
586595 }
587596
@@ -591,6 +600,9 @@ struct FemtoUniversePairTaskTrackTrackSpherHarMultKtExtended {
591600 continue ;
592601 }
593602 trackHistoPartTwo.fillQA <isMC, true >(part);
603+ if (twotracksconfigs.confIsDebug ) {
604+ qaRegistry.fill (HIST (" Tracks_two/hPtpcVsP" ), part.p (), (part.tpcInnerParam () - part.p ()) / part.p ());
605+ }
594606 }
595607 }
596608
0 commit comments