Project
Loading...
Searching...
No Matches
ConfigPreflight.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.
17
18#ifndef ALICEO2_ITS_CA_WORKFLOW_CONFIGPREFLIGHT_H_
19#define ALICEO2_ITS_CA_WORKFLOW_CONFIGPREFLIGHT_H_
20
21#include <string>
22
24
25namespace o2::framework
26{
27class ConfigContext;
28}
29
30namespace o2::its::ca
31{
32
35void applyConfigKeyValuesOrFatal(const std::string& configKeyValues);
36
40
41enum class VertexSource { Diamond,
42 Truth };
52
53// An empty explicit source requires exactly one legacy alias. No physics
54// constraint is enabled by default, and MC output labels are independent.
55VertexSource resolveVertexSource(const std::string& explicitSource, bool useDiamond, bool useTruth);
57
58} // namespace o2::its::ca
59
60#endif // ALICEO2_ITS_CA_WORKFLOW_CONFIGPREFLIGHT_H_
Shared CA tracking configuration for ITS and MFT.
GLenum mode
Definition glcorearb.h:266
Defining ITS Vertex explicitly as messageable.
Definition Cartesian.h:288
WorkflowOptions readWorkflowOptions(const o2::framework::ConfigContext &)
void requireSupportedTrackingModeOrFatal(o2::itsmft::TrackingMode::Type mode)
void applyConfigKeyValuesOrFatal(const std::string &configKeyValues)
VertexSource resolveVertexSource(const std::string &explicitSource, bool useDiamond, bool useTruth)