Skip to content
Merged
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
2 changes: 1 addition & 1 deletion EventFiltering/PWGEM/globalDimuonFilter.cxx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2019-2020 CERN and copyright holders of ALICE O2.

Check failure on line 1 in EventFiltering/PWGEM/globalDimuonFilter.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[name/workflow-file]

Name of a workflow file must match the name of the main struct in it (without the PWG prefix). (Class implementation files should be in "Core" directories.)

Check failure on line 1 in EventFiltering/PWGEM/globalDimuonFilter.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[name/o2-task]

Specify task name only when it cannot be derived from the struct name. Only append to the default name.
// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
// All rights not expressly granted are reserved.
//
Expand Down Expand Up @@ -54,7 +54,7 @@
Produces<aod::GlobalDimuonFilters> tags;

// Configurables
Configurable<std::string> ccdburl{"ccdb-url", "http://alice-ccdb.cern.ch", "url of the ccdb repository"};

Check failure on line 57 in EventFiltering/PWGEM/globalDimuonFilter.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[name/configurable]

Use lowerCamelCase for names of configurables and use the same name for the struct member as for the JSON string. (Declare the type and names on the same line.)
Configurable<std::string> grpmagPath{"grpmagPath", "GLO/Config/GRPMagField", "CCDB path of the GRPMagField object"};
Configurable<std::string> geoPath{"geoPath", "GLO/Config/GeometryAligned", "Path of the geometry file"};
Configurable<bool> fillQAHistograms{"fillQAHistograms", true, "flag to fill QA histograms"};
Expand Down Expand Up @@ -528,7 +528,7 @@

if (isSelectedCollision(collision)) {
fRegistry.fill(HIST("hCollisionCounter"), 7);

int nGlobalMuon = 0;
// LOGF(info, "collision.globalIndex() = %d, fwdtrackIdsThisCollision = %d", collision.globalIndex(), fwdtrackIdsThisCollision.size());
auto fwdtracks_per_coll = fwdtracks.sliceBy(perCollision, collision.globalIndex());
Expand Down Expand Up @@ -710,5 +710,5 @@
WorkflowSpec defineDataProcessing(ConfigContext const& cfg)
{
return WorkflowSpec{
adaptAnalysisTask<globalDimuonFilter>(cfg, TaskName{"em-global-dimuon-filter"})};

Check failure on line 713 in EventFiltering/PWGEM/globalDimuonFilter.cxx

View workflow job for this annotation

GitHub Actions / O2 linter

[name/o2-task]

Specified task name em-global-dimuon-filter produces device name em-global-dimuon-filter which does not match the device name global-dimuon-filter from the struct name globalDimuonFilter. (Matching struct name EmGlobalDimuonFilter)
}
Loading