@@ -1916,10 +1916,19 @@ struct HStrangeCorrelation {
19161916 for (int i = 1 ; i <= histos.get <TH1>(HIST (" Prediction/hEventSelection" ))->GetNbinsX (); i++) {
19171917 histos.get <TH1>(HIST (" Prediction/hEventSelection" ))->GetXaxis ()->SetBinLabel (i, eventSelLabel[i - 1 ]);
19181918 }
1919- if (masterConfigurations.useCentralityinPrediction )
1919+ if (masterConfigurations.useCentralityinPrediction ) {
1920+ if (masterConfigurations.doSeparateFT0Prediction ) {
1921+ histos.add (" Prediction/hTriggerFT0A" , " Trigger Tracks FT0A" , kTH3F , {axesConfigurations.axisPtQA , axesConfigurations.axisEta , axesConfigurations.axisMult });
1922+ histos.add (" Prediction/hTriggerFT0C" , " Trigger Tracks FT0C" , kTH3F , {axesConfigurations.axisPtQA , axesConfigurations.axisEta , axesConfigurations.axisMult });
1923+ }
19201924 histos.add (" Prediction/hTrigger" , " Trigger Tracks" , kTH3F , {axesConfigurations.axisPtQA , axesConfigurations.axisEta , axesConfigurations.axisMult });
1921- else
1925+ } else {
1926+ if (masterConfigurations.doSeparateFT0Prediction ) {
1927+ histos.add (" Prediction/hTriggerFT0A" , " Trigger Tracks FT0A" , kTH3F , {axesConfigurations.axisPtQA , axesConfigurations.axisEta , axesConfigurations.axisMultiplicity });
1928+ histos.add (" Prediction/hTriggerFT0C" , " Trigger Tracks FT0C" , kTH3F , {axesConfigurations.axisPtQA , axesConfigurations.axisEta , axesConfigurations.axisMultiplicity });
1929+ }
19221930 histos.add (" Prediction/hTrigger" , " Trigger Tracks" , kTH3F , {axesConfigurations.axisPtQA , axesConfigurations.axisEta , axesConfigurations.axisMultiplicity });
1931+ }
19231932 for (int i = 0 ; i < AssocParticleTypes; i++) {
19241933 if (TESTBIT (doCorrelation, i))
19251934 histos.add (fmt::format (" Prediction/h{}" , Particlenames[i]).c_str (), " " , kTH3F , {axesConfigurations.axisPtQA , axesConfigurations.axisEta , axesConfigurations.axisPhi });
@@ -3328,7 +3337,19 @@ struct HStrangeCorrelation {
33283337 if (std::abs (mcParticle.pdgCode ()) == PDG_t::kPiPlus || std::abs (mcParticle.pdgCode ()) == PDG_t::kKPlus || std::abs (mcParticle.pdgCode ()) == PDG_t::kProton || std::abs (mcParticle.pdgCode ()) == PDG_t::kElectron || std::abs (mcParticle.pdgCode ()) == PDG_t::kMuonMinus ) {
33293338 if (!masterConfigurations.doTriggPhysicalPrimary || mcParticle.isPhysicalPrimary ()) {
33303339 triggerIndices.emplace_back (iteratorNum);
3331- histos.fill (HIST (" Prediction/hTrigger" ), gpt, geta, gphi);
3340+ if (masterConfigurations.useCentralityinPrediction ) {
3341+ if (masterConfigurations.doSeparateFT0Prediction ) {
3342+ histos.fill (HIST (" Prediction/hTriggerFT0A" ), gpt, geta, centMultFT0A);
3343+ histos.fill (HIST (" Prediction/hTriggerFT0C" ), gpt, geta, centMultFT0C);
3344+ }
3345+ histos.fill (HIST (" Prediction/hTrigger" ), gpt, geta, centMultFT0M);
3346+ } else {
3347+ if (masterConfigurations.doSeparateFT0Prediction ) {
3348+ histos.fill (HIST (" Prediction/hTriggerFT0A" ), gpt, geta, multFT0A);
3349+ histos.fill (HIST (" Prediction/hTriggerFT0C" ), gpt, geta, multFT0C);
3350+ }
3351+ histos.fill (HIST (" Prediction/hTrigger" ), gpt, geta, multFT0M);
3352+ }
33323353 }
33333354 if (masterConfigurations.doCorrelationHadron ) {
33343355 if (!doAssocPhysicalPrimary || mcParticle.isPhysicalPrimary ()) {
0 commit comments