-
Notifications
You must be signed in to change notification settings - Fork 484
Adding cluster size to track extra #12044
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
shahor02
left a comment
There was a problem hiding this 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
There was a problem hiding this 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.
Co-authored-by: Jan Fiete <jgrosseo@cern.ch>
Co-authored-by: Jan Fiete <jgrosseo@cern.ch>
Please consider the following formatting changes to AliceO2Group#12044
|
Thanks to all of you for the comments and the help.
I also checked the itsClusterMap with 000 and 001, and the dynamic evaluation works smoothly (see picture). Opening the PR. |
|
ITS side small changes also look ok. |
I removed the commented code and opened in draft mode #12087 |
Co-authored-by: Jan Fiete <jgrosseo@cern.ch>
DataFormats/Detectors/ITSMFT/ITS/include/DataFormatsITS/TrackITS.h
Outdated
Show resolved
Hide resolved
| 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 |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done, thanks for spotting!
|
checks were passed before the trivial swap, merging |
* 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>
* 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>
* 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>
* 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>

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 )