Commit 467e8b96 authored by Simon Spannagel's avatar Simon Spannagel
Browse files

TrackingSpatial: update parameter names

parent e95072c9
# TrackingSpatial
**Maintainer**: Daniel Hynds (<daniel.hynds@cern.ch>)
**Module Type**: *GLOBAL*
**Status**: Functional
**Maintainer**: Daniel Hynds (<daniel.hynds@cern.ch>)
**Module Type**: *GLOBAL*
**Status**: Functional
### Description
This module performs track finding using only positional information (no timing information). It is based on a linear extrapolation along the Z-axis, followed by a nearest neighbour search.
### Parameters
* `spatialCut`: Cut on the maximum distance between the track and cluster for them to be considered associated. Default value is `200um`.
* `spatialCutDUT`: Cut on the maximum distance between the track and cluster for them to be considered associated for the DUT. Default value is `200um`.
* `minHitsOnTrack`: The minimum number of planes with clusters associated to a track for it to be stored. Default value is `6`.
* `excludeDUT`: Boolean to set if the DUT should be included in the track fitting. Default value is `true`.
* `DUT`: Name of the DUT plane.
* `spatial_cut`: Cut on the maximum distance between the track and cluster for them to be considered associated. Default value is `200um`.
* `min_hits_on_track`: The minimum number of planes with clusters associated to a track for it to be stored. Default value is `6`.
* `exclude_dut`: Boolean to set if the DUT should be included in the track fitting. Default value is `true`.
### Plots produced
* Track chi^2 histogram
......@@ -29,8 +27,7 @@ Plots produced per device:
### Usage
```toml
[SpatialTracking]
spatialCut = 0.2
minHitsOnTrack = 5
excludeDUT = true
DUT = "W0005_H03"
spatial_cut = 0.2mm
min_hits_on_track = 5
exclude_dut = true
```
......@@ -7,9 +7,9 @@ using namespace std;
TrackingSpatial::TrackingSpatial(Configuration config, std::vector<std::shared_ptr<Detector>> detectors)
: Module(std::move(config), std::move(detectors)) {
spatialCut = m_config.get<double>("spatialCut", static_cast<double>(Units::convert(200, "um")));
minHitsOnTrack = m_config.get<size_t>("minHitsOnTrack", 6);
excludeDUT = m_config.get<bool>("excludeDUT", true);
spatialCut = m_config.get<double>("spatial_cut", static_cast<double>(Units::convert(200, "um")));
minHitsOnTrack = m_config.get<size_t>("min_hits_on_track", 6);
excludeDUT = m_config.get<bool>("exclude_dut", true);
}
/*
......
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