CbmRoot
Loading...
Searching...
No Matches
ParFiles.h
Go to the documentation of this file.
1/* Copyright (C) 2024-2025 FIAS Frankfurt Institute for Advanced Studies, Frankfurt / Main
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Felix Weiglhofer [committer], Sergei Zharko */
4#pragma once
5
8
13
14#include <optional>
15#include <string>
16
17namespace cbm::algo
18{
21 struct ParFiles {
22 std::optional<ReadoutParFiles> readout;
23 std::optional<RecoParFiles> timesliceReco;
24 std::optional<RecoParFiles> eventReco;
25 std::optional<std::string> recoSetupPath;
26
28 util::yaml::Property(&ParFiles::readout, "readout", "Readout parameters"),
29 util::yaml::Property(&ParFiles::timesliceReco, "timesliceReco", "Timeslice reconstruction parameters"),
30 util::yaml::Property(&ParFiles::eventReco, "eventReco", "Event reconstruction parameters"),
31 util::yaml::Property(&ParFiles::recoSetupPath, "recoSetupPath", "Path to the reco-setup file"));
32 };
33
34} // namespace cbm::algo
A structure to keep parameter files for unpackers.
A structure to keep parameter files for reconstruction.
Class to hold the paths to the parameter files for the different detectors.
Definition ParFiles.h:21
CBM_YAML_PROPERTIES(util::yaml::Property(&ParFiles::readout, "readout", "Readout parameters"), util::yaml::Property(&ParFiles::timesliceReco, "timesliceReco", "Timeslice reconstruction parameters"), util::yaml::Property(&ParFiles::eventReco, "eventReco", "Event reconstruction parameters"), util::yaml::Property(&ParFiles::recoSetupPath, "recoSetupPath", "Path to the reco-setup file"))
std::optional< RecoParFiles > eventReco
event reconstruction parameters
Definition ParFiles.h:24
std::optional< RecoParFiles > timesliceReco
timeslice reconstruction parameters
Definition ParFiles.h:23
std::optional< ReadoutParFiles > readout
readout parameters
Definition ParFiles.h:22
std::optional< std::string > recoSetupPath
Path to reco-setup.
Definition ParFiles.h:25