|
CbmRoot
|
#include <Config.h>
Public Member Functions | |
| Config ()=default | |
| Constructor. | |
| virtual | ~Config ()=default |
| Destructor. | |
| void | LoadYaml (const std::string &filename) |
| Load from YAML file. | |
| std::string | ToString () |
| String output (YAML format) | |
| void | SaveYaml (const std::string &filename) |
| Save to YAML file. | |
Public Attributes | |
| std::string | f_glb_logLevel = "INFO" |
| std::string | f_glb_logVerbose = "LOW" |
| std::string | f_glb_logColor = "true" |
| cbm::sim::Mode | f_glb_mode = cbm::sim::Mode::Undefined |
| int | f_glb_numTs = -1 |
| int | f_glb_firstTs = 0 |
| ECbmModuleId | f_det_deactivateAllBut = ECbmModuleId::kNotExist |
| std::vector< ECbmModuleId > | f_det_deactivate |
| float | f_ts_tslength = 1.e5 |
| float | f_ts_startTime = 1000. |
| bool | f_ts_storeAllTS = false |
| cbm::sim::TimeDist | f_ts_timeDist |
| bool | f_bg_produceNoise = false |
| std::vector< int > | f_src_id |
| std::vector< float > | f_src_rate |
| std::vector< ECbmTreeAccess > | f_src_treeAccessMode |
| std::vector< int > | f_src_embedToId |
Private Member Functions | |
| cbm::sim::Mode | ToCbmDigiMode (std::string tag) |
| std::string | ToString (cbm::sim::Mode mode) |
| cbm::sim::TimeDist | ToCbmSimTimeDist (std::string tag) |
| std::string | ToString (cbm::sim::TimeDist dist) |
| ECbmModuleId | ToECbmModuleId (std::string moduleString) |
| std::string | ToString (ECbmModuleId moduleId) |
| ECbmTreeAccess | ToECbmTreeAccess (std::string treeAccessString) |
| std::string | ToString (ECbmTreeAccess treeAccessString) |
| YAML::Node | ToYaml () |
| Save to YAML node. | |
Configuration for the analysis tree converter, replacing run_digi_json_config.C. With interfaces to YAML.
Definition at line 34 of file sim/response/steer/Config.h.
|
default |
Constructor.
|
virtualdefault |
Destructor.
| void cbm::sim::digitization::Config::LoadYaml | ( | const std::string & | filename | ) |
|
inline |
Save to YAML file.
| filename | Name of output YAML file |
Definition at line 62 of file sim/response/steer/Config.h.
References ToYaml().
|
private |
Definition at line 70 of file sim/response/steer/Config.cxx.
References cbm::sim::EventByEvent, cbm::sim::Timebased, and cbm::sim::Undefined.
|
private |
Definition at line 98 of file sim/response/steer/Config.cxx.
References cbm::sim::Poisson, cbm::sim::Undefined, and cbm::sim::Uniform.
|
private |
|
private |
Definition at line 182 of file sim/response/steer/Config.cxx.
|
inline |
String output (YAML format)
Definition at line 51 of file sim/response/steer/Config.h.
References ToYaml().
Referenced by ToYaml().
|
private |
Definition at line 85 of file sim/response/steer/Config.cxx.
References cbm::sim::EventByEvent, and cbm::sim::Timebased.
|
private |
Definition at line 113 of file sim/response/steer/Config.cxx.
References cbm::sim::Poisson, and cbm::sim::Uniform.
|
private |
|
private |
Definition at line 197 of file sim/response/steer/Config.cxx.
|
private |
Save to YAML node.
Definition at line 210 of file sim/response/steer/Config.cxx.
References f_bg_produceNoise, f_det_deactivate, f_det_deactivateAllBut, f_glb_firstTs, f_glb_logColor, f_glb_logLevel, f_glb_logVerbose, f_glb_mode, f_glb_numTs, f_src_embedToId, f_src_id, f_src_rate, f_src_treeAccessMode, f_ts_startTime, f_ts_storeAllTS, f_ts_timeDist, f_ts_tslength, and ToString().
Referenced by SaveYaml(), and ToString().
| bool cbm::sim::digitization::Config::f_bg_produceNoise = false |
Definition at line 107 of file sim/response/steer/Config.h.
Referenced by ToYaml().
| std::vector<ECbmModuleId> cbm::sim::digitization::Config::f_det_deactivate |
Definition at line 97 of file sim/response/steer/Config.h.
Referenced by ToYaml().
| ECbmModuleId cbm::sim::digitization::Config::f_det_deactivateAllBut = ECbmModuleId::kNotExist |
Definition at line 96 of file sim/response/steer/Config.h.
Referenced by ToYaml().
| int cbm::sim::digitization::Config::f_glb_firstTs = 0 |
Definition at line 93 of file sim/response/steer/Config.h.
Referenced by ToYaml().
| std::string cbm::sim::digitization::Config::f_glb_logColor = "true" |
Definition at line 90 of file sim/response/steer/Config.h.
Referenced by ToYaml().
| std::string cbm::sim::digitization::Config::f_glb_logLevel = "INFO" |
Definition at line 88 of file sim/response/steer/Config.h.
Referenced by ToYaml().
| std::string cbm::sim::digitization::Config::f_glb_logVerbose = "LOW" |
Definition at line 89 of file sim/response/steer/Config.h.
Referenced by ToYaml().
| cbm::sim::Mode cbm::sim::digitization::Config::f_glb_mode = cbm::sim::Mode::Undefined |
Definition at line 91 of file sim/response/steer/Config.h.
Referenced by ToYaml().
| int cbm::sim::digitization::Config::f_glb_numTs = -1 |
Definition at line 92 of file sim/response/steer/Config.h.
Referenced by ToYaml().
| std::vector<int> cbm::sim::digitization::Config::f_src_embedToId |
Definition at line 113 of file sim/response/steer/Config.h.
Referenced by ToYaml().
| std::vector<int> cbm::sim::digitization::Config::f_src_id |
Definition at line 110 of file sim/response/steer/Config.h.
Referenced by ToYaml().
| std::vector<float> cbm::sim::digitization::Config::f_src_rate |
Definition at line 111 of file sim/response/steer/Config.h.
Referenced by ToYaml().
| std::vector<ECbmTreeAccess> cbm::sim::digitization::Config::f_src_treeAccessMode |
Definition at line 112 of file sim/response/steer/Config.h.
Referenced by ToYaml().
| float cbm::sim::digitization::Config::f_ts_startTime = 1000. |
Definition at line 101 of file sim/response/steer/Config.h.
Referenced by ToYaml().
| bool cbm::sim::digitization::Config::f_ts_storeAllTS = false |
Definition at line 102 of file sim/response/steer/Config.h.
Referenced by ToYaml().
| cbm::sim::TimeDist cbm::sim::digitization::Config::f_ts_timeDist |
Definition at line 103 of file sim/response/steer/Config.h.
Referenced by ToYaml().
| float cbm::sim::digitization::Config::f_ts_tslength = 1.e5 |
Definition at line 100 of file sim/response/steer/Config.h.
Referenced by ToYaml().