Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Comments

Close side panel

[MCH] fix bug in Segmentation::findPadPairByPosition#5451

Merged
ktf merged 1 commit intoAliceO2Group:devAliceO2Group/AliceO2:devfrom
aphecetche:bugfix-mch-segmentation-is-validaphecetche/AliceO2:bugfix-mch-segmentation-is-validCopy head branch name to clipboard
Feb 19, 2021
Merged

[MCH] fix bug in Segmentation::findPadPairByPosition#5451
ktf merged 1 commit intoAliceO2Group:devAliceO2Group/AliceO2:devfrom
aphecetche:bugfix-mch-segmentation-is-validaphecetche/AliceO2:bugfix-mch-segmentation-is-validCopy head branch name to clipboard

Conversation

@aphecetche
Copy link
Collaborator

In the case where this method returns false (at least one cathode plane has
no pad at this position), the pass-by-reference b and nb
indices were not (always) meaningful, preventing to deduce which
side (bending, non bending or both) was actually missing.

Also rationalize the meaning of isValid(padindex) for both Cathode and
Segmentation levels : a padindex is valid if it's in the range
0..npads-1 where npads is the number of pads for either the cathode (for
Cathode object) or both cathodes (for Segmentation object).

In the case where this method returns false (at least one cathode plane has
no pad at this position), the pass-by-reference b and nb
indices were not (always) meaningful, preventing to deduce which
 side (bending, non bending or both) was actually missing.

Also rationalize the meaning of isValid(padindex) for both Cathode and
Segmentation levels : a padindex is valid if it's in the range
0..npads-1 where npads is the number of pads for either the cathode (for
 Cathode object) or both cathodes (for Segmentation object).
@aphecetche
Copy link
Collaborator Author

@pillot could you have a look ? The changes should hopefully correspond to what we discussed this morning.

@pillot
Copy link
Collaborator

pillot commented Feb 12, 2021

@aphecetche it looks fine to me, thanks!

@aphecetche
Copy link
Collaborator Author

@TimoWilken do I have to do something here or will the fullCI be ran again at some point ?

@aphecetche
Copy link
Collaborator Author

@davidrohr @shahor02 @ktf could someone with the relevant rights please approved and/or merge this PR ?
(at the time of this writing all required checks are green, i.e. all but o2-dataflow )

Turns out I cannot merge my owns 😉

@ktf ktf merged commit d96e48e into AliceO2Group:dev Feb 19, 2021
@aphecetche aphecetche deleted the bugfix-mch-segmentation-is-valid branch March 1, 2021 17:16
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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.