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
HCAL: bug fixed in DPGAnalysis/HcalTools for 2023 Run3 #40732
HCAL: bug fixed in DPGAnalysis/HcalTools for 2023 Run3 #40732
Conversation
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-40732/34132
|
A new Pull Request was created by @zhokin2 (zhokin) for master. It involves the following packages:
@emanueleusai, @cmsbuild, @syuvivida, @rvenditti, @micsucmed, @pmandrik can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
@@ -8821,23 +8818,23 @@ void CMTRawAnalyzer::fillDigiAmplitude(HBHEDigiCollection::const_iterator& digiI | |||
pedestalaver4 /= c4; | |||
pedestalwaver9 = sqrt(pedestalwaver9 / TSsize); | |||
pedestalwaver4 = sqrt(pedestalwaver4 / c4); | |||
if (ts_with_max_signal > -1 && ts_with_max_signal < 10) | |||
if (ts_with_max_signal > 0 && ts_with_max_signal < TSsize) |
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.
Why here and in the following you have "> 0" and you have "> -1" in all other cases?
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.
in principle, it does not matter, but -1 is more correct, Thank you !
@@ -9662,7 +9659,7 @@ void CMTRawAnalyzer::fillDigiAmplitudeQIE11(QIE11DataFrame qie11df) { | |||
double amplitude345 = 0.; | |||
double ampl = 0.; | |||
double ampl3ts = 0.; | |||
double amplmaxts = 0.; | |||
// double amplmaxts = 0.; |
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.
Please remove the commented out code with these useless variables, here and below
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.
OK, these commented lines can be removed - thanks.
tiny corrections of plugins/CMTRawAnalyzer.cc done with following
git commit -m "HCAL: bug fixed in DPGAnalysis/HcalTools for 2023 Run3" ./
git push my-cmssw CMTRMTforRun3_CMSSW_13_0_X_2023-02-08-1100
________________________________
From: Andrea Perrotta ***@***.***
Sent: 09 February 2023 07:37
To: cms-sw/cmssw
Cc: Alexandr Zhokin; Mention
Subject: Re: [cms-sw/cmssw] HCAL: bug fixed in DPGAnalysis/HcalTools for 2023 Run3 (PR #40732)
@perrotta commented on this pull request.
________________________________
In DPGAnalysis/HcalTools/plugins/CMTRawAnalyzer.cc<#40732 (comment)>:
@@ -8821,23 +8818,23 @@ void CMTRawAnalyzer::fillDigiAmplitude(HBHEDigiCollection::const_iterator& digiI
pedestalaver4 /= c4;
pedestalwaver9 = sqrt(pedestalwaver9 / TSsize);
pedestalwaver4 = sqrt(pedestalwaver4 / c4);
- if (ts_with_max_signal > -1 && ts_with_max_signal < 10)
+ if (ts_with_max_signal > 0 && ts_with_max_signal < TSsize)
Why here and in the following you have "> 0" and you have "> -1" in all other cases?
________________________________
In DPGAnalysis/HcalTools/plugins/CMTRawAnalyzer.cc<#40732 (comment)>:
@@ -9662,7 +9659,7 @@ void CMTRawAnalyzer::fillDigiAmplitudeQIE11(QIE11DataFrame qie11df) {
double amplitude345 = 0.;
double ampl = 0.;
double ampl3ts = 0.;
- double amplmaxts = 0.;
+ // double amplmaxts = 0.;
Please remove the commented out code with these useless variables, here and below
—
Reply to this email directly, view it on GitHub<#40732 (review)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ACHOUBDBH7LWRVNBG54X4I3WWSGBTANCNFSM6AAAAAAUWEPJCE>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-40732/34133
|
Pull request #40732 was updated. @emanueleusai, @cmsbuild, @syuvivida, @rvenditti, @micsucmed, @pmandrik can you please check and sign again. |
type hcal |
type bug |
please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-bd099d/30556/summary.html Comparison SummarySummary:
|
-1 Failed Tests: RelVals-INPUT RelVals-INPUTThe relvals timed out after 4 hours. Comparison SummarySummary:
|
@zhokin2 @abdoulline this PR is not in conflict with #40721 (which I think was the conclusion you reached in the thread ending with #40721 (comment)) |
frankly, there is no idea what is the problem in runTheMatrix, because in the last edit, I just deleted three commented lines |
There are no problems at all in runTheMatrix, as far as I can see. RelVals-INPUT time out quite often, independently on the PR. When it is clear, as in this case, that the timeour cannot be given by the PR changes we don't bother to re-run them. But if you like seeing the display all green, we can relaunch the tests here and see whether those timeouts disappear by themselves. |
please test |
git can recognize that the modifications appeared in different parts of the file, far away "enough" according to some metrics, and considers them as independent. |
@perrotta OK, thanks. I see it better now. |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-bd099d/30585/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, @rappoccio (and backports should be raised in the release meeting by the corresponding L2) |
+1
|
PR description:
this is an additional PR to overcome serious warning seen only with command " scram b checker " and concerns only file plugin/[CMTRawAnalyzer.cc] (https://github.com/cms-sw/cmssw/blob/master/DPGAnalysis/HcalTools/plugins/CMTRawAnalyzer.cc)
PR validation:
scram build code-format
scram b checker
scram build code-checks