Skip to content

Commit 50b0237

Browse files
authored
Added trigger selection. Analysis task moved to PWGUD (#4374)
1 parent eb0e592 commit 50b0237

File tree

3 files changed

+18
-10
lines changed

3 files changed

+18
-10
lines changed

Analysis/Tasks/CMakeLists.txt

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ add_subdirectory(PWGCF)
1212
add_subdirectory(PWGDQ)
1313
add_subdirectory(PWGHF)
1414
add_subdirectory(PWGLF)
15+
add_subdirectory(PWGUD)
1516

1617
o2_add_dpl_workflow(trackselection
1718
SOURCES trackselection.cxx
@@ -56,11 +57,6 @@ o2_add_dpl_workflow(jetfinder
5657
COMPONENT_NAME Analysis)
5758
endif()
5859

59-
o2_add_dpl_workflow(upc-an
60-
SOURCES upcAnalysis.cxx
61-
PUBLIC_LINK_LIBRARIES O2::Framework O2::AnalysisDataModel O2::AnalysisCore O2::DetectorsBase
62-
COMPONENT_NAME Analysis)
63-
6460
o2_add_dpl_workflow(event-selection
6561
SOURCES eventSelection.cxx
6662
PUBLIC_LINK_LIBRARIES O2::Framework O2::AnalysisDataModel O2::AnalysisCore O2::DetectorsBase O2::CCDB
@@ -109,4 +105,4 @@ o2_add_dpl_workflow(run2-matcher
109105
o2_add_dpl_workflow(run3-matcher
110106
SOURCES run3Matcher.cxx
111107
PUBLIC_LINK_LIBRARIES O2::Framework O2::DetectorsBase O2::AnalysisDataModel
112-
COMPONENT_NAME Analysis)
108+
COMPONENT_NAME Analysis)
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Copyright CERN and copyright holders of ALICE O2. This software is distributed
2+
# under the terms of the GNU General Public License v3 (GPL Version 3), copied
3+
# verbatim in the file "COPYING".
4+
#
5+
# See http://alice-o2.web.cern.ch/license for full licensing information.
6+
#
7+
# In applying this license CERN does not waive the privileges and immunities
8+
# granted to it by virtue of its status as an Intergovernmental Organization or
9+
# submit itself to any jurisdiction.
10+
11+
o2_add_dpl_workflow(upc-an
12+
SOURCES upcAnalysis.cxx
13+
PUBLIC_LINK_LIBRARIES O2::Framework O2::AnalysisDataModel O2::AnalysisCore O2::DetectorsBase
14+
COMPONENT_NAME Analysis)
Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,8 @@ struct UPCAnalysis {
3838
bool checkFDD = col.bbFDA() || col.bbFDC() || col.bgFDA() || col.bgFDC();
3939
if (checkFDD)
4040
return;
41-
// TODO:
42-
// Add trigger class check
43-
// if (!col.alias()[kCUP9])
44-
// return;
41+
if (!col.alias()[kCUP9])
42+
return;
4543
std::vector<soa::Join<aod::Tracks, aod::TracksExtra, aod::TrackSelection>::iterator> selTracks;
4644
for (auto track : tracks) {
4745
if (!track.isGlobalTrack())

0 commit comments

Comments
 (0)