Skip to content

Commit 86bfeb0

Browse files
committed
Compile headers
Provides missing compile commands needed by Clang-Tidy.
1 parent a8eefb5 commit 86bfeb0

3 files changed

Lines changed: 21 additions & 1 deletion

File tree

Common/Tools/PID/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,7 @@ o2physics_add_executable(pidparam-tpc-response
1616
o2physics_add_executable(check-pid-packing
1717
SOURCES checkPidPacking.cxx
1818
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore)
19+
20+
o2physics_add_library(pidTPCModule
21+
SOURCES pidTPCModule.cxx
22+
PUBLIC_LINK_LIBRARIES O2Physics::MLCore)

Common/Tools/PID/pidTPCModule.cxx

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
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+
12+
/// \file pidTPCModule.cxx
13+
/// \brief Helper file to provide compilation command for headers.
14+
///
15+
/// \author Vít Kučera <vit.kucera@cern.ch>, Inha University
16+
17+
#include "pidTPCModule.h" // IWYU pragma: keep

Common/Tools/PID/pidTPCModule.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
#include <Framework/Configurable.h>
3636
#include <Framework/DeviceSpec.h>
3737
#include <Framework/RunningWorkflowInfo.h>
38-
#include <Framework/runDataProcessing.h>
3938
#include <ReconstructionDataFormats/PID.h>
4039

4140
#include <TFile.h>

0 commit comments

Comments
 (0)