Skip to content

Conversation

@yashpatley
Copy link
Contributor

Updated PID response includes a new PIDResponse header and added several configurable parameters for track selection and analysis. Adjusted histogram definitions and gain calibration logic to use the current run number.

Updated PID response includes a new PIDResponse header and added several configurable parameters for track selection and analysis. Adjusted histogram definitions and gain calibration logic to use the current run number.
@github-actions
Copy link

github-actions bot commented Nov 8, 2025

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

Copy link
Collaborator

@victor-gonzalez victor-gonzalez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please, rebase your changes to the latest version

#include "Common/DataModel/Multiplicity.h"
#include "Common/DataModel/PIDResponseTOF.h"
#include "Common/DataModel/PIDResponseTPC.h"
#include "Common/DataModel/PIDResponse.h"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please, rebase your changes to the latest version of O2Physics
This is rolling back a previous centralized change

Comment on lines 143 to 147
struct CorrHistContainer {
TH2F* hGainCalib;
std::array<std::array<THnSparseF*, 1>, 4> vCoarseCorrHist;
std::array<std::array<TProfile*, 4>, 4> vFineCorrHist;
} CorrHistContainer;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Names are cheap in programming!
I would suggest Correction instead of Corr to distinguish from Correlation

getResoFlow(tracks, vSP);

// Update run number
lRunNum = cRunNum;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any reason for needing two?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, for the current implementation to fetch correction factors once per run, it is required. I couldn't think of any other way.

@victor-gonzalez victor-gonzalez merged commit 31c77bd into AliceO2Group:master Nov 10, 2025
13 of 14 checks passed
@yashpatley yashpatley deleted the floweventplane branch November 20, 2025 15:13
lmattei01 pushed a commit to lmattei01/O2Physics that referenced this pull request Dec 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

2 participants