Project
Loading...
Searching...
No Matches
MatchingType.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 O2_MATCHING_TYPE
17#define O2_MATCHING_TYPE
18
19namespace o2
20{
21namespace globaltracking
22{
23enum class MatchingType {
24 Standard, // standard matching, i.e. no extended workflow was applied
25 Full, // device is in the full matching mode
26 Strict, // device is in the strict matching mode
27 NModes
28};
29
30static constexpr uint32_t getSubSpec(MatchingType t)
31{
32 return t == MatchingType::Strict ? 1 : 0; // Only strict matching inputs and outputs need special SubSpec
33 if (t == MatchingType::Standard) {
34 return 0;
35 }
36}
37
38} // namespace globaltracking
39} // namespace o2
40
41#endif
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...