CbmRoot
Loading...
Searching...
No Matches
cbm::algo::evbuild::DigiEventSelectorConfig Class Reference

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
 

Detailed Description

Configuration of the DigiEventSelector class.

Author
Dominik Smith d.smi.nosp@m.th@ .nosp@m.gsi.d.nosp@m.e
Shreya Roy s.roy.nosp@m.@gsi.nosp@m..de
Volker Friese v.fri.nosp@m.ese@.nosp@m.gsi.d.nosp@m.e
Since
26.01.2023

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.

Constructor & Destructor Documentation

◆ DigiEventSelectorConfig()

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().

Member Function Documentation

◆ IsEmpty()

bool cbm::algo::evbuild::DigiEventSelectorConfig::IsEmpty ( ) const
inline

Presence of selection criteria.

Definition at line 43 of file DigiEventSelectorConfig.h.

References fMinNumDigis, and fMinNumLayers.

Referenced by cbm::algo::evbuild::DigiEventSelector::ToString().

◆ ToYaml()

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().

Friends And Related Symbol Documentation

◆ DigiEventSelector

friend class DigiEventSelector
friend

Definition at line 36 of file DigiEventSelectorConfig.h.

Member Data Documentation

◆ fMinNumDigis

std::map<ECbmModuleId, size_t> cbm::algo::evbuild::DigiEventSelectorConfig::fMinNumDigis
private

◆ fMinNumLayers

std::map<ECbmModuleId, size_t> cbm::algo::evbuild::DigiEventSelectorConfig::fMinNumLayers
private

The documentation for this class was generated from the following files: