Commit e95072c9 authored by Simon Spannagel's avatar Simon Spannagel
Browse files

Tracking4D: update parameter names

parent 7dbf3b49
......@@ -9,11 +9,10 @@ This module performs a basic tracking method.
Clusters from the first plane in Z (named the seed plane) are related to clusters close in time on the other detector planes using straight line tracks. The DUT plane can be excluded from the track finding.
### Parameters
* `timingCut`: Maximum time difference allowed between clusters for association. Default value is `200ns`.
* `spatialCut`: Maximum spatial distance in the XY plane allowed between clusters for association for the telescope planes. Default value is `0.2mm`.
* `minHitsOnTrack`: Minium number of associated clusters needed to create a track, equivalent to the minimum number of planes required for each track. Default value is `6`.
* `excludeDUT`: Boolean to chose if the DUT plane is included in the track finding. Default value is `true`.
* `DUT`: Name of the DUT plane.
* `timing_cut`: Maximum time difference allowed between clusters for association. Default value is `200ns`.
* `spatial_cut`: Maximum spatial distance in the XY plane allowed between clusters for association for the telescope planes. Default value is `0.2mm`.
* `min_hits_on_track`: Minium number of associated clusters needed to create a track, equivalent to the minimum number of planes required for each track. Default value is `6`.
* `exclude_dut`: Boolean to chose if the DUT plane is included in the track finding. Default value is `true`.
### Plots produced
* Track chi^2 histogram
......@@ -37,9 +36,8 @@ For each detector the following plots are produced:
### Usage
```toml
[BasicTracking]
minHitsOnTrack = 4
spatialCut = 300um
DUT = "W13_01"
timingCut = 200ns
excludeDUT = true
min_hits_on_track = 4
spatial_cut = 300um
timing_cut = 200ns
exclude_dut = true
```
......@@ -10,10 +10,10 @@ Tracking4D::Tracking4D(Configuration config, std::vector<std::shared_ptr<Detecto
: Module(std::move(config), std::move(detectors)) {
// Default values for cuts
timingCut = m_config.get<double>("timingCut", static_cast<double>(Units::convert(200, "ns")));
spatialCut = m_config.get<double>("spatialCut", static_cast<double>(Units::convert(0.2, "mm")));
minHitsOnTrack = m_config.get<size_t>("minHitsOnTrack", 6);
excludeDUT = m_config.get<bool>("excludeDUT", true);
timingCut = m_config.get<double>("timing_cut", static_cast<double>(Units::convert(200, "ns")));
spatialCut = m_config.get<double>("spatial_cut", static_cast<double>(Units::convert(0.2, "mm")));
minHitsOnTrack = m_config.get<size_t>("min_hits_on_track", 6);
excludeDUT = m_config.get<bool>("exclude_dut", true);
}
void Tracking4D::initialise() {
......
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