Skip to content

Conversation

@fmazzasc
Copy link
Contributor

@fmazzasc fmazzasc commented Oct 9, 2023

Follows the discussion presented in https://indico.cern.ch/event/1332124/
Cluster sizes are added to AO2Ds and cluster map is removed. Few modifications have been done to the ITS tracking and ITSTPC matching to get the cl size information (pinging @mconcas , @mpuccio , @shahor02 ). We have also updated the AnalysisDataModel and created a versioning of the trackExtra tables. Few dyn columns have been changed, I will undraft the PR as soon as I checked that we get consistent results with the old dataformat (pinging @ddobrigk , @jgrosseo )

@fmazzasc fmazzasc marked this pull request as draft October 9, 2023 10:36
shahor02
shahor02 previously approved these changes Oct 9, 2023
Copy link
Collaborator

@shahor02 shahor02 left a comment

Choose a reason for hiding this comment

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

cannot judge about the backward compatibility of the AOD track model changes, the rest looks ok.

Please consider the following formatting changes to AliceO2Group#12044
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.

Thanks for this work!

For now, I have only reviewed the changes in AnalysisDataModel. See my minor comments.

However, we have to split this PR in two PRs. The first one introduces the changes in the AnalysisDataModel only, but keeps version 0 as default.
Then when it is merged, you make the PR with the converter in O2Physics
Once that is merged, you make a PR which contains the rest and the change to version 1.

fmazzasc and others added 3 commits October 10, 2023 18:02
Co-authored-by: Jan Fiete <jgrosseo@cern.ch>
Co-authored-by: Jan Fiete <jgrosseo@cern.ch>
@fmazzasc
Copy link
Contributor Author

Thanks to all of you for the comments and the help.

  • @jgrosseo : I implemented all your comments and switched to 000 as default. As soon as the converter in O2Physics is merged I will move to 001
  • @aalkin : I changed the data decription as you suggested

I also checked the itsClusterMap with 000 and 001, and the dynamic evaluation works smoothly (see picture). Opening the PR.
Screenshot from 2023-10-11 12-37-57

@fmazzasc fmazzasc marked this pull request as ready for review October 11, 2023 10:43
@mconcas
Copy link
Collaborator

mconcas commented Oct 11, 2023

ITS side small changes also look ok.

@alibuild
Copy link
Collaborator

Error while checking build/O2/fullCI for 6282035 at 2023-10-14 02:13:

No log files found

Full log here.

@fmazzasc
Copy link
Contributor Author

Don't you want to factor our the AnalysisDataModel changes in a separate PR and then merge this one once you swap to version 1 and can activate the filling in the AOD producer instead of the commenting out code?

I removed the commented code and opened in draft mode #12087

jgrosseo
jgrosseo previously approved these changes Oct 16, 2023
@fmazzasc
Copy link
Contributor Author

@shahor02 , @aalkin , could we merge this PR?

shahor02
shahor02 previously approved these changes Oct 19, 2023
struct TrkClusRef : public o2::dataformats::RangeRefComp<4> {
using o2::dataformats::RangeRefComp<4>::RangeRefComp;
uint16_t pattern = 0; ///< layers pattern
uint32_t clsizes = 0; ///< cluster sizes for each layer
Copy link
Member

Choose a reason for hiding this comment

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

Shouldn't we swap the order of pattern and clsizes to avoid wasting 16 bits in padding per ref?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done, thanks for spotting!

@shahor02
Copy link
Collaborator

checks were passed before the trivial swap, merging

@shahor02 shahor02 merged commit 997cb57 into AliceO2Group:dev Oct 19, 2023
shahor02 pushed a commit to shahor02/AliceO2 that referenced this pull request Oct 20, 2023
* Add ITS cluster size to the AO2D

* Add TracksExtra_001

* Update readerhelper

* Add cluster sizes to AB

* Remove its cluster map

* Please consider the following formatting changes

* Add table versioning

* Fix comments

Co-authored-by: Jan Fiete <jgrosseo@cern.ch>

* Fix comments (2)

Co-authored-by: Jan Fiete <jgrosseo@cern.ch>

* Set old TrackExtra as default

* Fix data descriptor for trackextra

* Please consider the following formatting changes

* Fix test

* Clean commented code

* Fix comment (3)

Co-authored-by: Jan Fiete <jgrosseo@cern.ch>

* Move dyn columns to versioning namespace

* Update Framework/Core/include/Framework/AnalysisDataModel.h

* Add braces + unsigned shorts

* Move cluster sizes to uint8_t

* Swap pattern and clsizes order

---------

Co-authored-by: Maximiliano Puccio <maximiliano.puccio@cern.ch>
Co-authored-by: ALICE Action Bot <alibuild@cern.ch>
Co-authored-by: Jan Fiete <jgrosseo@cern.ch>
chiarazampolli pushed a commit that referenced this pull request Nov 7, 2023
* Add ITS cluster size to the AO2D

* Add TracksExtra_001

* Update readerhelper

* Add cluster sizes to AB

* Remove its cluster map

* Please consider the following formatting changes

* Add table versioning

* Fix comments

Co-authored-by: Jan Fiete <jgrosseo@cern.ch>

* Fix comments (2)

Co-authored-by: Jan Fiete <jgrosseo@cern.ch>

* Set old TrackExtra as default

* Fix data descriptor for trackextra

* Please consider the following formatting changes

* Fix test

* Clean commented code

* Fix comment (3)

Co-authored-by: Jan Fiete <jgrosseo@cern.ch>

* Move dyn columns to versioning namespace

* Update Framework/Core/include/Framework/AnalysisDataModel.h

* Add braces + unsigned shorts

* Move cluster sizes to uint8_t

* Swap pattern and clsizes order

---------

Co-authored-by: Maximiliano Puccio <maximiliano.puccio@cern.ch>
Co-authored-by: ALICE Action Bot <alibuild@cern.ch>
Co-authored-by: Jan Fiete <jgrosseo@cern.ch>
christianreckziegel pushed a commit to LucasFerrandi/AliceO2 that referenced this pull request Nov 9, 2023
* Add ITS cluster size to the AO2D

* Add TracksExtra_001

* Update readerhelper

* Add cluster sizes to AB

* Remove its cluster map

* Please consider the following formatting changes

* Add table versioning

* Fix comments

Co-authored-by: Jan Fiete <jgrosseo@cern.ch>

* Fix comments (2)

Co-authored-by: Jan Fiete <jgrosseo@cern.ch>

* Set old TrackExtra as default

* Fix data descriptor for trackextra

* Please consider the following formatting changes

* Fix test

* Clean commented code

* Fix comment (3)

Co-authored-by: Jan Fiete <jgrosseo@cern.ch>

* Move dyn columns to versioning namespace

* Update Framework/Core/include/Framework/AnalysisDataModel.h

* Add braces + unsigned shorts

* Move cluster sizes to uint8_t

* Swap pattern and clsizes order

---------

Co-authored-by: Maximiliano Puccio <maximiliano.puccio@cern.ch>
Co-authored-by: ALICE Action Bot <alibuild@cern.ch>
Co-authored-by: Jan Fiete <jgrosseo@cern.ch>
leo-barreto pushed a commit to leo-barreto/AliceO2 that referenced this pull request Nov 16, 2023
* Add ITS cluster size to the AO2D

* Add TracksExtra_001

* Update readerhelper

* Add cluster sizes to AB

* Remove its cluster map

* Please consider the following formatting changes

* Add table versioning

* Fix comments

Co-authored-by: Jan Fiete <jgrosseo@cern.ch>

* Fix comments (2)

Co-authored-by: Jan Fiete <jgrosseo@cern.ch>

* Set old TrackExtra as default

* Fix data descriptor for trackextra

* Please consider the following formatting changes

* Fix test

* Clean commented code

* Fix comment (3)

Co-authored-by: Jan Fiete <jgrosseo@cern.ch>

* Move dyn columns to versioning namespace

* Update Framework/Core/include/Framework/AnalysisDataModel.h

* Add braces + unsigned shorts

* Move cluster sizes to uint8_t

* Swap pattern and clsizes order

---------

Co-authored-by: Maximiliano Puccio <maximiliano.puccio@cern.ch>
Co-authored-by: ALICE Action Bot <alibuild@cern.ch>
Co-authored-by: Jan Fiete <jgrosseo@cern.ch>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

8 participants