Commit 21cd8117 authored by Jens Kroeger's avatar Jens Kroeger
Browse files

EventDefinitionM26: mark fileReader also as const in get_next_event_from_det for good practice

parent c01d79ad
...@@ -83,7 +83,7 @@ void EventDefinitionM26::initialize() { ...@@ -83,7 +83,7 @@ void EventDefinitionM26::initialize() {
} }
} }
unsigned EventDefinitionM26::get_next_event_with_det(eudaq::FileReaderUP& filereader, unsigned EventDefinitionM26::get_next_event_with_det(const eudaq::FileReaderUP& filereader,
const std::string& det, const std::string& det,
long double& begin, long double& begin,
long double& end) { long double& end) {
......
...@@ -82,7 +82,7 @@ namespace corryvreckan { ...@@ -82,7 +82,7 @@ namespace corryvreckan {
* @param end: timestamp of end of event * @param end: timestamp of end of event
* @return * @return
*/ */
unsigned get_next_event_with_det(eudaq::FileReaderUP& filereader, unsigned get_next_event_with_det(const eudaq::FileReaderUP& filereader,
const std::string& det, const std::string& det,
long double& begin, long double& begin,
long double& end); long double& end);
......
Markdown is supported
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