-
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
Fixed bug. Missing edm::InputTag src default value in fillDescriptions #41372
Fixed bug. Missing edm::InputTag src default value in fillDescriptions #41372
Conversation
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-41372/35226
|
A new Pull Request was created by @AWildridge (AJ Wildridge) for master. It involves the following packages:
@SiewYan, @mkirsano, @Saptaparna, @cmsbuild, @alberto-sanchez, @menglu21, @GurpreetSinghChahal can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
please test |
type bugfix |
@AWildridge it is strange that bug: it looks like that the code was never actually tested during and after the merge of #39459 |
Yes I did not think adding default values would break the code so that is why it was not tested. I did not properly understand what all entailed in the addition of the fillDescriptions method. I've performed a test generating the Toponium sample as mentioned in the prior PR. This is the fragment that I use:
I used this command of cmsDriver to generate the config file: I then used the command:
Please ignore the cross section as we need to reweight this sample. I then opened that file and grabbed the mass for the toponium particles with status 62 and I get this distribution (did not use weights): Please let me know if you would like me to run further or different tests. |
Thank you @AWildridge |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-31c6ea/32036/summary.html Comparison SummarySummary:
|
Sounds good. Regarding the physics content, this is probably a more accurate plot since the filtering was performed on the W+W-bb~ invariant mass. This is the W+W-bb~ invariant mass where the W's and b's were selected if they had status 22 or 23. The total number of entries in this histogram is 1890 which matches the output above. |
@Saptaparna @menglu21 Just a friendly reminder regarding this pull request. I believe you are the L2s that Andrea mentioned, sorry if I am pinging the wrong people. |
Hi, sorry for overlooking this PR, may I ask that you have checked that without this fix this filter can't obtain the plot, is that right |
No worries! Yes, I get the below error when I try running it with the src parameter in the fragment:
When I try removing the src part of the fragment I get:
|
+1
|
merge |
PR description:
There is currently a bug that makes the usage of the LHEGenericMassFilter unusable. This is because the
fillDescriptions
method was missing the default value for theedm::InputTag src
constructor parameter. This PR fixes this bug.PR validation:
I ran
scram b runtests
and
runTheMatrix.py -l limited -i all --ibeos
No new code needs to be added for unit tests, test configurations, additions, or updates to the runTheMatrix test workflows as far as I am concerned.