@@ -306,9 +306,9 @@ struct CentralityQa {
306306
307307 est.hCentrality = dynamic_cast <TH1 *>(hCentralityObjects->FindObject (Form (" hCalibZeq%s" , est.name .c_str ())));
308308 if (!est.hCentrality ) {
309- LOGF (info , " Calibration missing for %s" , est.name .c_str ());
309+ LOGF (debug , " Calibration missing for %s" , est.name .c_str ());
310310 } else {
311- LOGF (info , " Calibration loaded for %s" , est.name .c_str ());
311+ LOGF (debug , " Calibration loaded for %s" , est.name .c_str ());
312312 }
313313 }
314314
@@ -326,7 +326,7 @@ struct CentralityQa {
326326 requires { collision.centFT0C (); } ||
327327 requires { collision.centFT0CVariant1 (); } ||
328328 requires { collision.centFT0CVariant2 (); } ||
329- requires { collision.centFT0MVariant3 (); } ||
329+ requires { collision.centFT0MOuterA (); } ||
330330 requires { collision.centFDDM (); } ||
331331 requires { collision.centNTPV (); } ||
332332 requires { collision.centNGlobal (); } ||
@@ -688,15 +688,19 @@ struct CentralityQa {
688688 }
689689 PROCESS_SWITCH (CentralityQa, processRun3_FT0M, " Process with Run 3 FT0M estimator" , false );
690690
691- void processRun3_FT0MOuterA (soa::Join<aod::Collisions, aod::EvSels, aod::Mults , aod::CentFT0MOuterAs>::iterator const & col)
691+ void processRun3_FT0MOuterA (soa::Join<aod::Collisions, aod::EvSels, aod::MultsRun3 , aod::FITExtraMults, aod:: CentFT0MOuterAs>::iterator const & col, aod::BCs const & )
692692 {
693693 if (!isCollisionAccepted (col)) {
694694 return ;
695695 }
696- LOGF (debug, " centFT0MOuterA=%.0f" , col.centFT0MOuterA ());
697- histos.fill (HIST (" hCentFT0MOuterA" ), col.centFT0MOuterA ());
698- histos.fill (HIST (" hCentProfileFT0MOuterA" ), col.centFT0MOuterA (), col.multNTracksPVetaHalf ());
699- histos.fill (HIST (" hMultEta05VsCentFT0MOuterA" ), col.centFT0MOuterA (), col.multNTracksPVetaHalf ());
696+
697+ Estimator ft0mOuterA = initEstimator (col, " FT0MOuterA" );
698+ const float centFT0MOuterA = ft0mOuterA.getCentrality (col.multFT0AOuter () + col.multFT0C (), col.centFT0MOuterA ());
699+
700+ LOGF (debug, " centFT0MOuterA=%.0f" , centFT0MOuterA);
701+ histos.fill (HIST (" hCentFT0MOuterA" ), centFT0MOuterA);
702+ histos.fill (HIST (" hCentProfileFT0MOuterA" ), centFT0MOuterA, col.multNTracksPVetaHalf ());
703+ histos.fill (HIST (" hMultEta05VsCentFT0MOuterA" ), centFT0MOuterA, col.multNTracksPVetaHalf ());
700704 }
701705 PROCESS_SWITCH (CentralityQa, processRun3_FT0MOuterA, " Process with Run 3 FT0M estimator" , false );
702706
0 commit comments