Project
Loading...
Searching...
No Matches
FDDDCSDataProcessorSpec.h
Go to the documentation of this file.
1// Copyright 2019-2020 CERN and copyright holders of ALICE O2.
2// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
3// All rights not expressly granted are reserved.
4//
5// This software is distributed under the terms of the GNU General Public
6// License v3 (GPL Version 3), copied verbatim in the file "COPYING".
7//
8// In applying this license CERN does not waive the privileges and immunities
9// granted to it by virtue of its status as an Intergovernmental Organization
10// or submit itself to any jurisdiction.
11
16
17#ifndef O2_FDD_DATAPROCESSORSPEC_H
18#define O2_FDD_DATAPROCESSORSPEC_H
19
22#include "Framework/Task.h"
24
25namespace o2
26{
27namespace framework
28{
29
31{
32 o2::header::DataDescription ddDCSDPs = "FDD_DCSDPs";
33 std::vector<OutputSpec> outputs;
34 outputs.emplace_back(ConcreteDataTypeMatcher{o2::calibration::Utils::gDataOriginCDBPayload, ddDCSDPs}, Lifetime::Sporadic);
35 outputs.emplace_back(ConcreteDataTypeMatcher{o2::calibration::Utils::gDataOriginCDBWrapper, ddDCSDPs}, Lifetime::Sporadic);
36
37 return DataProcessorSpec{
38 "fdd-dcs-data-processor",
39 Inputs{{"input", "DCS", "FDDDATAPOINTS"}},
40 outputs,
41 AlgorithmSpec{adaptFromTask<o2::fdd::FDDDCSDataProcessor>("FDD", ddDCSDPs)},
42 Options{{"ccdb-path", VariantType::String, "http://localhost:8080", {"Path to CCDB"}},
43 {"use-ccdb-to-configure", VariantType::Bool, false, {"Use CCDB to configure"}},
44 {"use-verbose-mode", VariantType::Bool, false, {"Use verbose mode"}},
45 {"DPs-update-interval", VariantType::Int64, 600ll, {"Interval (in s) after which to update the DPs CCDB entry"}}}};
46}
47
48} // namespace framework
49} // namespace o2
50
51#endif // O2_FDD_DATAPROCESSORSPEC_H
Utils and constants for calibration and related workflows.
Task for processing FDD DCS data.
DataProcessorSpec getFDDDCSDataProcessorSpec()
std::vector< ConfigParamSpec > Options
std::vector< InputSpec > Inputs
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
static constexpr o2::header::DataOrigin gDataOriginCDBWrapper
Definition Utils.h:44
static constexpr o2::header::DataOrigin gDataOriginCDBPayload
Definition Utils.h:43