Skip to content

MCH: Added Processing of Digits and Preclusters#515

Merged
Barthelemy merged 1 commit into
AliceO2Group:masterfrom
seperrin:mch-digits-preclusters
Oct 16, 2020
Merged

MCH: Added Processing of Digits and Preclusters#515
Barthelemy merged 1 commit into
AliceO2Group:masterfrom
seperrin:mch-digits-preclusters

Conversation

@seperrin
Copy link
Copy Markdown
Contributor

  • Added PhysicsTasks for digits and preclusters processing
  • Added basic Check of occupancy level
  • Added Reductor and PostProcessing code for TrendingTasks

Copy link
Copy Markdown
Collaborator

@Barthelemy Barthelemy left a comment

Choose a reason for hiding this comment

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

Thank you for your contribution, great job !
I don't have many comments. Once you have considered the one about the PostProcessing, let me know and I will approve and merge.

@@ -0,0 +1,71 @@
// Copyright CERN and copyright holders of ALICE O2. This software is
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.

It seems that MCHPostProcessing is a copy of TrendingTask. Is it because you did not implement it ? if so I would propose to remove it from the PR. Or is it because you use it ? if so, I would propose to simply use TrendingTask instead.

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.

I think I call it at some point in a .json config file for the TrendingTask, I must have thought that it was useful to have a copy of TrendingTask in the MCH repo but now I don't understand why... I'll try and see what happens if I use TrendingTask in my json instead, and correct all this.

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.

Yep, it works perfectly fine without this file, I'll remove it then and use TrendingTask instead :)

namespace o2::quality_control_modules::muonchambers
{

/// \brief Check whether a plot is empty or not.
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.

Update the description and author

Comment thread Modules/MUON/MCH/src/Decoding.cxx Outdated
int parity = CheckDataParity(ds->data);
if (parity)
fprintf(flog, "===> SAMPA [%2d]: WARNING Parity %d\n", ds->id, parity);
fprintf(flog, "===> SAMPA [%d %d %2d]: WARNING Parity %d\n", ds->hit.cru_id, ds->hit.link_id, ds->id, parity);
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 would propose to use the infologger instead of logging to a file but I presume that is just for helping the debugging now ?

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.

@aferrero2707 , do we still need the file log ?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@seperrin @Barthelemy we can safely remove those fprintf statements. In fact, the whole internal decoding will become obsolete once we will have moved all our QC tasks to the official O2 decoding. We will only keep it around for a short while in order to be able to do some crosschecks...

@Barthelemy
Copy link
Copy Markdown
Collaborator

@awegrzyn I get an error on macOS builder with the compilation of Monitoring. Does it ring a bell ?

@awegrzyn
Copy link
Copy Markdown
Contributor

Nope, I've just tried on my Mac and no error :|

@awegrzyn
Copy link
Copy Markdown
Contributor

@Barthelemy it looks like that now it fails on QC creating Configuration.

@Barthelemy
Copy link
Copy Markdown
Collaborator

@awegrzyn ok, on it

- Added PhysicsTasks for digits and preclusters processing
- Added basic Check of occupancy level
- Added Reductor and PostProcessing code for TrendingTasks
@seperrin seperrin force-pushed the mch-digits-preclusters branch from 2431026 to f70a7dd Compare October 16, 2020 08:02
@Barthelemy Barthelemy merged commit 303be36 into AliceO2Group:master Oct 16, 2020
njacazio pushed a commit to njacazio/QualityControl that referenced this pull request Oct 19, 2020
- Added PhysicsTasks for digits and preclusters processing
- Added basic Check of occupancy level
- Added Reductor and PostProcessing code for TrendingTasks
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.

4 participants