Commit 7072699a authored by fpipper's avatar fpipper
Browse files

Remove out-of-time cut again, doesn't work reliable.

parent 6dda2684
Pipeline #251942 passed with stages
in 2 minutes and 9 seconds
......@@ -8,7 +8,6 @@ ImproveReferenceTimestamp::ImproveReferenceTimestamp(Configuration config, std::
: Algorithm(std::move(config), std::move(detectors)) {
m_method = m_config.get<int>("improvementMethod", 1);
m_source = m_config.get<std::string>("signalSource", "W0013_G02");
m_stop = m_config.get<bool>("allowOutoftimeEvents", true);
}
void ImproveReferenceTimestamp::initialise() {
......@@ -63,11 +62,6 @@ StatusCode ImproveReferenceTimestamp::run(Clipboard* clipboard) {
diff = abs((long long int)(trigger_time - track->timestamp()));
}
}
// if(m_stop == false) {
// if(diff > 5e-7) {
// return NoData;
// }
// }
// trigger latency is ~175 ns, still missing
}
......
......@@ -8,7 +8,6 @@ Improves the existing reference timestamp (earliest hit on reference plane) by e
#### Parameters
* `m_method`: Determines which method to use. Trigger timestamp is 0, average track timestamp is 1. Default value is `1`.
* `m_source`: Determines which detector plane carries the trigger signals. Only relevant for method 0. Default value is `"W0013_G02"`.
* `m_stop`: Determines whether to allow out of time trigger timestamps or not. Only relevant for method 0. Default value is `true`.
#### Plots produced
......@@ -18,6 +17,5 @@ Improves the existing reference timestamp (earliest hit on reference plane) by e
[ImproveReferenceTimestamp]
improvementMethod = 0
signalSource = "W0013_G02"
allowOutoftimeEvents = false;
```
Parameters to be used in multiple algorithms can also be defined globally at the top of the configuration file. This is highly encouraged for parameters such as `DUT` and `reference`.
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