@@ -201,7 +201,7 @@ struct Mftcorrelations {
201201 std::vector<float > phiWeightCache;
202202 std::vector<float > phiWeightCache1;
203203 std::unique_ptr<TFormula> multCutFormula;
204- std::array<uint32_t , aod::mftmultset::NMultiplicityEstimators> multCutFormulaParamIndex;
204+ std::array<uint32_t , aod::mftmultset::NMultiplicityEstimators> multCutFormulaParamIndex{} ;
205205
206206 // Collisions are expected to already carry the joined centrality/multiplicity estimator tables.
207207 using ExtendedCollisions = soa::Join<aod::Collisions, aod::EvSels, aod::CentFT0Cs, aod::CentFT0Ms, aod::Mults>;
@@ -393,7 +393,7 @@ struct Mftcorrelations {
393393 if (cfg.mEfficiencyTrigger == nullptr ) {
394394 LOGF (fatal, " Could not load trigger efficiency from %s" , cfgEfficiencyTrigger.value .c_str ());
395395 }
396- LOGF (info, " Loaded MFT trigger efficiency from %s (%p)" , cfgEfficiencyTrigger.value .c_str (), ( void *) cfg.mEfficiencyTrigger );
396+ LOGF (info, " Loaded MFT trigger efficiency from %s (%p)" , cfgEfficiencyTrigger.value .c_str (), static_cast < void *>( cfg.mEfficiencyTrigger ) );
397397 }
398398 if (!cfgEfficiencyAssociated.value .empty ()) {
399399 if (cfgLocalEfficiency > 0 ) {
@@ -405,7 +405,7 @@ struct Mftcorrelations {
405405 if (cfg.mEfficiencyAssociated == nullptr ) {
406406 LOGF (fatal, " Could not load associated efficiency from %s" , cfgEfficiencyAssociated.value .c_str ());
407407 }
408- LOGF (info, " Loaded MFT associated efficiency from %s (%p)" , cfgEfficiencyAssociated.value .c_str (), ( void *) cfg.mEfficiencyAssociated );
408+ LOGF (info, " Loaded MFT associated efficiency from %s (%p)" , cfgEfficiencyAssociated.value .c_str (), static_cast < void *>( cfg.mEfficiencyAssociated ) );
409409 }
410410 // FIX #6d
411411 if (!cfgEfficiencyGlobal.value .empty ()) {
@@ -418,7 +418,7 @@ struct Mftcorrelations {
418418 if (cfg.mEfficiencyGlobal == nullptr ) {
419419 LOGF (fatal, " Could not load global-track efficiency from %s" , cfgEfficiencyGlobal.value .c_str ());
420420 }
421- LOGF (info, " Loaded global-track efficiency from %s (%p)" , cfgEfficiencyGlobal.value .c_str (), ( void *) cfg.mEfficiencyGlobal );
421+ LOGF (info, " Loaded global-track efficiency from %s (%p)" , cfgEfficiencyGlobal.value .c_str (), static_cast < void *>( cfg.mEfficiencyGlobal ) );
422422 }
423423 cfg.efficiencyLoaded = true ;
424424 }
@@ -532,7 +532,7 @@ struct Mftcorrelations {
532532 LOGF (fatal, " Could not find object %s in %s" , cfgPhiWeightName.value .c_str (), cfgPhiWeightFile.value .c_str ());
533533 }
534534 f->Close ();
535- LOGF (info, " Loaded phi weight '%s' from %s (%p)" , cfgPhiWeightName.value .c_str (), cfgPhiWeightFile.value .c_str (), ( void *) cfg.mPhiWeight );
535+ LOGF (info, " Loaded phi weight '%s' from %s (%p)" , cfgPhiWeightName.value .c_str (), cfgPhiWeightFile.value .c_str (), static_cast < void *>( cfg.mPhiWeight ) );
536536 }
537537
538538 // Looks up a bin-content-based weight from a 1-D phi map.
0 commit comments