QualityControl  1.5.1
O2 Data Quality Control Framework
TrendingTaskConfig.h
Go to the documentation of this file.
1 // Copyright CERN and copyright holders of ALICE O2. This software is
2 // distributed under the terms of the GNU General Public License v3 (GPL
3 // Version 3), copied verbatim in the file "COPYING".
4 //
5 // See http://alice-o2.web.cern.ch/license for full licensing information.
6 //
7 // In applying this license CERN does not waive the privileges and immunities
8 // granted to it by virtue of its status as an Intergovernmental Organization
9 // or submit itself to any jurisdiction.
10 
15 
16 #ifndef QUALITYCONTROL_TRENDINGTASKCONFIG_H
17 #define QUALITYCONTROL_TRENDINGTASKCONFIG_H
18 
19 #include <vector>
20 #include <string>
22 
24 {
25 
26 //todo pretty print
29  TrendingTaskConfig() = default;
30  TrendingTaskConfig(std::string name, const boost::property_tree::ptree& config);
31  ~TrendingTaskConfig() = default;
32 
33  struct Plot {
34  std::string name;
35  std::string title;
36  std::string varexp;
37  std::string selection;
38  std::string option;
39  std::string graphErrors;
40  };
41 
42  struct DataSource {
43  std::string type;
44  std::string path;
45  std::string name;
46  std::string reductorName;
47  std::string moduleName;
48  };
49 
50  std::vector<Plot> plots;
51  std::vector<DataSource> dataSources;
52 };
53 
54 } // namespace o2::quality_control::postprocessing
55 
56 #endif //QUALITYCONTROL_TRENDINGTASKCONFIG_H
Post-processing configuration structure.
Definition: PostProcessingConfig.h:29
TrendingTask configuration structure.
Definition: TrendingTaskConfig.h:28
Definition: PostProcessingConfig.h:23