CbmRoot
|
Configuration of the DigiEventSelector class. More...
#include <DigiEventSelectorConfig.h>
Public Member Functions | |
DigiEventSelectorConfig (YAML::Node config) | |
Constructor from YAML. | |
bool | IsEmpty () const |
Presence of selection criteria. | |
YAML::Node | ToYaml () const |
Save to YAML. | |
Private Attributes | |
std::map< ECbmModuleId, size_t > | fMinNumDigis |
Key: detector, value: minimal number of digis. | |
std::map< ECbmModuleId, size_t > | fMinNumLayers |
Key: detector, value: Minimal number of layers. | |
Friends | |
class | DigiEventSelector |
Configuration of the DigiEventSelector class.
Holds minimum values for number of digis per event and detector system and for the number of active layers/stations (containing at least one digi).
None of the parameters are mandatory.
Definition at line 34 of file DigiEventSelectorConfig.h.
cbm::algo::evbuild::DigiEventSelectorConfig::DigiEventSelectorConfig | ( | YAML::Node | config | ) |
Constructor from YAML.
Definition at line 14 of file DigiEventSelectorConfig.cxx.
References fMinNumDigis, fMinNumLayers, L_, ToCbmModuleIdCaseInsensitive(), and cbm::algo::ToString().
|
inline |
Presence of selection criteria.
Definition at line 43 of file DigiEventSelectorConfig.h.
References fMinNumDigis, and fMinNumLayers.
Referenced by cbm::algo::evbuild::DigiEventSelector::ToString().
YAML::Node cbm::algo::evbuild::DigiEventSelectorConfig::ToYaml | ( | ) | const |
Save to YAML.
Definition at line 42 of file DigiEventSelectorConfig.cxx.
References fMinNumDigis, fMinNumLayers, and cbm::algo::ToString().
Referenced by cbm::algo::evbuild::Config::ToYaml().
|
friend |
Definition at line 36 of file DigiEventSelectorConfig.h.
|
private |
Key: detector, value: minimal number of digis.
Definition at line 50 of file DigiEventSelectorConfig.h.
Referenced by DigiEventSelectorConfig(), IsEmpty(), cbm::algo::evbuild::DigiEventSelector::operator()(), cbm::algo::evbuild::DigiEventSelector::ToString(), and ToYaml().
|
private |
Key: detector, value: Minimal number of layers.
Definition at line 51 of file DigiEventSelectorConfig.h.
Referenced by DigiEventSelectorConfig(), IsEmpty(), cbm::algo::evbuild::DigiEventSelector::operator()(), cbm::algo::evbuild::DigiEventSelector::ToString(), and ToYaml().