Commit 51c327e9 authored by Simon Spannagel's avatar Simon Spannagel
Browse files

TestAlgo: Remove commented line, update docs

parent 4fcaacbd
......@@ -12,7 +12,7 @@ This module collects `pixel` and `cluster` objects from the clipboard and create
* `make_correlations`: Boolean to change if correlation plots should be outputted. Default value is `false`.
* `do_timing_cut`: Boolean to switch on/off the cut on cluster times for correlations. Defaults to `false`.
* `timing_cut`: maximum time difference between clusters to be taken into account. Only used if `do_timing_cut` is set to `true`, defaults to `100ns`.
* `correlation_time_vs_time`: Enable plotting of time correlation as a function of time. This is disabled by default because it is slow due to the many bins (default `false`).
* `correlation_time_vs_time`: Enable plotting of time correlation as a function of time. Default value is `false` because of the time required to fill the histogram with many bins.
### Plots produced
For each device the following plots are produced:
......@@ -217,7 +217,7 @@ StatusCode TestAlgorithm::run(std::shared_ptr<Clipboard> clipboard) {
correlationXY->Fill(refCluster->global().y() - cluster->global().x());
correlationYX->Fill(refCluster->global().x() - cluster->global().y());
// correlationTime[m_detector->name()]->Fill(Units::convert(timeDifference, "s"));
correlationTime->Fill(timeDifference); // time difference in ns
LOG(DEBUG) << "Time difference: " << Units::display(timeDifference, {"ns", "us"})
<< ", Time ref. cluster: " << Units::display(refCluster->timestamp(), {"ns", "us"})
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