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
15
#include "
CommonUtils/ConfigurableParam.h
"
16
#include "
CommonUtils/ConfigurableParamHelper.h
"
17
18
namespace
o2::mch
19
{
20
25
struct
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
39
O2ParamDef
(
StatusMapCreatorParam
,
"MCHStatusMap"
);
40
};
41
42
}
// namespace o2::mch
43
44
#endif
ConfigurableParamHelper.h
ConfigurableParam.h
o2::conf::ConfigurableParamHelper
Definition
ConfigurableParamHelper.h:78
o2::mch
Definition
SimTraits.h:155
o2::mch::StatusMapCreatorParam
Configurable parameters for the statusmap creator.
Definition
StatusMapCreatorParam.h:25
o2::mch::StatusMapCreatorParam::hvMinDuration
uint64_t hvMinDuration
minimum duration of HV issues in ms
Definition
StatusMapCreatorParam.h:33
o2::mch::StatusMapCreatorParam::timeMargin
uint64_t timeMargin
time margin for comparing DCS and TF timestamps in ms
Definition
StatusMapCreatorParam.h:35
o2::mch::StatusMapCreatorParam::useBadChannels
bool useBadChannels
reject bad channels (obtained during pedestal calibration runs)
Definition
StatusMapCreatorParam.h:27
o2::mch::StatusMapCreatorParam::isActive
bool isActive() const
Definition
StatusMapCreatorParam.h:37
o2::mch::StatusMapCreatorParam::hvLimits
double hvLimits[10]
chambers HV thresholds for detecting issues
Definition
StatusMapCreatorParam.h:32
o2::mch::StatusMapCreatorParam::useRejectList
bool useRejectList
use extra rejection list (relative to other bad channels sources)
Definition
StatusMapCreatorParam.h:28
o2::mch::StatusMapCreatorParam::useHV
bool useHV
reject channels connected to bad HV sectors
Definition
StatusMapCreatorParam.h:29
o2::mch::StatusMapCreatorParam::O2ParamDef
O2ParamDef(StatusMapCreatorParam, "MCHStatusMap")
Detectors
MUON
MCH
Status
include
MCHStatus
StatusMapCreatorParam.h
Generated on Tue Feb 25 2025 23:16:23 for Project by
1.9.8