Commit 76fbdb36 authored by Simon Spannagel's avatar Simon Spannagel
Browse files

Metronome: rename parameter

parent 21e7f656
......@@ -6,7 +6,7 @@ using namespace std;
Metronome::Metronome(Configuration config, std::vector<std::shared_ptr<Detector>> detectors)
: Module(std::move(config), std::move(detectors)) {
m_eventLength = m_config.get<double>("eventLength", static_cast<double>(Units::convert(10, "us")));
m_eventLength = m_config.get<double>("event_length", static_cast<double>(Units::convert(10, "us")));
}
void Metronome::initialise() {
......
......@@ -9,7 +9,7 @@ The `Metronome` module is can be used to slice data without strict event structu
Subsequent modules should read these values and adhere to them.
### Parameters
* `eventLength`: Length of the event to be defined in physical units (not clock cycles of a specific device). Default value is `10us`.
* `event_length`: Length of the event to be defined in physical units (not clock cycles of a specific device). Default value is `10us`.
### Usage
```toml
......
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