Commit 3651ffa9 authored by Simon Spannagel's avatar Simon Spannagel
Browse files

Rename all references to TestAlgorithm to Correlations

parent 74907bc0
......@@ -55,7 +55,7 @@ $ /path/to/corryvreckan/bin/corry \
The \parameter{spatial_cut} in \texttt{[Tracking4D]} should be set to multiple ($\sim4$) pixel pitch.
One can inspect the track $\chi^2$, the correlation in x and y and the residuals with the online monitoring or by opening the generated ROOT file after finishing the script.
These can be found in the modules \texttt{[Tracking4D]} (see Section~\ref{tracking4d}) and \texttt{[TestAlgorithm]} (see Section~\ref{testalgorithm}).
These can be found in the modules \texttt{[Tracking4D]} (see Section~\ref{tracking4d}) and \texttt{[Correlations]} (see Section~\ref{correlations}).
\begin{warning}
\textbf{Tip:} To save time, one can limit the number of processed tracks. For instance, set \parameter{number_of_tracks = 100000} (see Section~\ref{sec:framework_parameters}).
......
# TestAlgorithm
# Correlations
**Maintainer**: Simon Spannagel (<simon.spannagel@cern.ch>), Daniel Hynds (<daniel.hynds@cern.ch>)
**Module Type**: *DETECTOR*
**Detector Type**: *all*
......@@ -41,6 +41,6 @@ For each device the following plots are produced:
### Usage
```toml
[TestAlgorithm]
[Correlations]
make_correlations = true
```
......@@ -16,7 +16,7 @@ OnlineMonitor::OnlineMonitor(Configuration config, std::vector<std::shared_ptr<D
canvas_overview = m_config.getMatrix<std::string>("overview",
{{"Tracking4D/trackChi2"},
{"Clustering4D/%REFERENCE%/clusterCharge"},
{"TestAlgorithm/%REFERENCE%/hitmap", "colz"},
{"Correlations/%REFERENCE%/hitmap", "colz"},
{"Tracking4D/%REFERENCE%/residualsX"}});
// Set up individual plots for the DUT
......@@ -34,19 +34,19 @@ OnlineMonitor::OnlineMonitor(Configuration config, std::vector<std::shared_ptr<D
{"Tracking4D/trackChi2ndof"},
{"Tracking4D/tracksPerEvent"},
{"Tracking4D/clustersPerTrack"}});
canvas_hitmaps = m_config.getMatrix<std::string>("hitmaps", {{"TestAlgorithm/%DETECTOR%/hitmap", "colz"}});
canvas_hitmaps = m_config.getMatrix<std::string>("hitmaps", {{"Correlations/%DETECTOR%/hitmap", "colz"}});
canvas_residuals = m_config.getMatrix<std::string>("residuals", {{"Tracking4D/%DETECTOR%/residualsX"}});
canvas_cx = m_config.getMatrix<std::string>("correlation_x", {{"TestAlgorithm/%DETECTOR%/correlationX"}});
canvas_cx = m_config.getMatrix<std::string>("correlation_x", {{"Correlations/%DETECTOR%/correlationX"}});
canvas_cx2d =
m_config.getMatrix<std::string>("correlation_x2d", {{"TestAlgorithm/%DETECTOR%/correlationX_2Dlocal", "colz"}});
canvas_cy = m_config.getMatrix<std::string>("correlation_y", {{"TestAlgorithm/%DETECTOR%/correlationY"}});
m_config.getMatrix<std::string>("correlation_x2d", {{"Correlations/%DETECTOR%/correlationX_2Dlocal", "colz"}});
canvas_cy = m_config.getMatrix<std::string>("correlation_y", {{"Correlations/%DETECTOR%/correlationY"}});
canvas_cy2d =
m_config.getMatrix<std::string>("correlation_y2d", {{"TestAlgorithm/%DETECTOR%/correlationY_2Dlocal", "colz"}});
m_config.getMatrix<std::string>("correlation_y2d", {{"Correlations/%DETECTOR%/correlationY_2Dlocal", "colz"}});
canvas_charge = m_config.getMatrix<std::string>("charge_distributions", {{"Clustering4D/%DETECTOR%/clusterCharge"}});
canvas_time = m_config.getMatrix<std::string>("event_times", {{"TestAlgorithm/%DETECTOR%/eventTimes"}});
canvas_time = m_config.getMatrix<std::string>("event_times", {{"Correlations/%DETECTOR%/eventTimes"}});
}
void OnlineMonitor::initialise() {
......
......@@ -36,15 +36,15 @@ The "corryvreckan" namespace is not required to be added to the plot path.
* `overview`: List of plots to be placed on the "Overview" canvas of the online monitor. The list of plots created in the default configuration is listed below.
* `dut_plots`: List of plots to be placed on the "DUTPlots" canvas of the online monitor. By default, this canvas contains plots collected from the `EventLoaderEUDAQ2` as well as the `AnalysisDUT` modules for the each configured DUT. This canvas should be customized for the respective DUT.
* `hitmaps`: List of plots to be placed on the "HitMaps" canvas of the online monitor. By default, this canvas displays `TestAlgorithm/%DETECTOR%/hitmap` for all detectors.
* `hitmaps`: List of plots to be placed on the "HitMaps" canvas of the online monitor. By default, this canvas displays `Correlations/%DETECTOR%/hitmap` for all detectors.
* `tracking`: List of plots to be placed on the "Tracking" canvas of the online monitor. The list of plots created in the default configuration is listed below.
* `residuals`: List of plots to be placed on the "Residuals" canvas of the online monitor. By default, this canvas displays `Tracking4D/%DETECTOR%/residualsX` for all detectors.
* `correlation_x`: List of plots to be placed on the "CorrelationX" canvas of the online monitor. By default, this canvas displays `TestAlgorithm/%DETECTOR%/correlationX` for all detectors.
* `correlation_y`: List of plots to be placed on the "CorrelationY" canvas of the online monitor. By default, this canvas displays `TestAlgorithm/%DETECTOR%/correlationY` for all detectors.
* `correlation_x2d`: List of plots to be placed on the "CorrelationX2D" canvas of the online monitor. By default, this canvas displays `TestAlgorithm/%DETECTOR%/correlationX_2Dlocal` for all detectors.
* `correlation_y2d`: List of plots to be placed on the "CorrelationY2D" canvas of the online monitor. By default, this canvas displays `TestAlgorithm/%DETECTOR%/correlationY_2Dlocal` for all detectors.
* `correlation_x`: List of plots to be placed on the "CorrelationX" canvas of the online monitor. By default, this canvas displays `Correlations/%DETECTOR%/correlationX` for all detectors.
* `correlation_y`: List of plots to be placed on the "CorrelationY" canvas of the online monitor. By default, this canvas displays `Correlations/%DETECTOR%/correlationY` for all detectors.
* `correlation_x2d`: List of plots to be placed on the "CorrelationX2D" canvas of the online monitor. By default, this canvas displays `Correlations/%DETECTOR%/correlationX_2Dlocal` for all detectors.
* `correlation_y2d`: List of plots to be placed on the "CorrelationY2D" canvas of the online monitor. By default, this canvas displays `Correlations/%DETECTOR%/correlationY_2Dlocal` for all detectors.
* `charge_distributions`: List of plots to be placed on the "ChargeDistributions" canvas of the online monitor. By default, this canvas displays `Clustering4D/%DETECTOR%/clusterCharge` for all detectors.
* `event_times`: List of plots to be placed on the "EventTimes" canvas of the online monitor. By default, this canvas displays `TestAlgorithm/%DETECTOR%/eventTimes` for all detectors.
* `event_times`: List of plots to be placed on the "EventTimes" canvas of the online monitor. By default, this canvas displays `Correlations/%DETECTOR%/eventTimes` for all detectors.
### Plots produced
Overview canvas:
......
......@@ -20,7 +20,7 @@ clkdivend2 = 15
[Clustering4D]
[TestAlgorithm]
[Correlations]
make_correlations = true
do_timing_cut = true
timing_cut = 2.5ms
......
......@@ -15,7 +15,7 @@ input_directory = "data/timepix3tel_atlaspix_WHICHBEAM/data/Run29674_cut"
[Clustering4D]
[TestAlgorithm]
[Correlations]
make_correlations=true
do_timing_cut = true
timing_cut = 2.5ms
......
......@@ -18,7 +18,7 @@ clkdivend2 = 15
[Clustering4D]
[TestAlgorithm]
[Correlations]
make_correlations=true
do_timing_cut = true
timing_cut = 20ns
......
......@@ -13,7 +13,7 @@ input_directory = "data/timepix3tel_atlaspix_WHICHBEAM/data/Run29674_cut"
[Clustering4D]
[TestAlgorithm]
[Correlations]
make_correlations=true
do_timing_cut = true
timing_cut = 20ns
......
......@@ -11,7 +11,7 @@ read_mcparticles = true
[Clustering4D]
[TestAlgorithm]
[Correlations]
make_correlations=true
do_timing_cut = true
time_cut_abs = 20ns
......
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