Commit 8a9fa957 authored by Morag Jean Williams's avatar Morag Jean Williams
Browse files

Merge branch 'unify_configkeys' into 'master'

Unify Configuration Keys

Closes #46

See merge request !81
parents 98dd6f1f 582cfa5a
Pipeline #652109 passed with stages
in 17 minutes and 55 seconds
......@@ -26,17 +26,15 @@ For each `track` with associated DUT `clusters` the following information is wri
* Intercept with the DUT (3D position vector)
### Parameters
* `DUT`: Name of the DUT plane.
* `fileName`: Name of the data file to create, relative to the output directory of the framework. The file extension `.root` will be appended if not present. Default value is `outputTuples.root`.
* `treeName`: Name of the tree inside the outputted ROOT file. Default value is `tree`.
* `file_name`: Name of the data file to create, relative to the output directory of the framework. The file extension `.root` will be appended if not present. Default value is `outputTuples.root`.
* `tree_name`: Name of the tree inside the outputted ROOT file. Default value is `tree`.
### Plots produced
No plots are produced.
### Usage
```toml
[DataOutput]
DUT = "W0005_H03"
fileName = "myOutputFile.root"
treeName = "myTree"
[TreeWriterDUT]
file_name = "myOutputFile.root"
tree_name = "myTree"
```
......@@ -9,8 +9,8 @@ using namespace std;
TreeWriterDUT::TreeWriterDUT(Configuration config, std::shared_ptr<Detector> detector)
: Module(std::move(config), detector), m_detector(detector) {
m_fileName = m_config.get<std::string>("fileName", "outputTuples.root");
m_treeName = m_config.get<std::string>("treeName", "tree");
m_fileName = m_config.get<std::string>("file_name", "outputTuples.root");
m_treeName = m_config.get<std::string>("tree_name", "tree");
}
/*
......
......@@ -3,24 +3,23 @@ log_level = "WARNING"
log_format = "DEFAULT"
detectors_file = "geometries/geometry_timepix3_telescope.conf"
histogramFile = "histograms_run9444.root"
histogram_file = "histograms_run9444.root"
[Metronome]
eventLength = 200us
event_length = 200us
[EventLoaderTimepix3]
inputDirectory = "data/timepix3tel_ebeam120"
input_directory = "data/timepix3tel_ebeam120"
[Clustering4D]
[TestAlgorithm]
makeCorrelations=true
doTimingCut = true
eventLength = 100ns
timingCut = 20ns
make_correlations=true
do_timing_cut = true
timing_cut = 20ns
[Tracking4D]
minHitsOnTrack = 5
min_hits_on_track = 5
[AnalysisTelescope]
......
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