Skip to content
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

Follow up to PR31722 (#614) #615

Conversation

ericcano
Copy link

@ericcano ericcano commented Apr 9, 2021

PR description:

PR validation:

if this PR is a backport please specify the original PR and why you need to backport that PR:

Before submitting your pull requests, make sure you followed this checklist:

HitContainer hitIndices;
HitContainer detIndices;
HitContainer hitIndices_;
HitContainer detIndices_;
Copy link

@VinInn VinInn Apr 13, 2021

Choose a reason for hiding this comment

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

I am not fully convinced of this encapsulations of SoAs.
It is just mere orthography. Semantics has not changed as both const and non-const accessors have been provided.
What are we encpsulating here?
The implementation encapsulation is done in the SoA itself.

Given that it is highly probable that all this will be modified again once the eventual final SoA model will be deployed (together with the Heterogeneous framework) I suggest to keep an open issue on Orthography of SoA
and leave for the time being my choice of orthography for my design of SoAs....

Copy link

Choose a reason for hiding this comment

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

So please split the changes in the Arithmetic of the fit (that is supposed (I hope) a performance improvement) from this esthetic changes. (also because we want to profile them independently)

Copy link
Author

Choose a reason for hiding this comment

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

This commit just ensures we have a class with only one of each public, protected and private section. So indeed entirely cosmetic, but mandated by coding rules.

Computations and code style are already in different commits, so I guess you meant splitting this PR?

Copy link

Choose a reason for hiding this comment

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

yes, spitting this PR:
one cosmetics
one computational performance

Copy link

@VinInn VinInn left a comment

Choose a reason for hiding this comment

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

We do this just because we are in this package, nothing to do with patatrack...
As usual we fix 20 year old code.

Copy link

@VinInn VinInn left a comment

Choose a reason for hiding this comment

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

One more fix that is not Patatrack related.
(in itself due since long time, still should be part of some unrelated cleanup campaign)

@ericcano
Copy link
Author

As requested by @VinInn, I close this PR to split it into a performance PR on one side and code cleanliness PR on the other.

@ericcano ericcano closed this Apr 15, 2021
ericcano added a commit to ericcano/cmssw that referenced this pull request Apr 15, 2021
ericcano added a commit to ericcano/cmssw that referenced this pull request Apr 16, 2021
@VinInn
Copy link

VinInn commented Apr 17, 2021

I am now working on the pixel producers. I copied the version in here. Please do not commit them anymore.

ericcano added a commit to ericcano/cmssw that referenced this pull request May 21, 2021
ericcano added a commit to ericcano/cmssw that referenced this pull request May 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants