10#ifndef CBMSIM_DIGITIZATION_STEER_CONFIG_H
11#define CBMSIM_DIGITIZATION_STEER_CONFIG_H 1
22#include <yaml-cpp/yaml.h>
53 std::stringstream out;
64 std::ofstream fout(filename);
ECbmTreeAccess
Mode to read entries from a ROOT TTree.
std::string ToString()
String output (YAML format)
std::vector< int > f_src_id
std::vector< ECbmModuleId > f_det_deactivate
std::vector< float > f_src_rate
void SaveYaml(const std::string &filename)
Save to YAML file.
std::vector< int > f_src_embedToId
cbm::sim::TimeDist f_ts_timeDist
ECbmModuleId f_det_deactivateAllBut
YAML::Node ToYaml()
Save to YAML node.
void LoadYaml(const std::string &filename)
Load from YAML file.
virtual ~Config()=default
Destructor.
std::string f_glb_logLevel
ECbmTreeAccess ToECbmTreeAccess(std::string treeAccessString)
cbm::sim::Mode f_glb_mode
cbm::sim::TimeDist ToCbmSimTimeDist(std::string tag)
std::string f_glb_logColor
cbm::sim::Mode ToCbmDigiMode(std::string tag)
Config()=default
Constructor.
std::string f_glb_logVerbose
ECbmModuleId ToECbmModuleId(std::string moduleString)
std::vector< ECbmTreeAccess > f_src_treeAccessMode