Project
Loading...
Searching...
No Matches
fv0-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>{"FV0/HV/S[A,B,C,D,E,F,G,H][1..4]/actual/iMon", 250, 350});
24 dphints.emplace_back(o2::dcs::test::DataPointHint<double>{"FV0/HV/S[A,B,C,D,E,F,G,H][51,52]/actual/iMon", 250, 350});
25 dphints.emplace_back(o2::dcs::test::DataPointHint<double>{"FV0/HV/SREF/actual/iMon", 250, 350});
26 dphints.emplace_back(o2::dcs::test::DataPointHint<uint>{"FV0/PM/S[A,B,C,D,E,F,G,H][1..4]/actual/ADC[0,1]_BASELINE", 30, 150});
27 dphints.emplace_back(o2::dcs::test::DataPointHint<uint>{"FV0/PM/S[A,B,C,D,E,F,G,H][51,52]/actual/ADC[0,1]_BASELINE", 30, 150});
28 dphints.emplace_back(o2::dcs::test::DataPointHint<uint>{"FV0/PM/SREF/actual/ADC[0,1]_BASELINE", 30, 150});
29 dphints.emplace_back(o2::dcs::test::DataPointHint<double>{"FV0/Trigger1_Charge/CNT_RATE", 0, 5000000});
30 dphints.emplace_back(o2::dcs::test::DataPointHint<double>{"FV0/Trigger2_Nchannels/CNT_RATE", 0, 5000000});
31 dphints.emplace_back(o2::dcs::test::DataPointHint<double>{"FV0/Trigger3_InnerRings/CNT_RATE", 0, 5000000});
32 dphints.emplace_back(o2::dcs::test::DataPointHint<double>{"FV0/Trigger4_OuterRings/CNT_RATE", 0, 5000000});
33 dphints.emplace_back(o2::dcs::test::DataPointHint<double>{"FV0/Trigger5_OrA/CNT_RATE", 0, 5000000});
34 dphints.emplace_back(o2::dcs::test::DataPointHint<double>{"FV0/Background/[0..9]/CNT_RATE", 0, 50000});
35 dphints.emplace_back(o2::dcs::test::DataPointHint<double>{"FV0/Background/[A,B,C,D,E,F,G,H]/CNT_RATE", 0, 50000});
36
38 specs.emplace_back(o2::dcs::test::getDCSRandomDataGeneratorSpec(dphints, "FV0"));
39 return specs;
40}
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