Commit 18c4dbc7 authored by Simon Spannagel's avatar Simon Spannagel
Browse files

More modules ported from CLICdp-Note-2019-006

parent 9b682ba3
Pipeline #1261926 passed with stages
in 12 minutes and 30 seconds
......@@ -6,7 +6,7 @@
### Description
This module collects `pixel` and `cluster` objects from the clipboard and creates correlation and timing plots with respect to the reference detector.
No plots are produced for `aux` devices.
### Parameters
* `do_time_cut`: Boolean to switch on/off the cut on cluster times for correlations. Defaults to `false`.
......@@ -17,28 +17,22 @@ This module collects `pixel` and `cluster` objects from the clipboard and create
### Plots produced
For each device the following plots are produced:
* 2D hitmap
* 2D event times histogram
* Correlation in X
* Correlation between X(reference) and Y
* Correlation in Y
* Correlation between Y(reference) and X
* 2D correlation in X in local coordinates
* 2D correlation in Y in local coordinates
* 2D correlation between columns
* 2D correlation between columns(reference) and rows
* 2D correlation between rows
* 2D correlation between rows(reference) and columns
* 2D correlation in X in global coordinates
* 2D correlation in Y in global coordinates
* Correlation in X in global coordinates versus time
* Correlation in Y in global coordinates versus time
* Correlation times (nanosecond binning) histogram, range covers 2 * `timing_cut`
* 2D correlation times over time histogram
* Correlation times (on pixel level, all other histograms take clusters)
* Correlation times (integer values) histogram
* 2D histograms:
* Hitmaps on pixel and cluster-level
* Time correlation over time
* Correlations in X/Y, columns/columns, columns/rows, rows/rows and rows/columns in local coordinates
* Correlations in X and Y in global coordinates
* 1D histograms:
* Correlations between the device and the reference in X/X, Y/Y, X/Y, Y/X
* Correlations in X and Y in global coordinates versus time
* Correlation times (nanosecond binning) histogram, range covers 2 * `timing_cut`
* Correlation times (on pixel level, all other histograms take clusters)
* Correlation times (integer values) histogram
### Usage
```toml
[Correlations]
do_time_cut = true
time_cut_rel = 5.0
```
......@@ -9,10 +9,10 @@ Module to establish an association between clusters on a DUT plane and a referen
The association allows for cuts in position and time.
For the spatial cut, two options are implemented which can be chosen using `use_cluster_centre`.
By default, the distance of the closest pixel of a cluster to the track intercept is compared to the `spatial_cut` in local coordinates.
By default, the distance of the closest pixel of a cluster to the track intercept is compared to the spatial cut in local coordinates.
If larger than the cut, the cluster is not associated to the track.
This option can be chosen, e.g. for an efficiency analysis, when the cluster centre might be pulled away from the track intercept by a delta electron in the silicon.
The other option is to compare the distance between the cluster centre and the track intercept to the `spatial_cut`(also in local coordinates).
This option can be chosen, e.g. for an efficiency analysis, when the cluster center might be pulled away from the track intercept by a delta electron in the silicon.
The other option is to compare the distance between the cluster center and the track intercept to the spatial cut (also in local coordinates).
### Parameters
* `spatial_cut_rel`: Factor by which the `spatial_resolution` in X and Y of each detector plane will be multiplied. These calculated value are defining an ellipse which is then used as the maximum distance in the XY plane allowed between clusters and a track for association to the track. By default, a relative spatial cut is applied. Absolute and relative spatial cuts are mutually exclusive. Defaults to `3.0`.
......@@ -22,16 +22,12 @@ The other option is to compare the distance between the cluster centre and the t
* `use_cluster_centre`: If set true, the cluster centre will be compared to the track position for the spatial cut. If false, the nearest pixel in the cluster will be used. Defaults to `false`.
### Plots produced
* distance in x from the cluster to the pixel closest to the track
* distance in y from the cluster to the pixel closest to the track
* distance in x from the cluster to the pixel closest to the track for pixels with column width = 1
* distance in y from the cluster to the pixel closest to the track for pixels with row width = 1
* distance in x from the cluster to the pixel closest to the track for pixels with column width = 2
* distance in y from the cluster to the pixel closest to the track for pixels with row width = 2
* distance in x from the cluster to the pixel closest to the track for pixels with column width = 3
* distance in y from the cluster to the pixel closest to the track for pixels with row width = 3
* distribution of number of associated clusters per track
* Number of clusters discarded by a given cut (currently only spatial and timing cuts are implemented)
For the DUT, the following plots are produced:
* Histograms of the distance in X/Y from the cluster to the pixel closest to the track for various cluster sizes
* Histogram of the number of associated clusters per track
* Histogram of the number of clusters discarded by a given cut
### 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