Commit 162d88b8 authored by Simon Spannagel's avatar Simon Spannagel
Browse files

EventLoaderEUDAQ1: fix compilation with new Config Class

parent 150e1195
Pipeline #3727497 passed with stages
in 33 minutes and 24 seconds
...@@ -37,7 +37,7 @@ void EventLoaderEUDAQ::initialize() { ...@@ -37,7 +37,7 @@ void EventLoaderEUDAQ::initialize() {
try { try {
reader->addFile(file); reader->addFile(file);
} catch(...) { } catch(...) {
throw ModuleError("Unable to read input file \"" + file + "\""); throw ModuleError("Unable to read input file \"" + file.string() + "\"");
} }
} }
......
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
#ifndef EventLoaderEUDAQ_H #ifndef EventLoaderEUDAQ_H
#define EventLoaderEUDAQ_H 1 #define EventLoaderEUDAQ_H 1
#include <filesystem>
#include <map> #include <map>
#include <memory> #include <memory>
#include <string> #include <string>
...@@ -40,7 +41,7 @@ namespace corryvreckan { ...@@ -40,7 +41,7 @@ namespace corryvreckan {
std::unique_ptr<SequentialReader> reader; std::unique_ptr<SequentialReader> reader;
// Member variables // Member variables
std::vector<std::string> m_filenames{}; std::vector<std::filesystem::path> m_filenames{};
bool m_longID; bool m_longID;
std::map<std::string, TH2F*> hitmap; std::map<std::string, TH2F*> hitmap;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment