Skip to content

[Common,PWGHF] Add reduced q vectors for Event-shape Engineering#15636

Draft
Marcellocosti wants to merge 13 commits intoAliceO2Group:masterfrom
Marcellocosti:red_q_vecs
Draft

[Common,PWGHF] Add reduced q vectors for Event-shape Engineering#15636
Marcellocosti wants to merge 13 commits intoAliceO2Group:masterfrom
Marcellocosti:red_q_vecs

Conversation

@Marcellocosti
Copy link
Copy Markdown
Contributor

No description provided.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 2, 2026

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

@github-actions github-actions Bot changed the title [Common, PWGHF] Add reduced q vectors for Event-shape Engineering [Common,PWGHF] Add reduced q vectors for Event-shape Engineering Apr 2, 2026
Marcellocosti added a commit to Marcellocosti/O2Physics that referenced this pull request Apr 2, 2026
Please consider the following formatting changes to AliceO2Group#15636
@Marcellocosti Marcellocosti marked this pull request as ready for review April 2, 2026 19:30
Marcellocosti added a commit to Marcellocosti/O2Physics that referenced this pull request Apr 7, 2026
Please consider the following formatting changes to AliceO2Group#15636
@Marcellocosti
Copy link
Copy Markdown
Contributor Author

Thanks @vkucera, I have implemented your suggestions!

stefanopolitano
stefanopolitano previously approved these changes Apr 7, 2026
@alibuild
Copy link
Copy Markdown
Collaborator

alibuild commented Apr 7, 2026

Error while checking build/O2Physics/o2 for 8abcdc2 at 2026-04-07 11:54:

No log files found

Full log here.

Marcellocosti added a commit to Marcellocosti/O2Physics that referenced this pull request Apr 7, 2026
Please consider the following formatting changes to AliceO2Group#15636
stefanopolitano
stefanopolitano previously approved these changes Apr 7, 2026
@alibuild
Copy link
Copy Markdown
Collaborator

Error while checking build/O2Physics/o2 for 1ed6984 at 2026-04-10 18:18:

## sw/BUILD/O2Physics-latest/log
c++: fatal error: Killed signal terminated program cc1plus
ninja: build stopped: subcommand failed.

Full log here.

@Marcellocosti Marcellocosti marked this pull request as draft April 27, 2026 16:59
Please consider the following formatting changes to AliceO2Group#15636
@Marcellocosti
Copy link
Copy Markdown
Contributor Author

Hi @stefanopolitano, @MaximVirta, @jikim1290,

Following our conversation of last week, I have updated the PR.

I refactored the task by introducing 3 different functions, CalQvec, NormalizeQvec, CorrectQvec. Now the multiplicity normalization is removed from CalQvec, that runs once both for SP and EsE q-vectors. Then the functions NormalizeQvec and CorrectQvec are called separately to obtain the SP and EsE q-vectors, for which now dedicated CCDB objects can be uploaded as we agreed.

Now the PR is drafted since there are still some debug prints, which I will remove once the implementation looks fine to you. I could test locally that the changes are backward compatible and one obtains the same SP q-vectors, apart from the cases where the amplitude of the FIT detector is null, where changes are only due to modifications of the default values (sign in 999).

Thanks in advance for your feedback!

Copy link
Copy Markdown
Collaborator

@stefanopolitano stefanopolitano left a comment

Choose a reason for hiding this comment

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

Hi @Marcellocosti ! Thanks for the development. I think this looks fine and coincide with what was agreed with the Qvector experts

qVectorTPCall(IsCalibrated, qvecReTPCallSp.at(0), qvecImTPCallSp.at(0), qvecAmp[kTPCall], TrkTPCallLabel);

// Debug prints of values after corrections
std::cout << "[CORRECTED] FT0C, Re: " << qvecReFT0CSp.at(0) << ", Im: " << qvecImFT0CSp.at(0) << std::endl;
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.

Nope

@vkucera
Copy link
Copy Markdown
Collaborator

vkucera commented Apr 30, 2026

@Marcellocosti Please fix the errors and warnings introduced by your changes.

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