Commit 761fb66c authored by Simon Spannagel's avatar Simon Spannagel
Browse files

TreeWriterDUT: rename parameter, update README

parent 467e8b96
Pipeline #639365 failed with stages
in 2 minutes
......@@ -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");
}
/*
......
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