From 86bfeb0365b7f354f944e527cdf3f9f699addae2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADt=20Ku=C4=8Dera?= <26327373+vkucera@users.noreply.github.com> Date: Thu, 9 Jul 2026 17:32:19 +0200 Subject: [PATCH] Compile headers Provides missing compile commands needed by Clang-Tidy. --- Common/Tools/PID/CMakeLists.txt | 4 ++++ Common/Tools/PID/pidTPCModule.cxx | 17 +++++++++++++++++ Common/Tools/PID/pidTPCModule.h | 1 - 3 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 Common/Tools/PID/pidTPCModule.cxx diff --git a/Common/Tools/PID/CMakeLists.txt b/Common/Tools/PID/CMakeLists.txt index 3d9bd387cfe..e7443bf5944 100644 --- a/Common/Tools/PID/CMakeLists.txt +++ b/Common/Tools/PID/CMakeLists.txt @@ -16,3 +16,7 @@ o2physics_add_executable(pidparam-tpc-response o2physics_add_executable(check-pid-packing SOURCES checkPidPacking.cxx PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore) + +o2physics_add_library(pidTPCModule + SOURCES pidTPCModule.cxx + PUBLIC_LINK_LIBRARIES O2Physics::MLCore) diff --git a/Common/Tools/PID/pidTPCModule.cxx b/Common/Tools/PID/pidTPCModule.cxx new file mode 100644 index 00000000000..0b85bcad88c --- /dev/null +++ b/Common/Tools/PID/pidTPCModule.cxx @@ -0,0 +1,17 @@ +// Copyright 2019-2020 CERN and copyright holders of ALICE O2. +// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders. +// All rights not expressly granted are reserved. +// +// This software is distributed under the terms of the GNU General Public +// License v3 (GPL Version 3), copied verbatim in the file "COPYING". +// +// In applying this license CERN does not waive the privileges and immunities +// granted to it by virtue of its status as an Intergovernmental Organization +// or submit itself to any jurisdiction. + +/// \file pidTPCModule.cxx +/// \brief Helper file to provide compilation command for headers. +/// +/// \author Vít Kučera , Inha University + +#include "pidTPCModule.h" // IWYU pragma: keep diff --git a/Common/Tools/PID/pidTPCModule.h b/Common/Tools/PID/pidTPCModule.h index 0a39c41ff0c..ff58fab4d02 100644 --- a/Common/Tools/PID/pidTPCModule.h +++ b/Common/Tools/PID/pidTPCModule.h @@ -35,7 +35,6 @@ #include #include #include -#include #include #include