Skip to content

Commit ea830c4

Browse files
committed
fixes
1 parent 050e254 commit ea830c4

2 files changed

Lines changed: 11 additions & 11 deletions

File tree

‎PWGCF/TableProducer/CMakeLists.txt‎

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

12-
o2physics_add_dpl_workflow(filter - correlations
13-
SOURCES filterCorrelations.cxx
14-
PUBLIC_LINK_LIBRARIES O2::Framework O2Physics::AnalysisCore O2Physics::PWGCFCore O2Physics::EventFilteringUtils
15-
COMPONENT_NAME Analysis)
12+
o2physics_add_dpl_workflow(filter-correlations
13+
SOURCES filterCorrelations.cxx
14+
PUBLIC_LINK_LIBRARIES O2::Framework O2Physics::AnalysisCore O2Physics::PWGCFCore O2Physics::EventFilteringUtils
15+
COMPONENT_NAME Analysis)
1616

17-
o2physics_add_dpl_workflow(filter - correlations - 2prong SOURCES filter2Prong.cxx PUBLIC_LINK_LIBRARIES O2::Framework O2Physics::AnalysisCore O2Physics::PWGCFCore COMPONENT_NAME Analysis)
17+
o2physics_add_dpl_workflow(filter-correlations-2prong SOURCES filter2Prong.cxx PUBLIC_LINK_LIBRARIES O2::Framework O2Physics::AnalysisCore O2Physics::PWGCFCore COMPONENT_NAME Analysis)
1818

19-
o2physics_add_dpl_workflow(dpt - dpt - filter SOURCES dptDptFilter.cxx PUBLIC_LINK_LIBRARIES O2::Framework O2Physics::AnalysisCore O2Physics::PWGCFCore COMPONENT_NAME Analysis)
19+
o2physics_add_dpl_workflow(dpt-dpt-filter SOURCES dptDptFilter.cxx PUBLIC_LINK_LIBRARIES O2::Framework O2Physics::AnalysisCore O2Physics::PWGCFCore COMPONENT_NAME Analysis)

‎PWGCF/TableProducer/filterCorrelations.cxx‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ struct FilterCF {
200200
localMultiplicityEfficiency.reset(dynamic_cast<THn*>(efficiency->Clone()));
201201
}
202202
}
203-
if ((cfgTrigger >= 14 && cfgTrigger <= 16) || (!cfgEfficiencyMultiplicity.value.empty() && cfgLocalEfficiency == 0)) {
203+
if ((cfgTrigger >= 14 && cfgTrigger <= 16) || (!cfgEfficiencyMultiplicity.value.empty() && cfgLocalEfficiency == 0)) { // o2-linter: disable=magic-number (documented legacy trigger-selection code)
204204
ccdb->setURL("http://alice-ccdb.cern.ch");
205205
ccdb->setCaching(true);
206206
ccdb->setLocalObjectValidityChecking();
@@ -256,15 +256,15 @@ struct FilterCF {
256256
}
257257

258258
// Zorro-based trigger selection
259-
if (cfgTrigger >= 14 && cfgTrigger <= 16) {
259+
if (cfgTrigger >= 14 && cfgTrigger <= 16) { // o2-linter: disable=magic-number (documented legacy trigger-selection code)
260260
std::string zorroMask;
261-
if (cfgTrigger == 14) { // High-multiplicity pp trigger based on tracks (PWGMM/multFilter.cxx)
261+
if (cfgTrigger == 14) { // High-multiplicity pp trigger based on tracks (PWGMM/multFilter.cxx); o2-linter: disable=magic-number (documented legacy trigger-selection code)
262262
zorroMask = "fHighTrackMult";
263263
}
264-
if (cfgTrigger == 15) { // High-multiplicity pp trigger based on FV0 amplitude (PWGMM/multFilter.cxx)
264+
if (cfgTrigger == 15) { // High-multiplicity pp trigger based on FV0 amplitude (PWGMM/multFilter.cxx); o2-linter: disable=magic-number (documented legacy trigger-selection code)
265265
zorroMask = "fHighMultFv0";
266266
}
267-
if (cfgTrigger == 16) { // High-multiplicity pp trigger based on tracks or FV0 amplitude (PWGMM/multFilter.cxx)
267+
if (cfgTrigger == 16) { // High-multiplicity pp trigger based on tracks or FV0 amplitude (PWGMM/multFilter.cxx); o2-linter: disable=magic-number (documented legacy trigger-selection code)
268268
zorroMask = "fHighTrackMult,fHighMultFv0";
269269
}
270270
auto bc = collision.template bc_as<aod::BCsWithTimestamps>();

0 commit comments

Comments
 (0)