CbmRoot
Loading...
Searching...
No Matches
EventBuilderConfig.h
Go to the documentation of this file.
1/* Copyright (C) 2021 GSI Helmholtzzentrum fuer Schwerionenforschung, Darmstadt
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Volker Friese [committer] */
4
5#ifndef CBM_ALGO_EVBUILD_EVENTBUILDERCONFIG_H
6#define CBM_ALGO_EVBUILD_EVENTBUILDERCONFIG_H 1
7
8#include "CbmDefs.h"
9
10#include <map>
11
12#include <yaml-cpp/yaml.h>
13
14
15namespace cbm::algo::evbuild
16{
17
26
27 public:
29 EventBuilderConfig(YAML::Node config);
30
32 YAML::Node ToYaml() const;
33
34
35 public:
36 std::map<ECbmModuleId, std::pair<double, double>> fWindows;
37 };
38
39
40} // namespace cbm::algo::evbuild
41
42#endif /* CBM_ALGO_EVBUILD_EVENTBUILDERCONFIG_H */
Configuration of the EventBuilder class.
EventBuilderConfig(YAML::Node config)
Constructor from YAML.
YAML::Node ToYaml() const
Save to YAML.
std::map< ECbmModuleId, std::pair< double, double > > fWindows
Key: detector; value: [tmin, tmax].