From 5dcd3459324097fffd0fa9a8c0b0532d1ed648fb 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:21 +0200 Subject: [PATCH] Compile headers Provides missing compile commands needed by Clang-Tidy. --- PWGEM/Dilepton/CMakeLists.txt | 2 +- PWGEM/Dilepton/Utils/CMakeLists.txt | 14 ++++++++++++ PWGEM/Dilepton/Utils/EmDileptonMlResponse.cxx | 22 +++++++++++++++++++ 3 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 PWGEM/Dilepton/Utils/CMakeLists.txt create mode 100644 PWGEM/Dilepton/Utils/EmDileptonMlResponse.cxx diff --git a/PWGEM/Dilepton/CMakeLists.txt b/PWGEM/Dilepton/CMakeLists.txt index 7ff980baa4f..a36a3f0190a 100644 --- a/PWGEM/Dilepton/CMakeLists.txt +++ b/PWGEM/Dilepton/CMakeLists.txt @@ -13,4 +13,4 @@ add_subdirectory(Core) # add_subdirectory(DataModel) add_subdirectory(Tasks) add_subdirectory(TableProducer) - +add_subdirectory(Utils) diff --git a/PWGEM/Dilepton/Utils/CMakeLists.txt b/PWGEM/Dilepton/Utils/CMakeLists.txt new file mode 100644 index 00000000000..6a57e353eda --- /dev/null +++ b/PWGEM/Dilepton/Utils/CMakeLists.txt @@ -0,0 +1,14 @@ +# 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. + +o2physics_add_library(EmDileptonMlCore + SOURCES EmDileptonMlResponse.cxx + PUBLIC_LINK_LIBRARIES O2Physics::MLCore) diff --git a/PWGEM/Dilepton/Utils/EmDileptonMlResponse.cxx b/PWGEM/Dilepton/Utils/EmDileptonMlResponse.cxx new file mode 100644 index 00000000000..4dc3b4b32a0 --- /dev/null +++ b/PWGEM/Dilepton/Utils/EmDileptonMlResponse.cxx @@ -0,0 +1,22 @@ +// 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 EmDileptonMlResponse.cxx +/// \brief Helper file to provide compilation command for headers. +/// +/// \author Vít Kučera , Inha University + +#include "ElectronModule.h" // IWYU pragma: keep +#include "MlResponseDielectronSingleTrack.h" // IWYU pragma: keep +#include "MlResponseFwdTrack.h" // IWYU pragma: keep +#include "MlResponseO2Track.h" // IWYU pragma: keep +#include "MlResponsePID.h" // IWYU pragma: keep +#include "MlResponseSCT.h" // IWYU pragma: keep