Project
Loading...
Searching...
No Matches
Definitions.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.
14
15#ifndef TRACKINGITS_DEFINITIONS_H_
16#define TRACKINGITS_DEFINITIONS_H_
17
18#include <type_traits>
19
21
22#ifdef CA_DEBUG
23#define CA_DEBUGGER(x) x
24#else
25#define CA_DEBUGGER(x) \
26 do { \
27 } while (0)
28#endif
29
30namespace o2::its
31{
32
33enum class TrackletMode {
34 Layer0Layer1 = 0,
35 Layer1Layer2 = 2
36};
37
39
40template <bool IsConst, typename T>
41using maybe_const = typename std::conditional<IsConst, const T, T>::type;
42
43} // namespace o2::its
44
45#endif
typename std::conditional< IsConst, const T, T >::type maybe_const
Definition Definitions.h:41