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 float CTP2IDCFallBackThreshold = 30.; // if needed, interpret map->getLumi() as map->getIDC(), provided map->getLumi() is below this threshold
33 int ctpLumiSource = 0; // CTP lumi source: 0 = LumiInfo.getLumi(), 1 = LumiInfo.getLumiAlt()
34
35 O2ParamDef(CorrMapParam, "TPCCorrMap");
36};
37} // namespace tpc
38
39namespace framework
40{
41template <typename T>
42struct is_messageable;
43template <>
44struct is_messageable<o2::tpc::CorrMapParam> : std::true_type {
45};
46} // namespace framework
47
48} // namespace o2
49
50#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")