README.md 1.57 KB
Newer Older
Simon Spannagel's avatar
Simon Spannagel committed
1
## OnlineMonitor
2
3
4
5
6
7
8
9
10
**Maintainer**: Daniel Hynds (<daniel.hynds@cern.ch>)   
**Status**: Functional - some minor fixes needed

#### Description
This algorithm opens a GUI to monitor the progress of Corryvreckan reconstruction. Each canvas contains real time plots of the reconstruction, updated every 500 events. Plots are used from the `BasicTracking` and `TestAlgorithm` algorithms.

Users should be able to exit `OnlineMonitor` and leave the reconstruction still running, but currently this causes a crash.

#### Parameters
11
* `reference`: Name of the reference plane.
12
13
* `update`: Number of events after which to update, defaults to `500`.
* `canvasTitle`: Title of the canvas window to be shown, defaults to `Corryvreckan Testbeam Monitor`.
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30

#### Plots produced
Overview canvas:
* Cluster ToT of reference plane
* 2D hitmap of reference plane
* Residual in X of reference plane

Tracking canvas:
* Track chi^2
* Track angle in X

For each detector the following plots are produced:
* Hitmap canvas: 2D hitmap
* Residuals canvas: residual in X histogram
* Event times canvas: event times histogram
* Correlations X canvas: correlation in X plot
* Correlations Y canvas: correlation in Y plot
31
32
* 2D Correlations X canvas: 2D correlation in X plot
* 2D Correlations Y canvas: 2D correlation in Y plot
33
34
35
36
37
38
39
* Charge distributions canvas: cluster ToT - broken at the moment

#### Usage
```toml
[OnlineMonitor]
reference = "W0013_E03"
```
40
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`.