-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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-sim118A Try to replace getByLabel with token in SimCalorimetry/EcalElectronicsEmulation #37752
Conversation
-code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-37752/29621
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-37752/29622
|
A new Pull Request was created by @bsunanda (Sunanda Banerjee) for master. It involves the following packages:
@cmsbuild, @civanch, @mdhildreth 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-8e8ee4/24361/summary.html Comparison SummarySummary:
|
@@ -166,7 +166,9 @@ string EcalSimRawData::getExt() const { | |||
} | |||
} | |||
|
|||
void EcalSimRawData::genFeData(string basename, int iEvent, const vector<uint16_t> adcCount[nEbEta][nEbPhi]) const { | |||
void EcalSimRawData::genFeData(std::string basename, |
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.
@bsunanda , why not std::string& ?
<< " Event " << iEvent << "\n" | ||
<< "------------------------------------------------------------------" | ||
"----\n"; | ||
std::cout << "==================================================================" |
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.
@bsunanda , why std::cout and no end of line? I mean "/n" as a last symbol not always complete the line.
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-37752/29655
|
Pull request #37752 was updated. @cmsbuild, @civanch, @mdhildreth can you please check and sign again. |
@cmsbuild Please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-8e8ee4/24388/summary.html Comparison SummarySummary:
|
+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, @qliphy (and backports should be raised in the release meeting by the corresponding L2) |
<< "0x" << setw(4) << tcp[iTtEta0][iTtPhi0] << "\tcmssw indices: " << tp.id().ieta() << " " | ||
<< tp.id().iphi() << "\n"; | ||
if (tcp[iTtEta0][iTtPhi0] != 0) { // print non-zero values only | ||
std::string collName = (type == 0) ? tcpDigiCollection_ : tpDigiCollection_; |
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.
std::string collName = (type == 0) ? tcpDigiCollection_ : tpDigiCollection_; | |
std::string collName = (type == EcalSimRawData::tcp) ? tcpDigiCollection_ : tpDigiCollection_; |
(Very minor point, not worth preventing this to get merged, but perhaps you'll like to take it into account in further cleanups)
+1 |
merge |
PR description:
Try to replace getByLabel with token in SimCalorimetry/EcalElectronicsEmulation
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:
Nothing special