From 4732a99a61b05c0e854ce08896edab0faefbc43b Mon Sep 17 00:00:00 2001 From: nzardosh Date: Thu, 8 Oct 2026 09:16:51 +0200 Subject: [PATCH] fixing code cheker errors in embedding --- .../derivedDataProducerEmbedding.cxx | 15 ++++++++------- PWGJE/Tasks/embeddingQA.cxx | 14 +++++++------- 2 files changed, 15 insertions(+), 14 deletions(-) diff --git a/PWGJE/TableProducer/derivedDataProducerEmbedding.cxx b/PWGJE/TableProducer/derivedDataProducerEmbedding.cxx index a4f88e03809..1a87e66b360 100644 --- a/PWGJE/TableProducer/derivedDataProducerEmbedding.cxx +++ b/PWGJE/TableProducer/derivedDataProducerEmbedding.cxx @@ -13,9 +13,9 @@ // /// \author Nima Zardoshti -#include "PWGJE/Core/JetDQUtilities.h" +// #include "PWGJE/Core/JetDQUtilities.h" #include "PWGJE/Core/JetDerivedDataUtilities.h" -#include "PWGJE/Core/JetV0Utilities.h" +// #include "PWGJE/Core/JetV0Utilities.h" #include "PWGJE/DataModel/EMCALClusters.h" #include "PWGJE/DataModel/EMCALMatchedCollisions.h" #include "PWGJE/DataModel/JetReducedData.h" @@ -23,17 +23,17 @@ #include "PWGJE/DataModel/JetReducedDataHF.h" #include "PWGJE/DataModel/JetReducedDataV0.h" // -#include "PWGDQ/DataModel/ReducedInfoTables.h" -#include "PWGHF/DataModel/DerivedTables.h" +// #include "PWGDQ/DataModel/ReducedInfoTables.h" +// #include "PWGHF/DataModel/DerivedTables.h" #include "PWGHF/Utils/utilsBfieldCCDB.h" -#include "PWGLF/DataModel/LFStrangenessTables.h" +// #include "PWGLF/DataModel/LFStrangenessTables.h" #include "PWGLF/DataModel/mcCentrality.h" #include "PWGUD/Core/SGCutParHolder.h" #include "PWGUD/Core/SGSelector.h" #include "PWGUD/Core/UDHelpers.h" #include "Common/CCDB/ctpRateFetcher.h" -#include "Common/Core/RecoDecay.h" +// #include "Common/Core/RecoDecay.h" #include "Common/Core/Zorro.h" #include "Common/Core/trackUtilities.h" #include "Common/DataModel/Centrality.h" @@ -53,6 +53,7 @@ #include #include #include +#include #include #include #include @@ -819,7 +820,7 @@ struct JetDerivedDataEmbeddingProducerTask { void processClusters(aod::Collision const&, aod::EMCALClusters const& clusters, aod::EMCALClusterCells const& cells, aod::Calos const&, aod::EMCALMatchedTracks const& matchedTracks, soa::Join const&) { - for (auto cluster : clusters) { + for (auto const& cluster : clusters) { auto const clusterCells = cells.sliceBy(preslices.perClusterCells, cluster.globalIndex()); diff --git a/PWGJE/Tasks/embeddingQA.cxx b/PWGJE/Tasks/embeddingQA.cxx index 65425fc82f0..f8736d460bb 100644 --- a/PWGJE/Tasks/embeddingQA.cxx +++ b/PWGJE/Tasks/embeddingQA.cxx @@ -14,20 +14,20 @@ /// \author Nima Zardoshti // -#include "PWGJE/Core/FastJetUtilities.h" #include "PWGJE/Core/JetDerivedDataUtilities.h" #include "PWGJE/DataModel/Jet.h" -#include "Common/Core/RecoDecay.h" -#include "Common/Core/TrackSelection.h" -#include "Common/Core/TrackSelectionDefaults.h" -#include "Common/DataModel/EventSelection.h" -#include "Common/DataModel/TrackSelectionTables.h" - #include #include #include +#include #include +#include +#include +#include + +#include +#include using namespace o2; using namespace o2::framework;