Skip to content

[ALICE3] Implementation of prefilter and PID for ALICE 3#16693

Merged
njacazio merged 4 commits into
AliceO2Group:masterfrom
rbailhac:master
Jun 17, 2026
Merged

[ALICE3] Implementation of prefilter and PID for ALICE 3#16693
njacazio merged 4 commits into
AliceO2Group:masterfrom
rbailhac:master

Conversation

@rbailhac

Copy link
Copy Markdown
Collaborator

First implementation of prefilter and PID for ALICE 3 FAT (before introducing a method to use resolution maps from ACTS and PID efficiency from full simulation)

@github-actions

github-actions Bot commented Jun 16, 2026

Copy link
Copy Markdown

O2 linter results: ❌ 61 errors, ⚠️ 91 warnings, 🔕 0 disabled

@github-actions github-actions Bot changed the title Implementation of prefilter and PID for ALICE 3 [ALICE3] Implementation of prefilter and PID for ALICE 3 Jun 16, 2026
@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/staging for 3558e99 at 2026-06-16 16:24:

## sw/BUILD/O2Physics-latest/log
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/ALICE3/Tasks/alice3-prefilterdilepton.cxx:293:22: error: unused variable 'track' [-Werror=unused-variable]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/ALICE3/Tasks/alice3-dilepton.cxx:221:43: error: unused parameter 'mcParticles' [-Werror=unused-parameter]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/ALICE3/Tasks/alice3-dilepton.cxx:817:45: error: unused parameter 'tracks' [-Werror=unused-parameter]
ninja: build stopped: subcommand failed.

Full log here.

@alibuild

Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/o2 for 3558e99 at 2026-06-16 16:28:

## sw/BUILD/O2Physics-latest/log
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/ALICE3/Tasks/alice3-prefilterdilepton.cxx:293:22: error: unused variable 'track' [-Werror=unused-variable]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/ALICE3/Tasks/alice3-dilepton.cxx:221:43: error: unused parameter 'mcParticles' [-Werror=unused-parameter]
/sw/SOURCES/O2Physics/slc9_x86-64-slc9_x86-64/0/ALICE3/Tasks/alice3-dilepton.cxx:817:45: error: unused parameter 'tracks' [-Werror=unused-parameter]
ninja: build stopped: subcommand failed.

Full log here.

@rbailhac

Copy link
Copy Markdown
Collaborator Author

Hi @jesgum , @njacazio , @hscheid , could you maybe have a look at this pull request and let me know if it is ok for you ? Thanks

@njacazio njacazio merged commit be37d63 into AliceO2Group:master Jun 17, 2026
12 of 13 checks passed
Comment on lines +20 to 34
#include "ALICE3/DataModel/prefilterDilepton.h"
#include "ALICE3/DataModel/tracksAlice3.h"
#include "Common/DataModel/TrackSelectionTables.h"

#include <CommonConstants/PhysicsConstants.h>
#include <Framework/ASoAHelpers.h>
#include <Framework/AnalysisDataModel.h>
#include <Framework/AnalysisHelpers.h>
#include <Framework/AnalysisTask.h>
#include <Framework/Configurable.h>
#include <Framework/HistogramRegistry.h>
#include <Framework/HistogramSpec.h>
#include <Framework/InitContext.h>
#include <Framework/O2DatabasePDGPlugin.h>
#include <Framework/OutputObjHeader.h>
#include <Framework/runDataProcessing.h>

#include <Math/Vector4D.h> // IWYU pragma: keep (do not replace with Math/Vector4Dfwd.h)
#include <Math/Vector4Dfwd.h>
#include <THnSparse.h>
#include <TMath.h>
#include <Math/Vector4D.h>

#include <cstdint>
#include <cstdlib>
#include <vector>

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.

This is wrong. How did you produce these changes?

@vkucera

vkucera commented Jun 22, 2026

Copy link
Copy Markdown
Collaborator

@njacazio Please do not merge PRs with suspicious changes of includes.

Comment on lines +17 to +37
#include "ALICE3/DataModel/OTFCollision.h"
#include "ALICE3/DataModel/OTFRICH.h"
#include "ALICE3/DataModel/OTFTOF.h"
#include "ALICE3/DataModel/prefilterDilepton.h"
#include "ALICE3/DataModel/tracksAlice3.h"
#include "Common/DataModel/TrackSelectionTables.h"

#include <CommonConstants/PhysicsConstants.h>
#include <Framework/ASoAHelpers.h>
#include <Framework/AnalysisDataModel.h>
#include <Framework/AnalysisTask.h>
#include <Framework/HistogramRegistry.h>
#include <Framework/O2DatabasePDGPlugin.h>
#include <Framework/runDataProcessing.h>
#include <MathUtils/Utils.h>

#include <Math/GenVector/VectorUtil.h>
#include <Math/Vector4D.h>

#include <unordered_map>
#include <vector>

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.

This list is also wrong.

Comment on lines +13 to +15
/// \file collisionExtra.h
/// \author David Dobrigkeit Chinellato
/// \since 11/05/2023

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.

Where does this come from?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

4 participants