diff --git a/algo/base/util/TimingsFormat.cxx b/algo/base/util/TimingsFormat.cxx index a35956ec692b089ff911063af088682d14677a82..f7e81949acad562fae92c0ff7901d56fd76524e4 100644 --- a/algo/base/util/TimingsFormat.cxx +++ b/algo/base/util/TimingsFormat.cxx @@ -18,7 +18,7 @@ namespace cbm::algo void Begin(size_t align) { fAlign = align; - fSS = {}; + fSS = std::stringstream(); } void Title(std::string_view title) { fSS << fmt::format("{:<{}}\n", title, fAlign); } diff --git a/algo/data/sts/LandauTable.cxx b/algo/data/sts/LandauTable.cxx index fe7fcabf5fec41414dd19f5dd150183d6cfd82c0..fcea6f0c7251d22b06e742a5c502c95104816a54 100644 --- a/algo/data/sts/LandauTable.cxx +++ b/algo/data/sts/LandauTable.cxx @@ -15,7 +15,7 @@ sts::LandauTable sts::LandauTable::FromFile(fs::path path) std::vector<f32> charge; std::vector<f32> prob; - std::ifstream file(path); + std::ifstream file(path.string()); while (!file.eof()) { diff --git a/algo/global/Reco.cxx b/algo/global/Reco.cxx index dc5f6af7c6e08143cf5f2f27e180d4add40618eb..c87975a7cee780746c31e3a8461b1903ea586033 100644 --- a/algo/global/Reco.cxx +++ b/algo/global/Reco.cxx @@ -26,7 +26,7 @@ void Reco::Init(const Options& opts) LOG(info) << "Running CBM Reco on Device " << props.name(); // Reco Params - fs::path recoParamsPath = opts.ParamsDir() / "Reco.yaml"; + fs::path recoParamsPath = opts.ParamsDir() / "RecoParams.yaml"; YAML::Node yaml = YAML::LoadFile(recoParamsPath.string()); fContext.recoParams = config::Read<RecoParams>(yaml);