@@ -205,7 +205,7 @@ struct CorrReso {
205205 // FT0 geometry
206206 o2::ft0::Geometry ft0Det;
207207 static constexpr uint64_t Ft0IndexA = 96 ;
208- std::vector<o2::detectors::AlignParam>* offsetFT0;
208+ std::vector<o2::detectors::AlignParam>* offsetFT0 = nullptr ;
209209 std::vector<float > cstFT0RelGain{};
210210
211211 // Corrections
@@ -944,7 +944,7 @@ struct CorrReso {
944944 if (mEfficiency == nullptr ) {
945945 LOGF (fatal, " Could not load efficiency histogram for trigger particles from %s" , cfgEfficiency.value .c_str ());
946946 }
947- LOGF (info, " Loaded efficiency histogram from %s (%p)" , cfgEfficiency.value .c_str (), ( void *) mEfficiency );
947+ LOGF (info, " Loaded efficiency histogram from %s (%p)" , cfgEfficiency.value .c_str (), static_cast < void *>( mEfficiency ) );
948948 }
949949 if (cfgEfficiencyNch.value .empty () == false ) {
950950 if (cfgLocalEfficiencyNch) {
@@ -957,14 +957,14 @@ struct CorrReso {
957957 if (!mEfficiencyNch ) {
958958 LOGF (fatal, " Could not load efficiency histogram for trigger particles from %s" , cfgEfficiencyNch.value .c_str ());
959959 }
960- LOGF (info, " Loaded efficiency histogram from %s (%p)" , cfgEfficiencyNch.value .c_str (), ( void *) mEfficiencyNch );
960+ LOGF (info, " Loaded efficiency histogram from %s (%p)" , cfgEfficiencyNch.value .c_str (), static_cast < void *>( mEfficiencyNch ) );
961961 }
962962 if (cfgCentralityWeight.value .empty () == false ) {
963963 mCentralityWeight = ccdb->getForTimeStamp <TH1D >(cfgCentralityWeight, timestamp);
964964 if (mCentralityWeight == nullptr ) {
965965 LOGF (fatal, " Could not load efficiency histogram for trigger particles from %s" , cfgCentralityWeight.value .c_str ());
966966 }
967- LOGF (info, " Loaded efficiency histogram from %s (%p)" , cfgCentralityWeight.value .c_str (), ( void *) mCentralityWeight );
967+ LOGF (info, " Loaded efficiency histogram from %s (%p)" , cfgCentralityWeight.value .c_str (), static_cast < void *>( mCentralityWeight ) );
968968 }
969969 correctionsLoaded = true ;
970970 }
0 commit comments