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" |
ECbmRecoMode | f_glb_mode = ECbmRecoMode::Undefined |
Int_t | f_glb_numTs = -1 |
Int_t | f_glb_firstTs = 0 |
ECbmEvbuildType | f_evbuild_type = ECbmEvbuildType::Undefined |
EOverlapModeRaw | f_evbuild_ovlapmode = EOverlapModeRaw::Undefined |
ECbmModuleId | f_evbuild_trigDet = ECbmModuleId::kNotExist |
int64_t | f_evbuild_trigNumMin = 0 |
int64_t | f_evbuild_trigNumMax = 0 |
float | f_evbuild_trigWinMin = std::nanf("undefined") |
float | f_evbuild_trigWinMax = std::nanf("undefined") |
bool | f_sts_usegpu = false |
float | f_trd_trigThresh = std::nanf("undefined") |
std::string | f_lit_trackType = "" |
std::string | f_lit_mergeType = "" |
Private Member Functions | |
ECbmEvbuildType | ToCbmEvbuildType (std::string tag) |
ECbmRecoMode | ToCbmRecoMode (std::string tag) |
EOverlapModeRaw | ToOverlapModeRaw (std::string tag) |
std::string | ToString (ECbmEvbuildType type) |
std::string | ToString (ECbmRecoMode mode) |
std::string | ToString (EOverlapModeRaw mode) |
YAML::Node | ToYaml () |
Save to YAML node. | |
Configuration for the offline reconstruction chain, replacing run_reco.C. With interfaces to YAML.
Definition at line 41 of file reco/offline/steer/Config.h.
|
default |
Constructor.
|
virtualdefault |
Destructor.
void cbm::reco::offline::Config::LoadYaml | ( | const std::string & | filename | ) |
Load from YAML file.
filename | Name of input YAML file |
Referenced by cbm::reco::offline::Application::Exec(), and cbm::reco::offline::Run::LoadConfig().
|
inline |
Save to YAML file.
filename | Name of output YAML file |
Definition at line 69 of file reco/offline/steer/Config.h.
References ToYaml().
|
private |
Definition at line 63 of file reco/offline/steer/Config.cxx.
References cbm::reco::offline::Ideal, cbm::reco::offline::Real, and cbm::reco::offline::Undefined.
|
private |
|
private |
Definition at line 93 of file reco/offline/steer/Config.cxx.
References AllowOverlap, MergeOverlap, NoOverlap, and Undefined.
|
inline |
String output (YAML format)
Definition at line 58 of file reco/offline/steer/Config.h.
References ToYaml().
Referenced by cbm::reco::offline::Run::Exec(), and ToYaml().
|
private |
Definition at line 110 of file reco/offline/steer/Config.cxx.
References cbm::reco::offline::Ideal, and cbm::reco::offline::Real.
|
private |
Definition at line 123 of file reco/offline/steer/Config.cxx.
References EventByEvent, and Timeslice.
|
private |
Definition at line 136 of file reco/offline/steer/Config.cxx.
References AllowOverlap, MergeOverlap, and NoOverlap.
|
private |
Save to YAML node.
Definition at line 151 of file reco/offline/steer/Config.cxx.
References f_evbuild_ovlapmode, f_evbuild_trigDet, f_evbuild_trigNumMax, f_evbuild_trigNumMin, f_evbuild_trigWinMax, f_evbuild_trigWinMin, f_evbuild_type, f_glb_firstTs, f_glb_logColor, f_glb_logLevel, f_glb_logVerbose, f_glb_mode, f_glb_numTs, f_lit_mergeType, f_lit_trackType, f_sts_usegpu, f_trd_trigThresh, and ToString().
Referenced by SaveYaml(), and ToString().
EOverlapModeRaw cbm::reco::offline::Config::f_evbuild_ovlapmode = EOverlapModeRaw::Undefined |
Definition at line 99 of file reco/offline/steer/Config.h.
Referenced by cbm::reco::offline::TaskFactory::RegisterDigiEventBuilder(), and ToYaml().
ECbmModuleId cbm::reco::offline::Config::f_evbuild_trigDet = ECbmModuleId::kNotExist |
Definition at line 100 of file reco/offline/steer/Config.h.
Referenced by cbm::reco::offline::TaskFactory::RegisterDigiEventBuilder(), and ToYaml().
int64_t cbm::reco::offline::Config::f_evbuild_trigNumMax = 0 |
Definition at line 102 of file reco/offline/steer/Config.h.
Referenced by cbm::reco::offline::TaskFactory::RegisterDigiEventBuilder(), and ToYaml().
int64_t cbm::reco::offline::Config::f_evbuild_trigNumMin = 0 |
Definition at line 101 of file reco/offline/steer/Config.h.
Referenced by cbm::reco::offline::TaskFactory::RegisterDigiEventBuilder(), and ToYaml().
float cbm::reco::offline::Config::f_evbuild_trigWinMax = std::nanf("undefined") |
Definition at line 104 of file reco/offline/steer/Config.h.
Referenced by cbm::reco::offline::TaskFactory::RegisterDigiEventBuilder(), and ToYaml().
float cbm::reco::offline::Config::f_evbuild_trigWinMin = std::nanf("undefined") |
Definition at line 103 of file reco/offline/steer/Config.h.
Referenced by cbm::reco::offline::TaskFactory::RegisterDigiEventBuilder(), and ToYaml().
ECbmEvbuildType cbm::reco::offline::Config::f_evbuild_type = ECbmEvbuildType::Undefined |
Definition at line 98 of file reco/offline/steer/Config.h.
Referenced by cbm::reco::offline::TaskFactory::RegisterDigiEventBuilder(), cbm::reco::offline::TaskFactory::RegisterMvdReco(), and ToYaml().
Int_t cbm::reco::offline::Config::f_glb_firstTs = 0 |
Definition at line 95 of file reco/offline/steer/Config.h.
Referenced by cbm::reco::offline::Run::Exec(), and ToYaml().
std::string cbm::reco::offline::Config::f_glb_logColor = "true" |
Definition at line 92 of file reco/offline/steer/Config.h.
Referenced by cbm::reco::offline::Run::Exec(), and ToYaml().
std::string cbm::reco::offline::Config::f_glb_logLevel = "INFO" |
Definition at line 90 of file reco/offline/steer/Config.h.
Referenced by cbm::reco::offline::Run::Exec(), and ToYaml().
std::string cbm::reco::offline::Config::f_glb_logVerbose = "LOW" |
Definition at line 91 of file reco/offline/steer/Config.h.
Referenced by cbm::reco::offline::Run::Exec(), and ToYaml().
ECbmRecoMode cbm::reco::offline::Config::f_glb_mode = ECbmRecoMode::Undefined |
Definition at line 93 of file reco/offline/steer/Config.h.
Referenced by cbm::reco::offline::Run::CreateTopology(), cbm::reco::offline::TaskFactory::RegisterCaTracking(), cbm::reco::offline::TaskFactory::RegisterMvdReco(), cbm::reco::offline::TaskFactory::RegisterStsReco(), cbm::reco::offline::TaskFactory::RegisterTrdReco(), and ToYaml().
Int_t cbm::reco::offline::Config::f_glb_numTs = -1 |
Definition at line 94 of file reco/offline/steer/Config.h.
Referenced by cbm::reco::offline::Run::Exec(), and ToYaml().
std::string cbm::reco::offline::Config::f_lit_mergeType = "" |
Definition at line 114 of file reco/offline/steer/Config.h.
Referenced by cbm::reco::offline::TaskFactory::RegisterGlobalTracking(), and ToYaml().
std::string cbm::reco::offline::Config::f_lit_trackType = "" |
Definition at line 113 of file reco/offline/steer/Config.h.
Referenced by cbm::reco::offline::TaskFactory::RegisterGlobalTracking(), and ToYaml().
bool cbm::reco::offline::Config::f_sts_usegpu = false |
Definition at line 107 of file reco/offline/steer/Config.h.
Referenced by cbm::reco::offline::TaskFactory::RegisterStsReco(), and ToYaml().
float cbm::reco::offline::Config::f_trd_trigThresh = std::nanf("undefined") |
Definition at line 110 of file reco/offline/steer/Config.h.
Referenced by cbm::reco::offline::TaskFactory::RegisterTrdReco(), and ToYaml().