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

Fix parameters in PPS RawToDigiConverter, and clean up a few related configs #41784

Closed

Conversation

perrotta
Copy link
Contributor

PR description:

Fix a few parameters in PPS RawToDigiConverter:

  • Make "useOlderT2TestFile" tracked
  • Make "useOlderT2TestFile", "printErrorSummary", "printUnknownFrameSummary" bool parameters, instead of unsigned int
  • Propagate those modified parameters in the corresponding python configs

While doing so I also:

  • Made constant a few class members of RawToDigiConverter that should have been so
  • Moved to a safer syntax, with no explicit type declaration, in the touched configs when possible

This is a follow up of the comment posted when merging PR #41777

PR validation:

It builds and a few matrix workflows run

@oljemark and @cms-sw/ctpps-dpg-l2 please check that this actually corresponds to what you need (nothing should change in the final results with respect to the code currently merged in the master release). I did not try the totemt2_dqm_test because I miss some input: could you please give it a try and report if you get any error from it?

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-41784/35660

  • This PR adds an extra 24KB to repository

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @perrotta (Andrea Perrotta) for master.

It involves the following packages:

  • EventFilter/CTPPSRawToDigi (reconstruction)

@cmsbuild, @mandrenguyen, @clacaputo can you please review it and eventually sign? Thanks.
@Martin-Grunewald, @missirol, @forthommel, @fabferro, @grzanka this is something you requested to watch as well.
@perrotta, @dpiparo, @rappoccio you are the release manager for this.

cms-bot commands are listed here

@@ -52,8 +52,8 @@
# various error/warning/info output may be enabled with these flags
# totemRPRawToDigi.RawUnpacking.verbosity = 1
# totemRPRawToDigi.RawToDigi.verbosity = 1 # or higher number for more output
# totemRPRawToDigi.RawToDigi.printErrorSummary = 1
# totemRPRawToDigi.RawToDigi.printUnknownFrameSummary = 1
# totemRPRawToDigi.RawToDigi.printErrorSummary = true
Copy link
Contributor

Choose a reason for hiding this comment

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

True? :)

@@ -69,29 +69,27 @@ class RawToDigiConverter {
TotemVFATStatus status;
};

unsigned char verbosity;
const unsigned char verbosity;
Copy link
Contributor

Choose a reason for hiding this comment

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

Fantastic! And long-awaited. Could we jump on this opportunity to sanitise a bit the class members and introduce trailing _ to all these?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fantastic! And long-awaited. Could we jump on this opportunity to sanitise a bit the class members and introduce trailing _ to all these?

@forthommel feel free to take this commit and adapt it into another more complete PR of yours, if you think so.
Please take into account that there will be that Totem special run in less than one month from now, for which some of that code will need to be backported to 13_0_X (maybe a dedicated release): I would defer too much invasive updates for when those backports will get concluded

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-41784/35661

  • This PR adds an extra 24KB to repository

@cmsbuild
Copy link
Contributor

Pull request #41784 was updated. @micsucmed, @nothingface0, @emanueleusai, @clacaputo, @cmsbuild, @pmandrik, @syuvivida, @tjavaid, @mandrenguyen, @rvenditti can you please check and sign again.

@perrotta
Copy link
Contributor Author

please test

@perrotta perrotta closed this May 28, 2023
@perrotta perrotta force-pushed the fixParamInCtppsRawToDigiConverter branch from 80364ca to df6bfca Compare May 28, 2023 09:25
@perrotta
Copy link
Contributor Author

I messed up something...
Trying to fix

@perrotta perrotta deleted the fixParamInCtppsRawToDigiConverter branch May 28, 2023 09:42
@perrotta
Copy link
Contributor Author

@forthommel I moved this to #41785: I messed this up this one while playing inadvertently with git during a boring SL shift with no beam....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants