-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Delete old scripts accessing geometry with prior-run2 GT in CalibMuon/CSCCalibration #39011
Conversation
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-39011/31473
|
A new Pull Request was created by @yuanchao (Yuan CHAO) for master. It involves the following packages:
@malbouis, @yuanchao, @cmsbuild, @saumyaphor4252, @francescobrivio, @ChrisMisan, @tvami can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
type csc,performance-improvement |
@cmsbuild , please test |
FYI @ptcox |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-3b0dcd/26726/summary.html Comparison SummarySummary:
|
assign csc-dpg |
New categories assigned: csc-dpg @ptcox you have been requested to review this Pull request/Issue and eventually sign? Thanks |
+alca
|
hi @ptcox can you please comment on this PR? thanks! |
I already did comment on this: They were used for producing CSCValidation output in simulation and in real data. They do not make sense as a 'unit test'. However, if you really think it is necessary to delete them I am not going to fight about it. I just don't think it's a good idea. It will likely be somebody else's problem to recreate equivalent configs at some point in the future. |
Hi Tim,
Is there a version of the script that's still used?
I dont understand why not? Further questions: can we simply run this on Run-3 data? If yes, do you need a special skim? For MC, what input would make sense? |
unassign csc-dpg
|
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
|
1 similar comment
+1
|
Hi Tamas,
I just do not have the time to invest in this now. Sorry.
Tim
…________________________________
From: Tamas Vami ***@***.***
Sent: 16 August 2022 20:31
To: cms-sw/cmssw
Cc: Tim Cox; Mention
Subject: Re: [cms-sw/cmssw] Delete old scripts accessing geometry with prior-run2 GT in CalibMuon/CSCCalibration (PR #39011)
Hi Tim,
I didnt (and still dont) see your comment on this earlier.
Many subsystems have scripts that really should be deleted. I understand yours is not that case. So let's fix these configs.
They were used for producing CSCValidation output in simulation and in real data.
Is there a version of the script that's still used?
They do not make sense as a 'unit test'.
I dont understand why not? CSCValidation.cc is part of this package, and this config file runs it, i.e. it's testing if CSCValidation.cc still works.
Further questions: can we simply run this on Run-3 data? If yes, do you need a special skim? For MC, what input would make sense?
Thanks
—
Reply to this email directly, view it on GitHub<#39011 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ABGYLHQMKHDBA2A72K4LBOTVZPM77ANCNFSM56BA3W3A>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
I object very strongly to deletion of old scripts for no reason. In what
way is it useful to anybody to remove scripts with superseded content?
Even a broken config file is useful to somebody in the future arriving
with no knowledge of what was done in the past.
Isn't that one point of a software repository? It is not as if one can
arrive years later, when one need to accomplish whatever the old script
used to do, and somehow magically retrieve it from deletion: how would
one even know it had ever existed?
And I do not have time to invest in this now.
Tim
… Tamas Vami ***@***.***>
August 9, 2022 at 16:55
FYI @ptcox <https://github.com/ptcox>
if you disagree with the cleaning, please provide a working config
(and make it a unit test), thanks!
—
Reply to this email directly, view it on GitHub
<#39011 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABGYLHW74DVK2DWHSCM5AZLVYJWMTANCNFSM56BA3W3A>.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
PR description:
Following the up the migration of Geometry_cff to GeometryDB_cff (#35278), proper GlobalTag needs to be set in advance. We take the chance to clean up deprecated AlCa/DB script in CSCCalibration.
PR validation:
Remove deprecated scripts: testNewCalibConstants_global_cfg.py and testNewCalibConstants_global_cfg.py
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:
Not a back port and no back port expected.