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
Run3-sim129 Use token rather than label for accessing collections in FastSimulation/ForwardDetectors #39666
Conversation
…on/ForwardDetectors
-code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-39666/32471
Code check has found code style and quality issues which could be resolved by applying following patch(s)
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-39666/32472
|
A new Pull Request was created by @bsunanda (Sunanda Banerjee) for master. It involves the following packages:
@cmsbuild, @ssekmen, @civanch, @mdhildreth, @sbein can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
@cmsbuild Please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-58dfc0/28101/summary.html Comparison Summary@slava77 comparisons for the following workflows were not done due to missing matrix map:
Summary:
|
+1 all modifications are clear improvements/code clean-up |
This pull request is fully signed and it will be integrated in one of the next master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @perrotta, @dpiparo, @rappoccio (and backports should be raised in the release meeting by the corresponding L2) |
|
||
void FastSimDataFilter::beginJob() { | ||
ntotal = 0; | ||
npassed = 0; | ||
} | ||
void FastSimDataFilter::endJob() { | ||
cout << " FastSimDataFilter: accepted " << npassed << " out of total " << ntotal << endl; | ||
edm::LogVerbatim("FastSim") << " FastSimDataFilter: accepted " << npassed << " out of total " << ntotal; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Writing the name of the class, instead of a generic "FastSim" can help in case of using these messages for debug:
edm::LogVerbatim("FastSim") << " FastSimDataFilter: accepted " << npassed << " out of total " << ntotal; | |
edm::LogVerbatim("FastSimDataFilter") << " FastSimDataFilter: accepted " << npassed << " out of total " << ntotal; |
|
||
switch (beam1mode) { | ||
case 0: | ||
std::cout << "Option chosen for beam 1: ingnore" << std::endl; | ||
edm::LogVerbatim("FastSim") << "Option chosen for beam 1: ingnore"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
edm::LogVerbatim("FastSim") << "Option chosen for beam 1: ingnore"; | |
edm::LogVerbatim("FastSimProtonTaggerFilter") << "Option chosen for beam 1: ingnore"; |
etc...
-code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-39666/32528
Code check has found code style and quality issues which could be resolved by applying following patch(s)
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-39666/32530
|
@cmsbuild Please test |
Ah, ok @bsunanda : now I see that you already fixed it in a different line with commit e58e298 |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-58dfc0/28183/summary.html Comparison Summary@slava77 comparisons for the following workflows were not done due to missing matrix map:
Summary:
|
+1 |
This pull request is fully signed and it will be integrated in one of the next master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @perrotta, @dpiparo, @rappoccio (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
PR description:
Use tokens rather than labels for accessing collections in FastSimulation/ForwardDetectors
PR validation:
Use the runTheMatrix test workflows
If this PR is a backport please specify the original PR and why you need to backport that PR. If this PR will be backported please specify to which release cycle the backport is meant for:
Nothing special