@@ -74,6 +74,8 @@ struct FemtoUniversePairTaskTrackV0Extended {
7474
7575 Configurable<float > confmom{" confmom" , 0.5 , " momentum threshold for particle identification using TOF" };
7676 Configurable<float > confNsigmaTPCParticle{" confNsigmaTPCParticle" , 3.0 , " TPC Sigma for particle momentum < confmom" };
77+ Configurable<float > confNsigmaTPCDaughter{" confNsigmaTPCDaughter" , 3.0 , " TPC Sigma for daughter" };
78+
7779 Configurable<float > confNsigmaTOFParticle{" confNsigmaTOFParticle" , 3.0 , " TOF Sigma for particle (daugh & bach) momentum > Confmom" };
7880 Configurable<float > confNsigmaCombinedParticle{" confNsigmaCombinedParticle" , 3.0 , " TPC and TOF Sigma (combined) for particle momentum > confmom" };
7981
@@ -145,6 +147,7 @@ struct FemtoUniversePairTaskTrackV0Extended {
145147 // / Correlation part
146148 // Configurable<int> confTrackChoicePartTwo{"confTrackChoicePartTwo", 1, "0:Proton, 1:Pion, 2:Kaon"}; //not used
147149 Configurable<bool > confIsMC{" confIsMC" , false , " Enable additional Histograms in the case of a MonteCarlo Run" };
150+ Configurable<bool > confIsDebug{" confIsDebug" , false , " Enable additional histograms (e.g. three-momentum)" };
148151 Configurable<bool > confUse3D{" confUse3D" , false , " Enable three dimensional histogramms (to be used only for analysis with high statistics): k* vs mT vs multiplicity" };
149152 Configurable<bool > confUseCent{" confUseCent" , false , " Use centrality in place of multiplicity" };
150153 ConfigurableAxis confMultBins{" confMultBins" , {VARIABLE_WIDTH, 0 .0f , 20 .0f , 40 .0f , 60 .0f , 80 .0f , 100 .0f , 200 .0f , 99999 .f }, " Mixing bins - multiplicity" };
@@ -212,7 +215,7 @@ struct FemtoUniversePairTaskTrackV0Extended {
212215
213216 bool isNSigmaTPC (float nsigmaTPCParticle)
214217 {
215- if (std::abs (nsigmaTPCParticle) < confNsigmaTPCParticle ) {
218+ if (std::abs (nsigmaTPCParticle) < confNsigmaTPCDaughter ) {
216219 return true ;
217220 } else {
218221 return false ;
@@ -278,6 +281,17 @@ struct FemtoUniversePairTaskTrackV0Extended {
278281 qaRegistry.add (" V0Type1/hInvMassAntiLambdaVsCent" , " ; Centrality; M_{#Lambda}; Entries" , kTH2F , {confMultBins, {2000 , 1 .f , 3 .f }});
279282 qaRegistry.add (" V0Type2/hInvMassAntiLambdaVsCent" , " ; Centrality; M_{#Lambda}; Entries" , kTH2F , {confMultBins, {2000 , 1 .f , 3 .f }});
280283
284+ if (confIsDebug) {
285+ qaRegistry.add (" SameEvent/hPtPosDaugh" , " ; #it{p}_{T}^{1} (GeV/c); #it{p}_{T}^{2} (GeV/c)" , kTH2F , {{500 , 0 , 5 }, {500 , 0 , 5 }});
286+ qaRegistry.add (" SameEvent/hPtNegDaugh" , " ; #it{p}_{T}^{1} (GeV/c); #it{p}_{T}^{2} (GeV/c)" , kTH2F , {{500 , 0 , 5 }, {500 , 0 , 5 }});
287+ qaRegistry.add (" SameEvent/hDaughMomPart1" , " ; #it{p}_{T}^{+} (GeV/c); #it{p}_{T}^{-} (GeV/c)" , kTH2F , {{500 , 0 , 5 }, {500 , 0 , 5 }});
288+ qaRegistry.add (" SameEvent/hDaughMomPart2" , " ; #it{p}_{T}^{+} (GeV/c); #it{p}_{T}^{-} (GeV/c)" , kTH2F , {{500 , 0 , 5 }, {500 , 0 , 5 }});
289+ qaRegistry.add (" MixedEvent/hPtPosDaugh" , " ; #it{p}_{T}^{1} (GeV/c); #it{p}_{T}^{2} (GeV/c)" , kTH2F , {{500 , 0 , 5 }, {500 , 0 , 5 }});
290+ qaRegistry.add (" MixedEvent/hPtNegDaugh" , " ; #it{p}_{T}^{1} (GeV/c); #it{p}_{T}^{2} (GeV/c)" , kTH2F , {{500 , 0 , 5 }, {500 , 0 , 5 }});
291+ qaRegistry.add (" MixedEvent/hDaughMomPart1" , " ; #it{p}_{T}^{+} (GeV/c); #it{p}_{T}^{-} (GeV/c)" , kTH2F , {{500 , 0 , 5 }, {500 , 0 , 5 }});
292+ qaRegistry.add (" MixedEvent/hDaughMomPart2" , " ; #it{p}_{T}^{+} (GeV/c); #it{p}_{T}^{-} (GeV/c)" , kTH2F , {{500 , 0 , 5 }, {500 , 0 , 5 }});
293+ }
294+
281295 trackHistoV0Type1.init (&qaRegistry, ConfV0Selection.confV0TempFitVarpTBins , ConfV0Selection.confV0TempFitVarBins , confIsMC, ConfV0Selection.confV0PDGCodePartTwo , true , " V0Type1" );
282296 posChildV0Type1.init (&qaRegistry, ConfV0Selection.confChildTempFitVarpTBins , ConfV0Selection.confChildTempFitVarBins , false , 0 , true , " posChildV0Type1" );
283297 negChildV0Type1.init (&qaRegistry, ConfV0Selection.confChildTempFitVarpTBins , ConfV0Selection.confChildTempFitVarBins , false , 0 , true , " negChildV0Type1" );
@@ -742,6 +756,13 @@ struct FemtoUniversePairTaskTrackV0Extended {
742756 }
743757 }
744758
759+ if (confIsDebug) {
760+ qaRegistry.fill (HIST (" SameEvent/hPtPosDaugh" ), posChild1.pt (), posChild2.pt ());
761+ qaRegistry.fill (HIST (" SameEvent/hPtNegDaugh" ), negChild1.pt (), negChild2.pt ());
762+ qaRegistry.fill (HIST (" SameEvent/hDaughMomPart1" ), posChild1.pt (), negChild1.pt ());
763+ qaRegistry.fill (HIST (" SameEvent/hDaughMomPart2" ), posChild2.pt (), negChild2.pt ());
764+ }
765+
745766 if constexpr (std::is_same<PartType, FemtoRecoParticles>::value)
746767 sameEventCont.setPair <true >(p1, p2, multCol, confUse3D);
747768 else
@@ -1112,6 +1133,13 @@ struct FemtoUniversePairTaskTrackV0Extended {
11121133 }
11131134 }
11141135
1136+ if (confIsDebug) {
1137+ qaRegistry.fill (HIST (" MixedEvent/hPtPosDaugh" ), posChild1.pt (), posChild2.pt ());
1138+ qaRegistry.fill (HIST (" MixedEvent/hPtNegDaugh" ), negChild1.pt (), negChild2.pt ());
1139+ qaRegistry.fill (HIST (" MixedEvent/hDaughMomPart1" ), posChild1.pt (), negChild1.pt ());
1140+ qaRegistry.fill (HIST (" MixedEvent/hDaughMomPart2" ), posChild2.pt (), negChild2.pt ());
1141+ }
1142+
11151143 if constexpr (std::is_same<PartType, FemtoRecoParticles>::value)
11161144 mixedEventCont.setPair <true >(p1, p2, multCol, confUse3D);
11171145 else
0 commit comments