Skip to content

Commit 5695ec5

Browse files
committed
Split eventfiltering cmake files
1 parent 8e5bb33 commit 5695ec5

File tree

15 files changed

+188
-96
lines changed

15 files changed

+188
-96
lines changed

EventFiltering/CMakeLists.txt

Lines changed: 10 additions & 96 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
# granted to it by virtue of its status as an Intergovernmental Organization
1010
# or submit itself to any jurisdiction.
1111

12+
# Core event filtering workflows
1213
o2physics_add_dpl_workflow(central-event-filter-task
1314
SOURCES cefpTask.cxx
1415
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore O2::DataFormatsCTP
@@ -19,99 +20,12 @@ o2physics_add_dpl_workflow(selected-bc-range-task
1920
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore
2021
COMPONENT_NAME Analysis)
2122

22-
o2physics_add_dpl_workflow(nuclei-filter
23-
SOURCES PWGLF/nucleiFilter.cxx
24-
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore O2::TOFBase
25-
COMPONENT_NAME Analysis)
26-
27-
o2physics_add_dpl_workflow(diffraction-filter
28-
SOURCES PWGUD/diffractionFilter.cxx
29-
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore O2Physics::DGCutparHolder
30-
COMPONENT_NAME Analysis)
31-
32-
o2physics_add_dpl_workflow(diffraction-bcfilter
33-
SOURCES PWGUD/diffractionBCFilter.cxx
34-
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore O2Physics::DGCutparHolder
35-
COMPONENT_NAME Analysis)
36-
37-
o2physics_add_header_only_library(HFFilterHelpers
38-
HEADERS PWGHF/HFFilterHelpers.h)
39-
40-
o2physics_add_dpl_workflow(hf-filter
41-
SOURCES PWGHF/HFFilter.cxx
42-
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore O2Physics::HFFilterHelpers O2::DetectorsBase
43-
COMPONENT_NAME Analysis)
44-
45-
o2physics_add_dpl_workflow(hf-filter-charm-hadron-signals
46-
SOURCES PWGHF/HFFilterCharmHadronSignals.cxx
47-
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore O2Physics::HFFilterHelpers
48-
COMPONENT_NAME Analysis)
49-
50-
o2physics_add_dpl_workflow(hf-filter-prepare-ml-samples
51-
SOURCES PWGHF/HFFilterPrepareMLSamples.cxx
52-
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore O2Physics::HFFilterHelpers O2::DetectorsBase
53-
COMPONENT_NAME Analysis)
54-
55-
o2physics_add_dpl_workflow(cf-filter
56-
SOURCES PWGCF/CFFilterAll.cxx
57-
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore KFParticle::KFParticle O2::ReconstructionDataFormats O2::DetectorsBase
58-
COMPONENT_NAME Analysis)
59-
60-
o2physics_add_dpl_workflow(je-filter
61-
SOURCES PWGJE/jetFilter.cxx
62-
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore O2Physics::PWGJECore FastJet::FastJet FastJet::Contrib
63-
COMPONENT_NAME Analysis)
64-
65-
o2physics_add_dpl_workflow(je-hf-filter
66-
SOURCES PWGJE/jetHFFilter.cxx
67-
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore O2Physics::PWGJECore FastJet::FastJet FastJet::Contrib
68-
COMPONENT_NAME Analysis)
69-
70-
o2physics_add_dpl_workflow(fje-filter
71-
SOURCES PWGJE/fullJetFilter.cxx
72-
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore O2Physics::PWGJECore FastJet::FastJet FastJet::Contrib Boost::system
73-
COMPONENT_NAME Analysis)
74-
75-
o2physics_add_dpl_workflow(lf-strangeness-filter
76-
SOURCES PWGLF/strangenessFilter.cxx
77-
PUBLIC_LINK_LIBRARIES O2::Framework O2Physics::AnalysisCore KFParticle::KFParticle O2::ReconstructionDataFormats O2::DetectorsBase
78-
COMPONENT_NAME Analysis)
79-
80-
o2physics_add_dpl_workflow(mult-filter
81-
SOURCES PWGMM/multFilter.cxx
82-
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore
83-
COMPONENT_NAME Analysis)
84-
85-
o2physics_add_dpl_workflow(em-photon-filter
86-
SOURCES PWGEM/EMPhotonFilter.cxx
87-
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore O2::DetectorsBase O2Physics::PWGEMPhotonMesonCore
88-
COMPONENT_NAME Analysis)
89-
90-
o2physics_add_dpl_workflow(em-photon-filter-qc
91-
SOURCES PWGEM/EMPhotonFilterQC.cxx
92-
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore O2::DetectorsBase O2Physics::PWGEMPhotonMesonCore
93-
COMPONENT_NAME Analysis)
94-
95-
o2physics_add_dpl_workflow(heavy-neutral-meson-filter
96-
SOURCES PWGEM/HeavyNeutralMesonFilter.cxx
97-
PUBLIC_LINK_LIBRARIES O2::Framework O2::EMCALBase O2::EMCALCalib O2Physics::AnalysisCore O2Physics::PWGEMPhotonMesonCore
98-
COMPONENT_NAME Analysis)
99-
100-
o2physics_add_dpl_workflow(lf-f1proton-filter
101-
SOURCES PWGLF/filterf1proton.cxx
102-
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore KFParticle::KFParticle O2::DetectorsBase
103-
COMPONENT_NAME Analysis)
104-
105-
o2physics_add_dpl_workflow(lf-doublephi-filter
106-
SOURCES PWGLF/filterdoublephi.cxx
107-
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore O2::DetectorsBase
108-
COMPONENT_NAME Analysis)
109-
110-
o2physics_add_library(EventFilteringUtils
111-
SOURCES Zorro.cxx ZorroSummary.cxx
112-
INSTALL_HEADERS ZorroHelper.h ZorroSummary.h
113-
PUBLIC_LINK_LIBRARIES O2::Framework O2Physics::AnalysisCore Arrow::arrow_shared)
114-
115-
o2physics_target_root_dictionary(EventFilteringUtils
116-
HEADERS ZorroHelper.h ZorroSummary.h
117-
LINKDEF EventFilteringUtilsLinkDef.h)
23+
add_subdirectory(Core)
24+
# Add PWG-specific subdirectories
25+
add_subdirectory(PWGCF)
26+
add_subdirectory(PWGEM)
27+
add_subdirectory(PWGHF)
28+
add_subdirectory(PWGJE)
29+
add_subdirectory(PWGLF)
30+
add_subdirectory(PWGMM)
31+
add_subdirectory(PWGUD)

EventFiltering/Core/CMakeLists.txt

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
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+
# Core event filtering utilities library
13+
o2physics_add_library(EventFilteringUtils
14+
SOURCES Zorro.cxx ZorroSummary.cxx
15+
INSTALL_HEADERS ZorroHelper.h ZorroSummary.h
16+
PUBLIC_LINK_LIBRARIES O2::Framework O2Physics::AnalysisCore Arrow::arrow_shared)
17+
18+
o2physics_target_root_dictionary(EventFilteringUtils
19+
HEADERS ZorroHelper.h ZorroSummary.h
20+
LINKDEF EventFilteringUtilsLinkDef.h)
File renamed without changes.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
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+
o2physics_add_dpl_workflow(cf-filter
13+
SOURCES CFFilterAll.cxx
14+
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore KFParticle::KFParticle O2::ReconstructionDataFormats O2::DetectorsBase
15+
COMPONENT_NAME Analysis)
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
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+
o2physics_add_dpl_workflow(em-photon-filter
13+
SOURCES EMPhotonFilter.cxx
14+
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore O2::DetectorsBase O2Physics::PWGEMPhotonMesonCore
15+
COMPONENT_NAME Analysis)
16+
17+
o2physics_add_dpl_workflow(em-photon-filter-qc
18+
SOURCES EMPhotonFilterQC.cxx
19+
PUBLIC_LINK_LIBRARIES O2Physics::AnalysisCore O2::DetectorsBase O2Physics::PWGEMPhotonMesonCore
20+
COMPONENT_NAME Analysis)
21+
22+
o2physics_add_dpl_workflow(heavy-neutral-meson-filter
23+
SOURCES HeavyNeutralMesonFilter.cxx
24+
PUBLIC_LINK_LIBRARIES O2::Framework O2::EMCALBase O2::EMCALCalib O2Physics::AnalysisCore O2Physics::PWGEMPhotonMesonCore
25+
COMPONENT_NAME Analysis)

0 commit comments

Comments
 (0)