@@ -72,7 +72,7 @@ class EfficiencyCalculator
7272 shouldCalculate = config->confEfficiencyCalculate ;
7373 shouldApplyCorrections = config->confEfficiencyApplyCorrections ;
7474
75- ccdbFullPath = std ::format (" {}/{}" , config->confCCDBPath .value , folderName);
75+ ccdbFullPath = fmt ::format (" {}/{}" , config->confCCDBPath .value , folderName);
7676
7777 if (config->confEfficiencyCalculate ) {
7878 hOutput = {config->hEfficiency1 .object , config->hEfficiency2 .object };
@@ -178,7 +178,7 @@ class EfficiencyCalculator
178178 private:
179179 static inline auto notify (const std::string& msg) -> const std::string
180180 {
181- return std ::format (" [EFFICIENCY] {}" , msg);
181+ return fmt ::format (" [EFFICIENCY] {}" , msg);
182182 }
183183
184184 static auto isHistogramEmpty (TH1* hist) -> bool
@@ -233,8 +233,8 @@ class EfficiencyCalculator
233233 o2::ccdb::CcdbApi ccdbApi{};
234234 std::string ccdbFullPath{};
235235
236- static constexpr std::string folderName{" Efficiency" };
237- static constexpr std::array<std::string , 3 > histSuffix{" " , " _one" , " _two" };
236+ static constexpr std::string_view folderName{" Efficiency" };
237+ static constexpr std::array<std::string_view , 3 > histSuffix{" " , " _one" , " _two" };
238238};
239239
240240} // namespace o2::analysis::femto_universe::efficiency
0 commit comments