Skip to content

Conversation

@abmodak
Copy link
Contributor

@abmodak abmodak commented Feb 21, 2025

I have added the PMD info to AO2Ds.
The conversion of PMD data is already discussed by David in his presentations at ALICE Physics Week and WP4 + WP14 meeting.

@abmodak abmodak requested a review from a team as a code owner February 21, 2025 22:38
@github-actions
Copy link
Contributor

REQUEST FOR PRODUCTION RELEASES:
To request your PR to be included in production software, please add the corresponding labels called "async-" to your PR. Add the labels directly (if you have the permissions) or add a comment of the form (note that labels are separated by a ",")

+async-label <label1>, <label2>, !<label3> ...

This will add <label1> and <label2> and removes <label3>.

The following labels are available
async-2023-pbpb-apass4
async-2023-pp-apass4
async-2024-pp-apass1
async-2022-pp-apass7
async-2024-pp-cpass0
async-2024-PbPb-apass1
async-2024-ppRef-apass1
async-2024-PbPb-apass2
async-2023-PbPb-apass5

@abmodak
Copy link
Contributor Author

abmodak commented Feb 21, 2025

Hello @ddobrigk, could you please have a look at my modifications?

Please consider the following formatting changes to AliceO2Group#13998
@github-actions
Copy link
Contributor

This PR did not have any update in the last 30 days. Is it still needed? Unless further action in will be closed in 5 days.

@github-actions github-actions bot added the stale label Mar 24, 2025
@abmodak
Copy link
Contributor Author

abmodak commented Mar 24, 2025

Hello @ddobrigk, good morning!
could you please have a look at this PR?

@github-actions github-actions bot closed this Mar 30, 2025
@pzhristov pzhristov reopened this Apr 10, 2025
@github-actions
Copy link
Contributor

REQUEST FOR PRODUCTION RELEASES:
To request your PR to be included in production software, please add the corresponding labels called "async-" to your PR. Add the labels directly (if you have the permissions) or add a comment of the form (note that labels are separated by a ",")

+async-label <label1>, <label2>, !<label3> ...

This will add <label1> and <label2> and removes <label3>.

The following labels are available
async-2023-pbpb-apass4
async-2023-pp-apass4
async-2024-pp-apass1
async-2022-pp-apass7
async-2024-pp-cpass0
async-2024-PbPb-apass1
async-2024-ppRef-apass1
async-2024-PbPb-apass2
async-2023-PbPb-apass5

pzhristov
pzhristov previously approved these changes Apr 10, 2025
@alibuild
Copy link
Collaborator

alibuild commented Apr 10, 2025

Error while checking build/O2/fullCI_slc9 for f75ba12 at 2025-04-11 02:39:

## sw/BUILD/O2Physics-latest/log
Error in cling::AutoLoadingVisitor::InsertIntoAutoLoadingState:
Error in cling::AutoLoadingVisitor::InsertIntoAutoLoadingState:
Error in cling::AutoLoadingVisitor::InsertIntoAutoLoadingState:
Error in cling::AutoLoadingVisitor::InsertIntoAutoLoadingState:
Error in cling::AutoLoadingVisitor::InsertIntoAutoLoadingState:
Error in cling::AutoLoadingVisitor::InsertIntoAutoLoadingState:
Error in cling::AutoLoadingVisitor::InsertIntoAutoLoadingState:
Error in cling::AutoLoadingVisitor::InsertIntoAutoLoadingState:
Error in cling::AutoLoadingVisitor::InsertIntoAutoLoadingState:
Error in cling::AutoLoadingVisitor::InsertIntoAutoLoadingState:
Error in cling::AutoLoadingVisitor::InsertIntoAutoLoadingState:
Error in cling::AutoLoadingVisitor::InsertIntoAutoLoadingState:
Error in cling::AutoLoadingVisitor::InsertIntoAutoLoadingState:
Error in cling::AutoLoadingVisitor::InsertIntoAutoLoadingState:
Error in cling::AutoLoadingVisitor::InsertIntoAutoLoadingState:
Error in cling::AutoLoadingVisitor::InsertIntoAutoLoadingState:
Error in cling::AutoLoadingVisitor::InsertIntoAutoLoadingState:
Error in cling::AutoLoadingVisitor::InsertIntoAutoLoadingState:


## sw/BUILD/O2-full-system-test-latest/log
Detected critical problem in logfile sim.log


## sw/BUILD/o2checkcode-latest/log
--
========== List of errors found ==========
++ GRERR=0
++ grep -v clang-diagnostic-error error-log.txt
++ grep ' error:'
++ GRERR=1
++ [[ 1 == 0 ]]
++ mkdir -p /sw/INSTALLROOT/ffe31f11fa62215251399a5e0f4e3a3be412a453/slc9_x86-64/o2checkcode/1.0-local129/etc/modulefiles
++ cat
--

Full log here.

@abmodak
Copy link
Contributor Author

abmodak commented Apr 10, 2025

Dear @ddobrigk, @pzhristov, @ktf, and @jgrosseo, I am not sure if the error is due to adding the PMD info. Could you please have a look?

Thanks,
Abhi

Copy link
Collaborator

@jgrosseo jgrosseo left a comment

Choose a reason for hiding this comment

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

Hi!
The code itself is fine with me. Could you move it into the section starting with
// ---- Run 2 tables ----
and into the run 2 name space (only columns, not the table definition)?
Many thanks!

Changes are done based on suggestions from Jan Fiete
Please consider the following formatting changes to AliceO2Group#13998
@abmodak
Copy link
Contributor Author

abmodak commented Apr 11, 2025

Dear @jgrosseo,
Thanks for your suggestions.
Could you please have a look now?

Thanks,
Abhi

@jgrosseo
Copy link
Collaborator

Thanks!

Something is weird because your new table is gone? You somehow added it to an existing one. Maybe there was a misunderstanding you still need an own table. Just it should have been moved next to the other run 2 tables (the column definitions are already in the right place...)

@abmodak
Copy link
Contributor Author

abmodak commented Apr 11, 2025

Dear @jgrosseo, Thanks for your reply!
I want to tell you that the PMD info was stored per BC table during data conversion.
I am not sure if we should add the PMD column info inside the run2 namespace. Can you please comment on this?
Also, I need some suggestions from @ddobrigk.

Thanks,
Abhi

@jgrosseo
Copy link
Collaborator

jgrosseo commented Apr 12, 2025

Your initial commit was fine, your lines should have just been moved into a different part of the file, so that it is logically more coherent. And as it is part of run 2 it makes very much sense to have it in the run 2 name space. What do you think?

Also, please run a test of your code on a converted AO2D.root which contains the PMD information and try to fill a simple histogram. This makes sure that the code works fine.

@abmodak
Copy link
Contributor Author

abmodak commented Apr 12, 2025

Dear @jgrosseo,
Thanks for your reply!
Yes, I already checked locally on a converted AO2D.root with my initial commit and it was perfectly okay. As per your suggestions, I have to add my own PMD table similar to my initial commit (not in the run2 table). So, you are suggesting like this (I have to add it after Run2BCInfos table):

DECLARE_SOA_TABLE(Pmds, "AOD", "PMD", //! Photon information from PMD detector
run2::EventCuts, run2::X, run2::Y, run2::Z, run2::CluADC, run2::CluPID,
run2::Det, run2::Ncell, run2::Smn, run2::TrackNo,
run2::TrackPid, run2::SigX, run2::SigY, run2::ClMatching);
using Pmd = Pmds::iterator;

Please let me know if it is okay to you.
I will also check locally if these modifications work well or not.

Thanks,
Abhi

Please consider the following formatting changes to AliceO2Group#13998
@abmodak
Copy link
Contributor Author

abmodak commented Apr 14, 2025

Dear @jgrosseo and @ddobrigk,
Good morning!
Sorry, I misunderstood your message.
I moved my initial commit into the run2 namespace as per your suggestions.
I checked locally on a converted AO2D.root file, and everything looks good to me.
Could you please have a look at it now?

Thanks,
Abhi

@github-actions github-actions bot closed this Apr 20, 2025
@pzhristov pzhristov reopened this Apr 22, 2025
@github-actions
Copy link
Contributor

REQUEST FOR PRODUCTION RELEASES:
To request your PR to be included in production software, please add the corresponding labels called "async-" to your PR. Add the labels directly (if you have the permissions) or add a comment of the form (note that labels are separated by a ",")

+async-label <label1>, <label2>, !<label3> ...

This will add <label1> and <label2> and removes <label3>.

The following labels are available
async-2023-pbpb-apass4
async-2023-pp-apass4
async-2024-pp-apass1
async-2022-pp-apass7
async-2024-pp-cpass0
async-2024-PbPb-apass1
async-2024-ppRef-apass1
async-2024-PbPb-apass2
async-2023-PbPb-apass5

Copy link
Collaborator

@jgrosseo jgrosseo left a comment

Choose a reason for hiding this comment

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

I am seeing that you add your columns to 2 different tables, why so?
(See also Mattermost discussion)

Copy link
Collaborator

@jgrosseo jgrosseo left a comment

Choose a reason for hiding this comment

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

Approving for CI (first time committer). Commits still to be squashed.

@abmodak
Copy link
Contributor Author

abmodak commented Apr 22, 2025

Dear @jgrosseo,
Thanks for noticing this.
When I checked locally, I removed PMD info from Run 2 table and added my own pmd table as you suggested. During committing the changes here in PR, I forgot to remove the PMD info from Run 2 table (sorry for that). I have fixed it now. Could you please have a look now?

Thanks,
Abhi

@jgrosseo jgrosseo enabled auto-merge (squash) April 22, 2025 22:04
@abmodak
Copy link
Contributor Author

abmodak commented Apr 23, 2025

Dear @jgrosseo,
Thanks for approving the PR.
I am wondering about the error message if it is due to this PR.

Thanks,
Abhi

@jgrosseo jgrosseo merged commit 04baff0 into AliceO2Group:dev Apr 23, 2025
13 checks passed
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.

4 participants