Project
Loading...
Searching...
No Matches
GPUCommonRtypes.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
14
15#ifndef GPUCOMMONRTYPES_H
16#define GPUCOMMONRTYPES_H
17
18#include "GPUCommonDef.h"
19
20#if defined(GPUCA_STANDALONE) || (defined(GPUCA_O2_LIB) && !defined(GPUCA_O2_INTERFACE) && !defined(DEBUG_STREAMER)) || defined(GPUCA_GPUCODE) // clang-format off
21 #if !defined(ROOT_Rtypes) && !defined(__CLING__)
22 #define GPUCOMMONRTYPES_H_ACTIVE
23 struct MUST_NOT_USE_Rtypes_h {};
24 typedef MUST_NOT_USE_Rtypes_h TClass;
25 #define ClassDef(name,id)
26 #define ClassDefNV(name, id)
27 #define ClassDefOverride(name, id)
28 #define ClassImp(name)
29 #define templateClassImp(name)
30 #ifndef GPUCA_GPUCODE_DEVICE
31 #include <iostream>
32 #endif
33 #endif
34#else
35 #include "Rtypes.h"
36#endif // clang-format off
37
38#endif