Project
Loading...
Searching...
No Matches
mch-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 "
MCHConditions/DCSAliases.h
"
15
22
o2::framework::WorkflowSpec
defineDataProcessing
(
o2::framework::ConfigContext
const
& configcontext)
23
{
24
std::vector<o2::dcs::test::HintType> dphints;
25
26
for
(
auto
a
:
o2::mch::dcs::aliases
({
o2::mch::dcs::MeasurementType::HV_V
})) {
27
dphints.emplace_back(
o2::dcs::test::DataPointHint<double>
{
a
, 1630, 1670});
28
}
29
30
for
(
auto
a
:
o2::mch::dcs::aliases
({
o2::mch::dcs::MeasurementType::HV_I
})) {
31
dphints.emplace_back(
o2::dcs::test::DataPointHint<double>
{
a
, 0.1, 10});
32
}
33
34
for
(
auto
a
:
o2::mch::dcs::aliases
({
o2::mch::dcs::MeasurementType::LV_V_FEE_DIGITAL
})) {
35
dphints.emplace_back(
o2::dcs::test::DataPointHint<double>
{
a
, 1.15, 1.25});
36
}
37
38
for
(
auto
a
:
o2::mch::dcs::aliases
({
o2::mch::dcs::MeasurementType::LV_V_FEE_ANALOG
})) {
39
dphints.emplace_back(
o2::dcs::test::DataPointHint<double>
{
a
, 1.15, 1.25});
40
}
41
42
for
(
auto
a
:
o2::mch::dcs::aliases
({
o2::mch::dcs::MeasurementType::LV_V_SOLAR
})) {
43
dphints.emplace_back(
o2::dcs::test::DataPointHint<double>
{
a
, 2.4, 2.6});
44
}
45
46
o2::framework::WorkflowSpec
specs;
47
specs.emplace_back(
o2::dcs::test::getDCSRandomDataGeneratorSpec
(dphints,
"MCH"
));
48
return
specs;
49
}
DCSAliases.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
mch-dcs-sim-workflow.cxx:22
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::mch::dcs::MeasurementType::LV_V_SOLAR
@ LV_V_SOLAR
o2::mch::dcs::MeasurementType::HV_V
@ HV_V
o2::mch::dcs::MeasurementType::LV_V_FEE_ANALOG
@ LV_V_FEE_ANALOG
o2::mch::dcs::MeasurementType::HV_I
@ HV_I
o2::mch::dcs::MeasurementType::LV_V_FEE_DIGITAL
@ LV_V_FEE_DIGITAL
o2::mch::dcs::aliases
std::vector< std::string > aliases(std::vector< MeasurementType > types={ MeasurementType::HV_V, MeasurementType::HV_I, MeasurementType::LV_V_FEE_ANALOG, MeasurementType::LV_V_FEE_DIGITAL, MeasurementType::LV_V_SOLAR})
Definition
DCSAliases.cxx:37
runDataProcessing.h
o2::dcs::test::DataPointHint
Definition
DCSDataPointHint.h:26
Detectors
MUON
Common
src
mch-dcs-sim-workflow.cxx
Generated on Tue Feb 25 2025 23:16:21 for Project by
1.9.8