Project
Loading...
Searching...
No Matches
mid-dcs-sim-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 "
DCStestWorkflow/DCSRandomDataGeneratorSpec.h
"
13
#include "
Framework/runDataProcessing.h
"
14
#include "
MIDConditions/DCSNamer.h
"
15
21
o2::framework::WorkflowSpec
defineDataProcessing
(
o2::framework::ConfigContext
const
& configcontext)
22
{
23
std::vector<o2::dcs::test::HintType> dphints;
24
25
for
(
auto
a
:
o2::mid::dcs::aliases
({
o2::mid::dcs::MeasurementType::HV_V
})) {
26
dphints.emplace_back(
o2::dcs::test::DataPointHint<double>
{
a
, 9200, 9800});
27
}
28
29
for
(
auto
a
:
o2::mid::dcs::aliases
({
o2::mid::dcs::MeasurementType::HV_I
})) {
30
dphints.emplace_back(
o2::dcs::test::DataPointHint<double>
{
a
, 2, 10});
31
}
32
33
o2::framework::WorkflowSpec
specs;
34
specs.emplace_back(
o2::dcs::test::getDCSRandomDataGeneratorSpec
(dphints,
"MID"
));
35
return
specs;
36
}
DCSNamer.h
DCSRandomDataGeneratorSpec.h
o2::framework::ConfigContext
Definition
ConfigContext.h:24
a
GLboolean GLboolean GLboolean GLboolean a
Definition
glcorearb.h:1233
defineDataProcessing
o2::framework::WorkflowSpec defineDataProcessing(o2::framework::ConfigContext const &configcontext)
Definition
mid-dcs-sim-workflow.cxx:21
o2::dcs::test::getDCSRandomDataGeneratorSpec
o2::framework::DataProcessorSpec getDCSRandomDataGeneratorSpec(std::vector< HintType > hints={}, const char *detName="TOF")
Definition
DCSRandomDataGeneratorSpec.cxx:163
o2::framework::WorkflowSpec
std::vector< DataProcessorSpec > WorkflowSpec
Definition
HBFUtilsInitializer.h:39
o2::mid::dcs::MeasurementType::HV_V
@ HV_V
o2::mid::dcs::MeasurementType::HV_I
@ HV_I
o2::mid::dcs::aliases
std::vector< std::string > aliases(std::vector< MeasurementType > types={ MeasurementType::HV_V, MeasurementType::HV_I})
Definition
DCSNamer.cxx:127
runDataProcessing.h
o2::dcs::test::DataPointHint
Definition
DCSDataPointHint.h:26
Detectors
MUON
Common
src
mid-dcs-sim-workflow.cxx
Generated on Tue Feb 25 2025 23:16:21 for Project by
1.9.8