Project
Loading...
Searching...
No Matches
mft-dcs-data-workflow.cxx
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
12
#include "
DetectorsDCS/DataPointIdentifier.h
"
13
#include "
DetectorsDCS/DataPointValue.h
"
14
#include "
Framework/TypeTraits.h
"
15
#include <unordered_map>
16
namespace
o2::framework
17
{
18
template
<>
19
struct
has_root_dictionary
<
std
::unordered_map<o2::dcs::DataPointIdentifier, o2::dcs::DataPointValue>,
void
> : std::true_type {
20
};
21
}
// namespace o2::framework
22
#include "
Framework/DataProcessorSpec.h
"
23
#include "
MFTDCSDataProcessorSpec.h
"
24
25
using namespace
o2::framework
;
26
27
// we need to add workflow options before including Framework/runDataProcessing
28
void
customize
(std::vector<o2::framework::ConfigParamSpec>& workflowOptions)
29
{
30
// option allowing to set parameters
31
std::vector<o2::framework::ConfigParamSpec> options{
32
{
"configKeyValues"
, VariantType::String,
""
, {
"Semicolon separated key=value strings"
}}};
33
std::swap(workflowOptions, options);
34
}
35
36
// ------------------------------------------------------------------
37
38
#include "
Framework/runDataProcessing.h
"
39
40
WorkflowSpec
defineDataProcessing
(
ConfigContext
const
& configcontext)
41
{
42
WorkflowSpec
specs;
43
o2::conf::ConfigurableParam::updateFromString
(configcontext.
options
().
get
<std::string>(
"configKeyValues"
));
44
specs.emplace_back(getMFTDCSDataProcessorSpec());
45
return
specs;
46
}
DataPointIdentifier.h
DataPointValue.h
DataProcessorSpec.h
MFTDCSDataProcessorSpec.h
TypeTraits.h
o2::conf::ConfigurableParam::updateFromString
static void updateFromString(std::string const &)
Definition
ConfigurableParam.cxx:433
o2::framework::ConfigContext
Definition
ConfigContext.h:24
o2::framework::ConfigContext::options
ConfigParamRegistry & options() const
Definition
ConfigContext.h:28
o2::framework::ConfigParamRegistry::get
T get(const char *key) const
Definition
ConfigParamRegistry.h:98
void
typedef void(APIENTRYP PFNGLCULLFACEPROC)(GLenum mode)
customize
void customize(std::vector< o2::framework::ConfigParamSpec > &workflowOptions)
Definition
mft-dcs-data-workflow.cxx:28
defineDataProcessing
WorkflowSpec defineDataProcessing(ConfigContext const &configcontext)
Definition
mft-dcs-data-workflow.cxx:40
o2::framework
Defining PrimaryVertex explicitly as messageable.
Definition
TFIDInfo.h:20
o2::framework::WorkflowSpec
std::vector< DataProcessorSpec > WorkflowSpec
Definition
HBFUtilsInitializer.h:39
std
Defining DataPointCompositeObject explicitly as copiable.
Definition
CcdbObjectInfo.h:121
runDataProcessing.h
o2::framework::has_root_dictionary
Definition
TypeTraits.h:115
Detectors
ITSMFT
MFT
condition
testWorkflow
mft-dcs-data-workflow.cxx
Generated on Fri Apr 11 2025 11:41:30 for Project by
1.9.8