Project
Loading...
Searching...
No Matches
CorrectionMapsOptions.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 TPC_CORRECTION_MAPS_OPTIONS_H_
17#define TPC_CORRECTION_MAPS_OPTIONS_H_
18
19#ifndef GPUCA_GPUCODE_DEVICE
20#include <memory>
21#include <vector>
22#endif
23#include "CorrectionMapsTypes.h"
24
25namespace o2
26{
27namespace framework
28{
29class ConfigParamRegistry;
30class ConfigParamSpec;
31} // namespace framework
32
33namespace tpc
34{
35
37{
38 public:
42
43#ifndef GPUCA_GPUCODE_DEVICE
45 static void addGlobalOptions(std::vector<o2::framework::ConfigParamSpec>& options);
46
47 protected:
48 static void addOption(std::vector<o2::framework::ConfigParamSpec>& options, o2::framework::ConfigParamSpec&& osp);
49#endif
50};
51
52} // namespace tpc
53
54} // namespace o2
55
56#endif
Helper class for enums and structs related to the correction maps.
CorrectionMapsOptions(const CorrectionMapsOptions &)=delete
static void addGlobalOptions(std::vector< o2::framework::ConfigParamSpec > &options)
static CorrectionMapsGloOpts parseGlobalOptions(const o2::framework::ConfigParamRegistry &opts)
static void addOption(std::vector< o2::framework::ConfigParamSpec > &options, o2::framework::ConfigParamSpec &&osp)
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...