5#ifndef CBM_ALGO_EVBUILD_DIGIEVENTSELECTORCONFIG_H
6#define CBM_ALGO_EVBUILD_DIGIEVENTSELECTORCONFIG_H 1
12#include <unordered_set>
14#include <yaml-cpp/yaml.h>
20 class EventbuildChain;
Configuration of the DigiEventSelector class.
bool IsEmpty() const
Presence of selection criteria.
std::map< ECbmModuleId, size_t > fMinNumLayers
Key: detector, value: Minimal number of layers.
std::map< ECbmModuleId, std::unordered_set< uint32_t > > fMaskedChannels
A map of masked digi addresses, which should not participate in the event building.
YAML::Node ToYaml() const
Save to YAML.
std::map< ECbmModuleId, size_t > fMinNumDigis
Key: detector, value: minimal number of digis.
DigiEventSelectorConfig(YAML::Node config)
Constructor from YAML.
Algorithm to select CbmDigiEvents based on the number of digis and the number of activated layers in ...