Project
Loading...
Searching...
No Matches
StatusMapCreatorParam.h
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#ifndef O2_MCH_CONDITIONS_STATUSMAP_CREATOR_PARAM_H_
13#define O2_MCH_CONDITIONS_STATUSMAP_CREATOR_PARAM_H_
14
17
18namespace o2::mch
19{
20
25struct StatusMapCreatorParam : public o2::conf::ConfigurableParamHelper<StatusMapCreatorParam> {
26
27 bool useBadChannels = true;
28 bool useRejectList = true;
29 bool useHV = true;
30
32 double hvLimits[10] = {1550., 1550., 1600., 1600., 1600., 1600., 1600., 1600., 1600., 1600.};
33 uint64_t hvMinDuration = 10000;
34
35 uint64_t timeMargin = 2000;
36
37 bool isActive() const { return useBadChannels || useRejectList || useHV; }
38
40};
41
42} // namespace o2::mch
43
44#endif
Configurable parameters for the statusmap creator.
uint64_t hvMinDuration
minimum duration of HV issues in ms
uint64_t timeMargin
time margin for comparing DCS and TF timestamps in ms
bool useBadChannels
reject bad channels (obtained during pedestal calibration runs)
double hvLimits[10]
chambers HV thresholds for detecting issues
bool useRejectList
use extra rejection list (relative to other bad channels sources)
bool useHV
reject channels connected to bad HV sectors
O2ParamDef(StatusMapCreatorParam, "MCHStatusMap")