Skip to content

Commit 80e298b

Browse files
committed
GPU: Fix includes of certain headers (fix order, avoid ROOT in GPU code)
1 parent 1973849 commit 80e298b

File tree

6 files changed

+7
-8
lines changed

6 files changed

+7
-8
lines changed

GPU/GPUTracking/DataTypes/CalibdEdxContainer.cxx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,13 @@
1212
/// \file CalibdEdxContainer.cxx
1313
/// \author Matthias Kleiner <mkleiner@ikf.uni-frankfurt.de>
1414

15-
#include "CalibdEdxContainer.h"
16-
17-
#if !defined(GPUCA_GPUCODE) && !defined(GPUCA_STANDALONE)
15+
#if !defined(GPUCA_STANDALONE)
1816
#include "TFile.h"
1917
#include "TPCBase/CalDet.h"
2018
#include "Framework/Logger.h"
2119
#include "clusterFinderDefs.h"
2220
#endif
21+
#include "CalibdEdxContainer.h"
2322

2423
using namespace GPUCA_NAMESPACE::gpu;
2524
using namespace o2::tpc;

GPU/GPUTracking/DataTypes/CalibdEdxTrackTopologyPol.cxx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
// granted to it by virtue of its status as an Intergovernmental Organization
1010
// or submit itself to any jurisdiction.
1111

12+
#include "Rtypes.h"
1213
#include "CalibdEdxTrackTopologyPol.h"
1314

1415
#include <cstddef>

GPU/GPUTracking/DataTypes/CalibdEdxTrackTopologySpline.cxx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,10 @@
1414
///
1515
/// \author Matthias Kleiner <matthias.kleiner@cern.ch>
1616

17-
#include "CalibdEdxTrackTopologySpline.h"
18-
1917
#if !defined(GPUCA_STANDALONE)
2018
#include "TFile.h"
2119
#endif
20+
#include "CalibdEdxTrackTopologySpline.h"
2221

2322
using namespace GPUCA_NAMESPACE::gpu;
2423
using namespace o2::tpc;

GPU/GPUTracking/DataTypes/CalibdEdxTrackTopologySpline.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@
1919

2020
#include "FlatObject.h"
2121
#include "Spline.h"
22+
#include "GPUCommonRtypes.h"
2223
#ifdef GPUCA_HAVE_O2HEADERS
2324
#include "DataFormatsTPC/Defs.h"
2425
#endif
2526

2627
#if !defined(GPUCA_GPUCODE) && !defined(GPUCA_STANDALONE) // code invisible on GPU and in the standalone compilation
27-
#include "Rtypes.h" // for ClassDefNV
2828
#include <fmt/format.h>
2929
#endif
3030

GPU/GPUTracking/Interface/GPUO2InterfaceQA.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@
1212
/// \file GPUO2InterfaceQA.cxx
1313
/// \author David Rohr
1414

15+
#include "TGraphAsymmErrors.h"
1516
#include "GPUParam.h"
1617
#include "GPUQA.h"
1718
#include "GPUO2InterfaceConfiguration.h"
1819
#include "GPUO2InterfaceQA.h"
19-
#include "TGraphAsymmErrors.h"
2020

2121
using namespace o2::gpu;
2222
using namespace o2::tpc;

GPU/GPUTracking/Refit/GPUTrackingRefitKernel.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
/// \file GPUTrackingRefitKernel.cxx
1313
/// \author David Rohr
1414

15+
#include "GPUROOTDump.h"
1516
#include "GPUTrackingRefitKernel.h"
1617
#include "GPUTrackingRefit.h"
17-
#include "GPUROOTDump.h"
1818

1919
using namespace GPUCA_NAMESPACE::gpu;
2020

0 commit comments

Comments
 (0)