Skip to content

Conversation

@njacazio
Copy link
Collaborator

  • Extendend configurability of task
  • Add possibility to set the PDG code of the particle of interest

@njacazio njacazio force-pushed the nj-qa-singletrack-pdg branch 2 times, most recently from 7eaadbc to 9d76b06 Compare February 26, 2021 17:23
@njacazio njacazio force-pushed the nj-qa-singletrack-pdg branch from e8e9548 to b8c5368 Compare March 2, 2021 15:16
@njacazio
Copy link
Collaborator Author

njacazio commented Mar 2, 2021

Hi @vkucera thanks for the useful comments, indeed it was quite some refactoring but now the situation should be considerably improved

@njacazio njacazio force-pushed the nj-qa-singletrack-pdg branch from b8c5368 to b541d21 Compare March 2, 2021 15:18
@njacazio njacazio force-pushed the nj-qa-singletrack-pdg branch 3 times, most recently from b3c30f5 to 66c903c Compare March 8, 2021 14:52
@njacazio njacazio closed this Mar 8, 2021
@njacazio njacazio reopened this Mar 8, 2021
@njacazio
Copy link
Collaborator Author

njacazio commented Mar 8, 2021

Closed by mistake, ok I'll see

@ginnocen
Copy link
Collaborator

ginnocen commented Mar 9, 2021

hi @njacazio can you have a quick look at this PR, @vkucera has a few comments on it.
Thanks!

@njacazio
Copy link
Collaborator Author

njacazio commented Mar 9, 2021

Indeed! I will have a look after after tomorrow

@ginnocen
Copy link
Collaborator

hi @njacazio @vkucera what should we do about this PR?

@vkucera
Copy link
Collaborator

vkucera commented Mar 30, 2021

@njacazio Any updates?

@njacazio
Copy link
Collaborator Author

njacazio commented Mar 30, 2021

Hi, no news, I performed the tests at the time for debug of the simulation but I would say that this is not needed anymore. I would close this and then I will bring it up if needed again.

@vkucera
Copy link
Collaborator

vkucera commented Mar 30, 2021

Hi, no news, I performed the tests at the time for debug of the simulation but I would say that this is not needed anymore. I would close this and then I will bring it up if needed again.

What was the point of reviewing and updating this PR several times then???
By the way, there are bugs in the current code that were supposed to be fixed with this PR.

@njacazio njacazio force-pushed the nj-qa-singletrack-pdg branch from 66c903c to 50e544c Compare April 23, 2021 09:18
@njacazio
Copy link
Collaborator Author

Hi, it's time to revive this, I also added few additional plots

@njacazio
Copy link
Collaborator Author

I also realized I missed your last comment, sorry!

@vkucera
Copy link
Collaborator

vkucera commented May 7, 2021

Capitalization Rules

Variables and functions start with a lowercase letter.
Everything else in C++ code (type names, constant expressions) starts with an uppercase letter.

@njacazio
Copy link
Collaborator Author

njacazio commented May 7, 2021

Hi Vit, what you don't like with the capitalization?

@vkucera
Copy link
Collaborator

vkucera commented May 7, 2021

Hi Vit, what you don't like with the capitalization?

The struct names: qaGlobalObservables, qaTrackingKine, qaTrackingResolution don't follow the quoted rules.

@njacazio
Copy link
Collaborator Author

njacazio commented May 11, 2021

Ok, I should have taken care of all the comments, I'm moving this as ready to be reviewed to start tests. Thanks a lot @vkucera

@njacazio njacazio marked this pull request as ready for review May 11, 2021 15:33
@njacazio njacazio requested a review from ginnocen as a code owner May 11, 2021 15:33
@ginnocen
Copy link
Collaborator

hi @njacazio @vkucera what is the destiny of this task supposed to be :)?

@njacazio
Copy link
Collaborator Author

Hi @ginnocen to be merged hopefully

@njacazio njacazio force-pushed the nj-qa-singletrack-pdg branch from e359216 to 9924bb8 Compare May 13, 2021 17:16
@vkucera
Copy link
Collaborator

vkucera commented May 13, 2021

@njacazio It seems you missed my request from your other PR.
Please don't amend the reviewed commits in the PR. Push a new commit on top of the existing ones. It becomes less transparent when new changes get merged with the original commits and replace what has been reviewed.

@njacazio
Copy link
Collaborator Author

@vkucera no I did not miss it, with latest commit I fixed a CI error and in principle all comments have been implemented. @ginnocen can we make something for the merging?

@njacazio njacazio force-pushed the nj-qa-singletrack-pdg branch from 9924bb8 to de33192 Compare May 19, 2021 09:04
@njacazio
Copy link
Collaborator Author

@vkucera re-ready for re-review!

@njacazio
Copy link
Collaborator Author

njacazio commented May 19, 2021

@vkucera the output of the space checker is a bit cryptic to interpret to say the least, do you have any hint at what it refers to?
Also, could it be that it refers to parts of the code that I did not touch?

@njacazio
Copy link
Collaborator Author

@vkucera follow up on the "space checker", I think it is checking a file version which has nothing to do with this PR and that are in the main dev I guess we can take care of those later in another PR. If you could quickly approve the changes we can go forth and have it finally merged

@njacazio njacazio requested a review from vkucera May 19, 2021 09:31
@njacazio
Copy link
Collaborator Author

Hi @vkucera by any chance, do you have any other suggestion ? Do you have any news on the space checker failing? Did you have a look at the log?

@njacazio njacazio force-pushed the nj-qa-singletrack-pdg branch from de33192 to d93e96d Compare May 20, 2021 11:20
- Extendend configurability of task
- Add possibility to set the PDG code of the particle of interest
- Remove '_' in variables
- Improve histo naming and axes
- Add even more configurability for the QA tasks
- Add PV contributors vs track mult plot
- Replace the qa Task with the simple one
- Fix camelCase
- Fix reference for resolution plots
- Add resolution of vertex in plots
- Fix spaces in CMakeFile
@njacazio njacazio force-pushed the nj-qa-singletrack-pdg branch from d93e96d to 3eddcaf Compare May 20, 2021 11:25
Copy link
Collaborator

@vkucera vkucera left a comment

Choose a reason for hiding this comment

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

@njacazio Approving but for the next PR, please:

  • Do not overwrite already reviewed commits.
  • Explicitly specify namespace qualifier (e.g. std::sqrt instead of sqrt).
  • Consider renaming the file qaTask.cxx to something that includes event, track to make it less ambiguous and better matching the name of the workflow.
  • Improve readability by using a variable for a repeatedly used value instead of calling it every time to avoid code like this:
    histograms.fill(HIST("collision/X"), collision.posX());
    histograms.fill(HIST("collision/Y"), collision.posY());
    histograms.fill(HIST("collision/Z"), collision.posZ());

    histograms.fill(HIST("collision/XvsNContrib"), collision.posX(), collision.numContrib());
    histograms.fill(HIST("collision/YvsNContrib"), collision.posY(), collision.numContrib());
    histograms.fill(HIST("collision/ZvsNContrib"), collision.posZ(), collision.numContrib());
  • Using more explicit names for label variables, such as in:
const TString eta = "#it{#eta}";

where eta is not pseudorapidity but an axis label.

@vkucera
Copy link
Collaborator

vkucera commented May 25, 2021

@ginnocen @jgrosseo @iarsene The failing CI tests seem to be caused by too high RAM consumption in compilation.

@njacazio
Copy link
Collaborator Author

@ginnocen the CI failing seem to be spurious, if this is the case could you merge the PR?

@njacazio
Copy link
Collaborator Author

njacazio commented Jun 2, 2021

Hi @ginnocen we are already ready to merge the PR, could you please take care of it?

@ginnocen ginnocen merged commit 6a207cb into AliceO2Group:dev Jun 2, 2021
cortesep pushed a commit to cortesep/AliceO2 that referenced this pull request Jun 11, 2021
- Extendend configurability of task
- Add possibility to set the PDG code of the particle of interest
- Remove '_' in variables
- Improve histo naming and axes
- Add even more configurability for the QA tasks
- Add PV contributors vs track mult plot
- Replace the qa Task with the simple one
- Fix camelCase
- Fix reference for resolution plots
- Add resolution of vertex in plots
- Fix spaces in CMakeFile
EmilGorm pushed a commit to EmilGorm/AliceO2 that referenced this pull request Nov 22, 2021
- Extendend configurability of task
- Add possibility to set the PDG code of the particle of interest
- Remove '_' in variables
- Improve histo naming and axes
- Add even more configurability for the QA tasks
- Add PV contributors vs track mult plot
- Replace the qa Task with the simple one
- Fix camelCase
- Fix reference for resolution plots
- Add resolution of vertex in plots
- Fix spaces in CMakeFile
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