@@ -253,6 +253,9 @@ struct centralityStudy {
253253 histos.add (" hFT0C_Collisions" , " hFT0C_Collisions" , kTH1D , {axisMultUltraFineFT0C});
254254 histos.add (" hFT0M_Collisions" , " hFT0M_Collisions" , kTH1D , {axisMultUltraFineFT0M});
255255 histos.add (" hFV0A_Collisions" , " hFV0A_Collisions" , kTH1D , {axisMultUltraFineFV0A});
256+ histos.add (" hFT0AOuter_Collisions" , " hFT0AOuter_Collisions" , kTH1D , {axisMultUltraFineFT0A});
257+ histos.add (" hFT0MOuterA_Collisions" , " hFT0MOuterA_Collisions" , kTH1D , {axisMultUltraFineFT0M});
258+
256259 histos.add (" hNGlobalTracks" , " hNGlobalTracks" , kTH1D , {axisMultUltraFineGlobalTracks});
257260 histos.add (" hNMFTTracks" , " hNMFTTracks" , kTH1D , {axisMultUltraFineMFTTracks});
258261 histos.add (" hNPVContributors" , " hNPVContributors" , kTH1D , {axisMultUltraFinePVContributors});
@@ -272,6 +275,7 @@ struct centralityStudy {
272275 // 2d correlation of fit signals
273276 histos.add (" hFT0AVsFT0C" , " hFT0AVsFT0C" , kTH2F , {axisMultFT0C, axisMultFT0A});
274277 histos.add (" hFV0AVsFT0C" , " hFV0AVsFT0C" , kTH2F , {axisMultFT0C, axisMultFV0A});
278+ histos.add (" hFT0AOuterVsFT0C" , " hFT0AOuterVsFT0C" , kTH2F , {axisMultFT0C, axisMultFT0A});
275279 histos.add (" hFDDAVsFT0C" , " hFDDAVsFT0C" , kTH2F , {axisMultFT0C, axisMultFDDA});
276280 histos.add (" hFDDCVsFT0C" , " hFDDCVsFT0C" , kTH2F , {axisMultFT0C, axisMultFDDC});
277281 }
@@ -514,6 +518,8 @@ struct centralityStudy {
514518
515519 histPointers.insert ({histPath + " hFT0C_Collisions" , histos.add ((histPath + " hFT0C_Collisions" ).c_str (), " hFT0C_Collisions" , {kTH1D , {{axisMultUltraFineFT0C}}})});
516520 histPointers.insert ({histPath + " hFT0A_Collisions" , histos.add ((histPath + " hFT0A_Collisions" ).c_str (), " hFT0A_Collisions" , {kTH1D , {{axisMultUltraFineFT0A}}})});
521+ histPointers.insert ({histPath + " hFT0AOuter_Collisions" , histos.add ((histPath + " hFT0AOuter_Collisions" ).c_str (), " hFT0AOuter_Collisions" , {kTH1D , {{axisMultUltraFineFT0C}}})});
522+ histPointers.insert ({histPath + " hFT0MOuterA_Collisions" , histos.add ((histPath + " hFT0MOuterA_Collisions" ).c_str (), " hFT0MOuterA_Collisions" , {kTH1D , {{axisMultUltraFineFT0A}}})});
517523 histPointers.insert ({histPath + " hFT0M_Collisions" , histos.add ((histPath + " hFT0M_Collisions" ).c_str (), " hFT0M_Collisions" , {kTH1D , {{axisMultUltraFineFT0M}}})});
518524 histPointers.insert ({histPath + " hFV0A_Collisions" , histos.add ((histPath + " hFV0A_Collisions" ).c_str (), " hFV0A_Collisions" , {kTH1D , {{axisMultUltraFineFV0A}}})});
519525 histPointers.insert ({histPath + " hNGlobalTracks" , histos.add ((histPath + " hNGlobalTracks" ).c_str (), " hNGlobalTracks" , {kTH1D , {{axisMultUltraFineGlobalTracks}}})});
@@ -548,6 +554,7 @@ struct centralityStudy {
548554 histPointers.insert ({histPath + " hFV0AVsFT0C" , histos.add ((histPath + " hFV0AVsFT0C" ).c_str (), " hFV0AVsFT0C" , {kTH2F , {{axisMultFT0C, axisMultFV0A}}})});
549555 histPointers.insert ({histPath + " hFDDAVsFT0C" , histos.add ((histPath + " hFDDAVsFT0C" ).c_str (), " hFDDAVsFT0C" , {kTH2F , {{axisMultFT0C, axisMultFDDA}}})});
550556 histPointers.insert ({histPath + " hFDDCVsFT0C" , histos.add ((histPath + " hFDDCVsFT0C" ).c_str (), " hFDDCVsFT0C" , {kTH2F , {{axisMultFT0C, axisMultFDDC}}})});
557+ histPointers.insert ({histPath + " hFT0AOuterVsFT0C" , histos.add ((histPath + " hFT0AOuterVsFT0C" ).c_str (), " hFT0AOuterVsFT0C" , {kTH2F , {{axisMultFT0C, axisMultFT0A}}})});
551558 }
552559
553560 if (doprocessCollisionsWithCentrality || ccdbSettings.fetchCentralityCalibration ) {
@@ -956,17 +963,29 @@ struct centralityStudy {
956963 if constexpr (requires { collision.has_multBC (); }) {
957964 if (collision.has_multBC ()) {
958965 auto multbc = collision.template multBC_as <soa::Join<aod::MultBCs, aod::MultBcSel>>();
966+ histos.fill (HIST (" hFT0AOuter_Collisions" ), multbc.multFT0AOuter () * scale.factorFT0A );
967+ histos.fill (HIST (" hFT0MOuterA_Collisions" ), multbc.multFT0AOuter () + multbc.multFT0C () * scale.factorFT0M );
968+ if (studies.do2DPlots ) {
969+ histos.fill (HIST (" hFT0AOuterVsFT0C" ), multbc.multFT0C () * scale.factorFT0C , multbc.multFT0AOuter () * scale.factorFT0A );
970+ }
971+
959972 const uint64_t bcTimestamp = multbc.timestamp ();
960973 const float interactionRate = mRateFetcher .fetch (ccdb.service , bcTimestamp, mRunNumber , ccdbSettings.irSource .value , ccdbSettings.irCrashOnNull ) / 1000 .; // kHz
961974 histos.fill (HIST (" hInteractionRate" ), interactionRate);
962975 if (doprocessCollisionsWithCentrality || ccdbSettings.fetchCentralityCalibration ) {
963976 histos.fill (HIST (" hInteractionRateVsCentrality" ), centFT0C, interactionRate);
964- }
965- if (studies. doRunByRunHistograms ) {
966- getHist ( TH2 , histPath + " hInteractionRateVsCentrality " )-> Fill (centFT0C, interactionRate);
977+ if (studies. doRunByRunHistograms ) {
978+ getHist ( TH2 , histPath + " hInteractionRateVsCentrality " )-> Fill (centFT0C, interactionRate);
979+ }
967980 }
968981 if (studies.doRunByRunHistograms ) {
969982 getHist (TH1 , histPath + " hInteractionRate" )->Fill (interactionRate);
983+ getHist (TH1 , histPath + " hFT0AOuter_Collisions" )->Fill (multbc.multFT0AOuter () * scale.factorFT0A );
984+ getHist (TH1 , histPath + " hFT0MOuterA_Collisions" )->Fill (multbc.multFT0AOuter () + multbc.multFT0C () * scale.factorFT0M );
985+ if (studies.do2DPlots ) {
986+ getHist (TH2 , histPath + " hFT0AOuterVsFT0C" )->Fill (multbc.multFT0C () * scale.factorFT0C , multbc.multFT0AOuter () * scale.factorFT0A );
987+ }
988+
970989 if (studies.doTimeStudies ) {
971990 const float hoursAfterStartOfRun = static_cast <float >(bcTimestamp - startOfRunTimestamp) / 3600000.0 ;
972991 getHist (TH2 , histPath + " hFT0AVsTime" )->Fill (hoursAfterStartOfRun, collision.multFT0A ());
0 commit comments