Skip to content

[EMCAL-682,EMCAL-660,EMCAL-650] Discarding empty links in raw payload#5517

Merged
shahor02 merged 3 commits into
AliceO2Group:devfrom
hahassan7:EMCAL-682
Feb 19, 2021
Merged

[EMCAL-682,EMCAL-660,EMCAL-650] Discarding empty links in raw payload#5517
shahor02 merged 3 commits into
AliceO2Group:devfrom
hahassan7:EMCAL-682

Conversation

@hahassan7

Copy link
Copy Markdown
Contributor

There were empty links with IDs 21 and 39, and two links connected to LEDmon only with IDs 22 and 36. These links has been discarded. So they will not be processed.
Also we adapted link assignment in simulation to link assignment in production FLPs according to [EMCAL-660].
RCUTrailer encoding has been added according to [EMCAL-650].

@hahassan7 hahassan7 requested a review from mfasDa as a code owner February 19, 2021 12:41

@mfasDa mfasDa left a comment

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.

Though I suggested to move the indexing functions to the Mapper I now see it is better to move them to the Geometry, because in the Geometry they are stand-alone members, while in the Mapper they induce a new unnecessary dependence on the Geometry.

Comment thread Detectors/EMCAL/base/src/Mapper.cxx Outdated
Comment on lines 123 to 148

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.

I think this function should better go to the o2::emcal::Geometry class. It is only using classes from there, so that would be the place to go, while in the Mapper this introduces an unnecessary dependency on Geometry

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done.

Comment on lines 342 to 356

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.

Move to o2::emcal::Geometry

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done.

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.

Is this OK to squash/merge?

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.

I think it is fine to squash/merge

@shahor02 shahor02 merged commit 2d52078 into AliceO2Group:dev Feb 19, 2021
@hahassan7 hahassan7 deleted the EMCAL-682 branch February 20, 2021 11:17
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.

3 participants