Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions PWGHF/ALICE3/TableProducer/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,79 +13,94 @@

o2physics_add_dpl_workflow(candidate-creator-chic
SOURCES candidateCreatorChic.cxx
REUSE_FROM HfCandidatesPCH
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore O2::DCAFitter
COMPONENT_NAME Analysis)

o2physics_add_dpl_workflow(candidate-creator-x
SOURCES candidateCreatorX.cxx
REUSE_FROM HfCandidatesPCH
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore O2::DCAFitter
COMPONENT_NAME Analysis)

o2physics_add_dpl_workflow(candidate-creator-xicc
SOURCES candidateCreatorXicc.cxx
REUSE_FROM HfCandidatesPCH
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore O2::DCAFitter
COMPONENT_NAME Analysis)

# Candidate selectors

o2physics_add_dpl_workflow(candidate-selector-chic-to-jpsi-gamma
SOURCES candidateSelectorChicToJpsiGamma.cxx
REUSE_FROM HfCandidatesPCH
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore
COMPONENT_NAME Analysis)

o2physics_add_dpl_workflow(candidate-selector-d0-alice3-barrel
SOURCES candidateSelectorD0Alice3Barrel.cxx
REUSE_FROM HfCandidatesPCH
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore
COMPONENT_NAME Analysis)

o2physics_add_dpl_workflow(candidate-selector-d0-alice3-forward
SOURCES candidateSelectorD0Alice3Forward.cxx
REUSE_FROM HfCandidatesPCH
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore
COMPONENT_NAME Analysis)

o2physics_add_dpl_workflow(candidate-selector-d0-parametrized-pid
SOURCES candidateSelectorD0ParametrizedPid.cxx
REUSE_FROM HfCandidatesPCH
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore
COMPONENT_NAME Analysis)

o2physics_add_dpl_workflow(candidate-selector-jpsi
SOURCES candidateSelectorJpsi.cxx
REUSE_FROM HfCandidatesPCH
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore
COMPONENT_NAME Analysis)

o2physics_add_dpl_workflow(candidate-selector-lc-alice3
SOURCES candidateSelectorLcAlice3.cxx
REUSE_FROM HfCandidatesPCH
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore
COMPONENT_NAME Analysis)

o2physics_add_dpl_workflow(candidate-selector-lc-parametrized-pid
SOURCES candidateSelectorLcParametrizedPid.cxx
REUSE_FROM HfCandidatesPCH
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore
COMPONENT_NAME Analysis)

o2physics_add_dpl_workflow(candidate-selector-x-to-jpsi-pi-pi
SOURCES candidateSelectorXToJpsiPiPi.cxx
REUSE_FROM HfCandidatesPCH
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore
COMPONENT_NAME Analysis)

o2physics_add_dpl_workflow(candidate-selector-xicc-to-p-k-pi-pi
SOURCES candidateSelectorXiccToPKPiPi.cxx
REUSE_FROM HfCandidatesPCH
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore
COMPONENT_NAME Analysis)

# Tree creators

o2physics_add_dpl_workflow(tree-creator-chic-to-jpsi-gamma
SOURCES treeCreatorChicToJpsiGamma.cxx
REUSE_FROM HfCandidatesPCH
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore
COMPONENT_NAME Analysis)

o2physics_add_dpl_workflow(tree-creator-x-to-jpsi-pi-pi
SOURCES treeCreatorXToJpsiPiPi.cxx
REUSE_FROM HfCandidatesPCH
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore
COMPONENT_NAME Analysis)

o2physics_add_dpl_workflow(tree-creator-xicc-to-p-k-pi-pi
SOURCES treeCreatorXiccToPKPiPi.cxx
REUSE_FROM HfCandidatesPCH
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore
COMPONENT_NAME Analysis)
9 changes: 9 additions & 0 deletions PWGHF/ALICE3/Tasks/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,36 +11,43 @@

o2physics_add_dpl_workflow(task-chic
SOURCES taskChic.cxx
REUSE_FROM HfCandidatesPCH
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore
COMPONENT_NAME Analysis)

o2physics_add_dpl_workflow(task-d0-alice3-barrel
SOURCES taskD0Alice3Barrel.cxx
REUSE_FROM HfCandidatesPCH
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore
COMPONENT_NAME Analysis)

o2physics_add_dpl_workflow(task-d0-alice3-forward
SOURCES taskD0Alice3Forward.cxx
REUSE_FROM HfCandidatesPCH
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore
COMPONENT_NAME Analysis)

o2physics_add_dpl_workflow(task-d0-parametrized-pid
SOURCES taskD0ParametrizedPid.cxx
REUSE_FROM HfCandidatesPCH
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore
COMPONENT_NAME Analysis)

o2physics_add_dpl_workflow(task-jpsi
SOURCES taskJpsi.cxx
REUSE_FROM HfCandidatesPCH
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore
COMPONENT_NAME Analysis)

o2physics_add_dpl_workflow(task-lc-alice3
SOURCES taskLcAlice3.cxx
REUSE_FROM HfCandidatesPCH
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore
COMPONENT_NAME Analysis)

o2physics_add_dpl_workflow(task-lc-parametrized-pid
SOURCES taskLcParametrizedPid.cxx
REUSE_FROM HfCandidatesPCH
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore
COMPONENT_NAME Analysis)

Expand All @@ -51,10 +58,12 @@ o2physics_add_dpl_workflow(task-qa-pid-rejection

o2physics_add_dpl_workflow(task-x
SOURCES taskX.cxx
REUSE_FROM HfCandidatesPCH
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore
COMPONENT_NAME Analysis)

o2physics_add_dpl_workflow(task-xicc
SOURCES taskXicc.cxx
REUSE_FROM HfCandidatesPCH
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore
COMPONENT_NAME Analysis)
19 changes: 19 additions & 0 deletions PWGHF/Core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,22 @@
o2physics_add_library(HfMlCore
SOURCES HfMlResponse.cxx
PUBLIC_LINK_LIBRARIES O2Physics::MLCore)

# Precompiled header shared across PWGHF. Percentages are the share of the
# group's workflow translation units that include the header, measured over the tree.
# D2H already has its own carrier (D2HReducedPCH); those targets keep it.
#
# runDataProcessing.h is deliberately NOT precompiled: it requires each workflow's
# customize() to be declared before it is included, so precompiling it silently
# unregisters every option (the binary aborts at --dump-workflow, but links fine).
#
# Skipped under recc, which caches compilations remotely instead.
add_library(HfCandidatesPCH OBJECT hfCandidatesPCH.cxx)
target_link_libraries(HfCandidatesPCH PUBLIC O2::Framework O2Physics::AnalysisCore)
if(NOT DEFINED ENV{USE_RECC})
target_precompile_headers(HfCandidatesPCH PRIVATE
[["PWGHF/DataModel/CandidateReconstructionTables.h"]] # 78%, 2479 lines
[["PWGHF/DataModel/CandidateSelectionTables.h"]] # 72%
[["Common/Core/RecoDecay.h"]] # 65%, 1523 lines
)
endif()
13 changes: 13 additions & 0 deletions PWGHF/Core/hfCandidatesPCH.cxx
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
// Copyright 2019-2026 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.

// Carrier for the HfCandidatesPCH precompiled header; see this directory's
// CMakeLists.txt. It exists only to own the PCH, so it has no code of its own.
14 changes: 14 additions & 0 deletions PWGHF/D2H/Core/d2hReducedPCH.cxx

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PCH compilation is missing.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's for hfCandidatesPCH.cxx.
I don't see the rule for d2hReducedPCH.cxx in PWGHF/D2H/Core/CMakeLists.txt.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I must have made a mistake in the split. I will add it back.

Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
// Copyright 2019-2026 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.

// Carrier for the precompiled header shared by the D2H reduced-data-model
// workflows; see D2HReducedPCH in this directory's CMakeLists.txt. It exists
// only to own the PCH, so it has no code of its own.
1 change: 1 addition & 0 deletions PWGHF/D2H/TableProducer/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -118,5 +118,6 @@ o2physics_add_dpl_workflow(converter-reduced-3-prongs-ml

o2physics_add_dpl_workflow(tree-creator-dstar-spin-align-mixing
SOURCES treeCreatorDstarSpinAlignMixing.cxx
REUSE_FROM HfCandidatesPCH
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore
COMPONENT_NAME Analysis)
25 changes: 25 additions & 0 deletions PWGHF/D2H/Tasks/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

o2physics_add_dpl_workflow(task-b0
SOURCES taskB0.cxx
REUSE_FROM HfCandidatesPCH
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore
COMPONENT_NAME Analysis)

Expand All @@ -26,6 +27,7 @@ o2physics_add_dpl_workflow(task-b0-to-jpsi-k0-star-reduced

o2physics_add_dpl_workflow(task-bplus
SOURCES taskBplus.cxx
REUSE_FROM HfCandidatesPCH
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore
COMPONENT_NAME Analysis)

Expand All @@ -51,16 +53,19 @@ o2physics_add_dpl_workflow(task-bs-to-jpsi-phi-reduced

o2physics_add_dpl_workflow(task-bs
SOURCES taskBs.cxx
REUSE_FROM HfCandidatesPCH
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore
COMPONENT_NAME Analysis)

o2physics_add_dpl_workflow(task-cd
SOURCES taskCd.cxx
REUSE_FROM HfCandidatesPCH
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore
COMPONENT_NAME Analysis)

o2physics_add_dpl_workflow(task-charm-polarisation
SOURCES taskCharmPolarisation.cxx
REUSE_FROM HfCandidatesPCH
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore O2Physics::EventFilteringUtils
COMPONENT_NAME Analysis)

Expand All @@ -76,41 +81,49 @@ o2physics_add_dpl_workflow(task-charm-reso-to-d-trk-reduced

o2physics_add_dpl_workflow(task-d0
SOURCES taskD0.cxx
REUSE_FROM HfCandidatesPCH
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore O2Physics::AnalysisCCDB O2Physics::SGCutParHolder O2Physics::EventFilteringUtils
COMPONENT_NAME Analysis)

o2physics_add_dpl_workflow(task-directed-flow-charm-hadrons
SOURCES taskDirectedFlowCharmHadrons.cxx
REUSE_FROM HfCandidatesPCH
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore O2Physics::EventFilteringUtils
COMPONENT_NAME Analysis)

o2physics_add_dpl_workflow(task-dplus
SOURCES taskDplus.cxx
REUSE_FROM HfCandidatesPCH
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore O2Physics::AnalysisCCDB O2Physics::SGCutParHolder O2Physics::EventFilteringUtils
COMPONENT_NAME Analysis)

o2physics_add_dpl_workflow(task-ds
SOURCES taskDs.cxx
REUSE_FROM HfCandidatesPCH
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore O2Physics::EventFilteringUtils
COMPONENT_NAME Analysis)

o2physics_add_dpl_workflow(task-dstar-to-d0-pi
SOURCES taskDstarToD0Pi.cxx
REUSE_FROM HfCandidatesPCH
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore
COMPONENT_NAME Analysis)

o2physics_add_dpl_workflow(task-flattenicity-d0-lc
SOURCES taskFlattenicityD0Lc.cxx
REUSE_FROM HfCandidatesPCH
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore O2Physics::AnalysisCCDB O2Physics::SGCutParHolder O2Physics::EventFilteringUtils
COMPONENT_NAME Analysis)

o2physics_add_dpl_workflow(task-flow-charm-hadrons
SOURCES taskFlowCharmHadrons.cxx
REUSE_FROM HfCandidatesPCH
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore O2Physics::EventFilteringUtils
COMPONENT_NAME Analysis)

o2physics_add_dpl_workflow(task-lb
SOURCES taskLb.cxx
REUSE_FROM HfCandidatesPCH
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore
COMPONENT_NAME Analysis)

Expand All @@ -121,61 +134,73 @@ o2physics_add_dpl_workflow(task-lb-reduced

o2physics_add_dpl_workflow(task-lc
SOURCES taskLc.cxx
REUSE_FROM HfCandidatesPCH
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore O2Physics::SGCutParHolder O2Physics::EventFilteringUtils
COMPONENT_NAME Analysis)

o2physics_add_dpl_workflow(task-upc-lc
SOURCES taskUpcLc.cxx
REUSE_FROM HfCandidatesPCH
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore O2Physics::SGCutParHolder O2Physics::EventFilteringUtils
COMPONENT_NAME Analysis)

o2physics_add_dpl_workflow(task-lc-to-k0s-p
SOURCES taskLcToK0sP.cxx
REUSE_FROM HfCandidatesPCH
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore
COMPONENT_NAME Analysis)

o2physics_add_dpl_workflow(task-net-charm-fluctuations
SOURCES taskNetCharmFluctuations.cxx
REUSE_FROM HfCandidatesPCH
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore O2Physics::EventFilteringUtils
COMPONENT_NAME Analysis)

o2physics_add_dpl_workflow(task-omegac0-to-omega-pi
SOURCES taskOmegac0ToOmegaPi.cxx
REUSE_FROM HfCandidatesPCH
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore
COMPONENT_NAME Analysis)

o2physics_add_dpl_workflow(task-omegac0-to-omega-pi-qa
SOURCES taskOmegac0ToOmegaPiQa.cxx
REUSE_FROM HfCandidatesPCH
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore
COMPONENT_NAME Analysis)

o2physics_add_dpl_workflow(task-pt-fluc-charm-hadrons
SOURCES taskPtFlucCharmHadrons.cxx
REUSE_FROM HfCandidatesPCH
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore O2Physics::EventFilteringUtils
COMPONENT_NAME Analysis)

o2physics_add_dpl_workflow(task-sigmac
SOURCES taskSigmac.cxx
REUSE_FROM HfCandidatesPCH
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore
COMPONENT_NAME Analysis)

o2physics_add_dpl_workflow(task-sigmac-to-cascade
SOURCES taskSigmacToCascade.cxx
REUSE_FROM HfCandidatesPCH
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore
COMPONENT_NAME Analysis)

o2physics_add_dpl_workflow(task-xic
SOURCES taskXic.cxx
REUSE_FROM HfCandidatesPCH
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore
COMPONENT_NAME Analysis)

o2physics_add_dpl_workflow(task-xic-to-xi-pi-pi
SOURCES taskXicToXiPiPi.cxx
REUSE_FROM HfCandidatesPCH
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore
COMPONENT_NAME Analysis)

o2physics_add_dpl_workflow(task-xic0-to-xi-pi
SOURCES taskXic0ToXiPi.cxx
REUSE_FROM HfCandidatesPCH
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore
COMPONENT_NAME Analysis)

Expand Down
Loading
Loading