Project
Loading...
Searching...
No Matches
CorrMapParam.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
15
16#ifndef ALICEO2_TPC_CORRMAP_PARAM_H_
17#define ALICEO2_TPC_CORRMAP_PARAM_H_
18
21
22namespace o2
23{
24namespace tpc
25{
26
27struct CorrMapParam : public o2::conf::ConfigurableParamHelper<CorrMapParam> {
28 float lumiInst = 0.; // override CTP instantaneous lumi (if > 0)
29 float lumiMean = 0.; // override TPC corr.map mean lumi (if > 0), disable corrections if < 0
30 float lumiMeanRef = 0.; // override TPC corr.mapRef mean lumi (if > 0)"
31 float lumiInstFactor = 1.; // scaling to apply to instantaneous lumi from CTP (but not to IDC scaler)
32 int ctpLumiSource = 0; // CTP lumi source: 0 = LumiInfo.getLumi(), 1 = LumiInfo.getLumiAlt()
33
34 O2ParamDef(CorrMapParam, "TPCCorrMap");
35};
36} // namespace tpc
37
38namespace framework
39{
40template <typename T>
41struct is_messageable;
42template <>
43struct is_messageable<o2::tpc::CorrMapParam> : std::true_type {
44};
45} // namespace framework
46
47} // namespace o2
48
49#endif // ALICEO2_TPC_CORRMAP_PARAM_H_
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
O2ParamDef(CorrMapParam, "TPCCorrMap")