@@ -161,6 +161,7 @@ struct HStrangeCorrelation {
161161 ConfigurableAxis axisPtQA{" axisPtQA" , {VARIABLE_WIDTH, 0 .0f , 0 .1f , 0 .2f , 0 .3f , 0 .4f , 0 .5f , 0 .6f , 0 .7f , 0 .8f , 0 .9f , 1 .0f , 1 .1f , 1 .2f , 1 .3f , 1 .4f , 1 .5f , 1 .6f , 1 .7f , 1 .8f , 1 .9f , 2 .0f , 2 .2f , 2 .4f , 2 .6f , 2 .8f , 3 .0f , 3 .2f , 3 .4f , 3 .6f , 3 .8f , 4 .0f , 4 .4f , 4 .8f , 5 .2f , 5 .6f , 6 .0f , 6 .5f , 7 .0f , 7 .5f , 8 .0f , 9 .0f , 10 .0f , 11 .0f , 12 .0f , 13 .0f , 14 .0f , 15 .0f , 17 .0f , 19 .0f , 21 .0f , 23 .0f , 25 .0f , 30 .0f , 35 .0f , 40 .0f , 50 .0f }, " pt axis for QA histograms" };
162162 ConfigurableAxis axisMassNSigma{" axisMassNSigma" , {40 , -2 , 2 }, " Axis for mass Nsigma" };
163163 ConfigurableAxis axisMultiplicity{" axisMultiplicity" , {VARIABLE_WIDTH, 0 , 20 , 40 , 60 , 100 , 120 , 140 , 160 , 180 , 200 , 220 , 240 , 260 , 280 , 300 }, " Binning of the Multiplicity axis in model prediction process" };
164+ ConfigurableAxis axisMidrapidityMultiplicity{" axisMidrapidityMultiplicity" , {VARIABLE_WIDTH, 0 , 20 , 40 , 60 , 100 , 120 , 140 , 160 , 180 , 200 , 220 , 240 , 260 , 280 , 300 }, " Binning of the Midrapidity Multiplicity axis in model prediction process" };
164165
165166 } axesConfigurations;
166167
@@ -1803,7 +1804,7 @@ struct HStrangeCorrelation {
18031804
18041805 bool hStrange = false ;
18051806 for (int i = 0 ; i < AssocParticleTypes; i++) {
1806- if (TESTBIT (doCorrelation, i)) {
1807+ if (TESTBIT (doCorrelation, i) && (doprocessSameEventHV0s || doprocessSameEventHCascades) ) {
18071808 if (masterConfigurations.doFullCorrelationStudy )
18081809 histos.add (fmt::format (" sameEvent/Signal/{}" , Particlenames[i]).c_str (), " " , kTHnF , {axisDeltaPhiNDim, axisDeltaEtaNDim, axisPtAssocNDim, axisPtTriggerNDim, axisVtxZNDim, axisMultNDim});
18091810 if (doDeltaPhiStarCheck && masterConfigurations.doFullCorrelationStudy ) {
@@ -1829,13 +1830,13 @@ struct HStrangeCorrelation {
18291830 }
18301831 }
18311832 }
1832- if (TESTBIT (doCorrelation, 7 )) {
1833+ if (TESTBIT (doCorrelation, 7 ) && doprocessSameEventHPions ) {
18331834 histos.add (" hPionEtaVsPtAllSelected" , " " , kTH3F , {axesConfigurations.axisPtQA , axesConfigurations.axisEta , axesConfigurations.axisMult });
18341835 histos.add (" hPionEtaVsPt" , " " , kTH3F , {axesConfigurations.axisPtQA , axesConfigurations.axisEta , axesConfigurations.axisMult });
18351836 histos.add (" hPositivePionEtaVsPt" , " " , kTH3F , {axesConfigurations.axisPtQA , axesConfigurations.axisEta , axesConfigurations.axisMult });
18361837 histos.add (" hNegativePionEtaVsPt" , " " , kTH3F , {axesConfigurations.axisPtQA , axesConfigurations.axisEta , axesConfigurations.axisMult });
18371838 }
1838- if (TESTBIT (doCorrelation, 8 )) {
1839+ if (TESTBIT (doCorrelation, 8 ) && doprocessSameEventHHadrons ) {
18391840 histos.add (" hAsssocTrackEtaVsPtVsPhi" , " " , kTH3F , {axesConfigurations.axisPtQA , axesConfigurations.axisEta , axesConfigurations.axisPhi });
18401841 histos.add (" hAssocPrimaryEtaVsPt" , " " , kTH3F , {axesConfigurations.axisPtQA , axesConfigurations.axisEta , axesConfigurations.axisMult });
18411842 histos.add (" hAssocHadronsAllSelectedEtaVsPt" , " " , kTH3F , {axesConfigurations.axisPtQA , axesConfigurations.axisEta , axesConfigurations.axisMult });
@@ -1931,9 +1932,15 @@ struct HStrangeCorrelation {
19311932 } else {
19321933 if (masterConfigurations.doSeparateFT0Prediction ) {
19331934 histos.add (" Prediction/hTriggerFT0A" , " Trigger Tracks FT0A" , kTH3F , {axesConfigurations.axisPtQA , axesConfigurations.axisEta , axesConfigurations.axisMultiplicity });
1935+ histos.add (" Prediction/hFT0AvsNchEta08" , " Nch in 0.8 vs FT0A multiplicity" , kTH2F , {axesConfigurations.axisMultiplicity , axesConfigurations.axisMidrapidityMultiplicity });
1936+ histos.add (" Prediction/hFT0AvsNchEta05" , " Nch in 0.5 vs FT0A multiplicity" , kTH2F , {axesConfigurations.axisMultiplicity , axesConfigurations.axisMidrapidityMultiplicity });
19341937 histos.add (" Prediction/hTriggerFT0C" , " Trigger Tracks FT0C" , kTH3F , {axesConfigurations.axisPtQA , axesConfigurations.axisEta , axesConfigurations.axisMultiplicity });
1938+ histos.add (" Prediction/hFT0CvsNchEta08" , " Nch in 0.8 vs FT0C multiplicity" , kTH2F , {axesConfigurations.axisMultiplicity , axesConfigurations.axisMidrapidityMultiplicity });
1939+ histos.add (" Prediction/hFT0CvsNchEta05" , " Nch in 0.5 vs FT0C multiplicity" , kTH2F , {axesConfigurations.axisMultiplicity , axesConfigurations.axisMidrapidityMultiplicity });
19351940 }
19361941 histos.add (" Prediction/hTrigger" , " Trigger Tracks" , kTH3F , {axesConfigurations.axisPtQA , axesConfigurations.axisEta , axesConfigurations.axisMultiplicity });
1942+ histos.add (" Prediction/hFT0MvsNchEta08" , " Nch in 0.8 vs FT0M multiplicity" , kTH2F , {axesConfigurations.axisMultiplicity , axesConfigurations.axisMidrapidityMultiplicity });
1943+ histos.add (" Prediction/hFT0MvsNchEta05" , " Nch in 0.5 vs FT0M multiplicity" , kTH2F , {axesConfigurations.axisMultiplicity , axesConfigurations.axisMidrapidityMultiplicity });
19371944 }
19381945 for (int i = 0 ; i < AssocParticleTypes; i++) {
19391946 if (TESTBIT (doCorrelation, i))
@@ -3317,6 +3324,8 @@ struct HStrangeCorrelation {
33173324 float multFT0M = -1 ;
33183325 float multFT0A = -1 ;
33193326 float multFT0C = -1 ;
3327+ float multEta08 = -1 ;
3328+ float multEta05 = -1 ;
33203329 histos.fill (HIST (" Prediction/hEventSelection" ), 0.5 );
33213330 if (masterConfigurations.selectINELgtZERO && !o2::pwglf::isINELgt0mc (mcParticles, pdgDB)) {
33223331 return ;
@@ -3334,6 +3343,18 @@ struct HStrangeCorrelation {
33343343 multFT0M = mCounter .countFT0A (mcParticles) + mCounter .countFT0C (mcParticles);
33353344 multFT0A = mCounter .countFT0A (mcParticles);
33363345 multFT0C = mCounter .countFT0C (mcParticles);
3346+ multEta08 = mCounter .countEta08 (mcParticles);
3347+ multEta05 = mCounter .countEta05 (mcParticles);
3348+ }
3349+ if (!masterConfigurations.useCentralityinPrediction ) {
3350+ if (masterConfigurations.doSeparateFT0Prediction ) {
3351+ histos.fill (HIST (" Prediction/hFT0AvsNchEta08" ), multFT0A, multEta08);
3352+ histos.fill (HIST (" Prediction/hFT0AvsNchEta05" ), multFT0A, multEta05);
3353+ histos.fill (HIST (" Prediction/hFT0CvsNchEta08" ), multFT0C, multEta08);
3354+ histos.fill (HIST (" Prediction/hFT0CvsNchEta05" ), multFT0C, multEta05);
3355+ }
3356+ histos.fill (HIST (" Prediction/hFT0MvsNchEta08" ), multFT0M, multEta08);
3357+ histos.fill (HIST (" Prediction/hFT0MvsNchEta05" ), multFT0M, multEta05);
33373358 }
33383359 int iteratorNum = -1 ;
33393360 for (auto const & mcParticle : mcParticles) {
0 commit comments