QualityControl  1.5.1
O2 Data Quality Control Framework
DataProducer.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_DATAPRODUCER_H
17 #define QUALITYCONTROL_DATAPRODUCER_H
18 
19 #include <Framework/DataProcessorSpec.h>
20 
22 {
23 
35 framework::DataProcessorSpec
36  getDataProducerSpec(size_t minSize, size_t maxSize, double rate, uint64_t amount = 0, size_t index = 0,
37  std::string monitoringUrl = "", bool fill = true);
38 
50 framework::AlgorithmSpec
51  getDataProducerAlgorithm(framework::ConcreteDataMatcher output, size_t minSize, size_t maxSize, double rate,
52  uint64_t amount = 0, std::string monitoringUrl = "", bool fill = true);
53 
54 } // namespace o2::quality_control::core
55 
56 #endif //QUALITYCONTROL_DATAPRODUCER_H
framework::DataProcessorSpec getDataProducerSpec(size_t minSize, size_t maxSize, double rate, uint64_t amount=0, size_t index=0, std::string monitoringUrl="", bool fill=true)
Returns a random data producer specification which publishes on {"TST", "RAWDATA", <index>}.
Definition: DataProducer.cxx:32
These methods can be used to build a complex processing topology. It spawns 3 separate dummy processi...
Definition: Activity.h:19
framework::AlgorithmSpec getDataProducerAlgorithm(framework::ConcreteDataMatcher output, size_t minSize, size_t maxSize, double rate, uint64_t amount=0, std::string monitoringUrl="", bool fill=true)
Returns an algorithm generating random messages.