Project
Loading...
Searching...
No Matches
fdd-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
16
19
21{
22 std::vector<o2::dcs::test::HintType> dphints;
23 dphints.emplace_back(o2::dcs::test::DataPointHint<double>{"FDD/SIDE_A/HV_A9/[I,V]MON", 250, 350});
24 dphints.emplace_back(o2::dcs::test::DataPointHint<double>{"FDD/SIDE_C/HV_C[9,32]/[I,V]MON", 250, 350});
25 dphints.emplace_back(o2::dcs::test::DataPointHint<double>{"FDD/SIDE_C/LAYER0/PMT_0_[0..3]/[I,V]MON", 250, 350});
26 dphints.emplace_back(o2::dcs::test::DataPointHint<double>{"FDD/SIDE_C/LAYER1/PMT_1_[0..3]/[I,V]MON", 250, 350});
27 dphints.emplace_back(o2::dcs::test::DataPointHint<double>{"FDD/SIDE_A/LAYER2/PMT_2_[0..3]/[I,V]MON", 250, 350});
28 dphints.emplace_back(o2::dcs::test::DataPointHint<double>{"FDD/SIDE_A/LAYER3/PMT_3_[0..3]/[I,V]MON", 250, 350});
29 dphints.emplace_back(o2::dcs::test::DataPointHint<uint>{"FDD/PM/SIDE_A/PMT_A_9/ADC[0,1]_BASELINE", 30, 150});
30 dphints.emplace_back(o2::dcs::test::DataPointHint<uint>{"FDD/PM/SIDE_C/PMT_C_[9,32]/ADC[0,1]_BASELINE", 30, 150});
31 dphints.emplace_back(o2::dcs::test::DataPointHint<uint>{"FDD/PM/SIDE_C/LAYER0/PMT_0_[0..3]/ADC[0,1]_BASELINE", 30, 150});
32 dphints.emplace_back(o2::dcs::test::DataPointHint<uint>{"FDD/PM/SIDE_C/LAYER1/PMT_1_[0..3]/ADC[0,1]_BASELINE", 30, 150});
33 dphints.emplace_back(o2::dcs::test::DataPointHint<uint>{"FDD/PM/SIDE_A/LAYER2/PMT_2_[0..3]/ADC[0,1]_BASELINE", 30, 150});
34 dphints.emplace_back(o2::dcs::test::DataPointHint<uint>{"FDD/PM/SIDE_A/LAYER3/PMT_3_[0..3]/ADC[0,1]_BASELINE", 30, 150});
35 dphints.emplace_back(o2::dcs::test::DataPointHint<double>{"FDD/Trigger1_Central/CNT_RATE", 0, 5000000});
36 dphints.emplace_back(o2::dcs::test::DataPointHint<double>{"FDD/Trigger2_SemiCentral/CNT_RATE", 0, 5000000});
37 dphints.emplace_back(o2::dcs::test::DataPointHint<double>{"FDD/Trigger3_Vertex/CNT_RATE", 0, 5000000});
38 dphints.emplace_back(o2::dcs::test::DataPointHint<double>{"FDD/Trigger4_OrC/CNT_RATE", 0, 5000000});
39 dphints.emplace_back(o2::dcs::test::DataPointHint<double>{"FDD/Trigger5_OrA/CNT_RATE", 0, 5000000});
40 dphints.emplace_back(o2::dcs::test::DataPointHint<double>{"FDD/Background/[0..9]/CNT_RATE", 0, 50000});
41 dphints.emplace_back(o2::dcs::test::DataPointHint<double>{"FDD/Background/[A,B,C,D,E,F,G,H]/CNT_RATE", 0, 50000});
42
44 specs.emplace_back(o2::dcs::test::getDCSRandomDataGeneratorSpec(dphints, "FDD"));
45 return specs;
46}
o2::framework::WorkflowSpec defineDataProcessing(o2::framework::ConfigContext const &configcontext)
o2::framework::DataProcessorSpec getDCSRandomDataGeneratorSpec(std::vector< HintType > hints={}, const char *detName="TOF")
std::vector< DataProcessorSpec > WorkflowSpec