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
Change the isolation in the reco::Photon to the value computed by CITK #16759
Change the isolation in the reco::Photon to the value computed by CITK #16759
Conversation
A new Pull Request was created by @ishvetso (Ivan Shvetsov) for CMSSW_9_0_X. It involves the following packages: PhysicsTools/IsolationAlgos @cmsbuild, @cvuosalo, @slava77, @monttj, @davidlange6 can you please review it and eventually sign? Thanks. cms-bot commands are listed here #13028 |
@cmsbuild please test |
The tests are being triggered in jenkins. |
Comparison job queued. |
@cmsbuild please test |
The tests are being triggered in jenkins. |
Comparison job queued. |
Comparison is ready The workflows 1003.0, 1001.0, 1000.0, 140.53, 136.731, 4.22 have different files in step1_dasquery.log than the ones found in the baseline. You may want to check and retrigger the tests if necessary. You can check it in the "files" directory in the results of the comparisons |
@ishvetso: The "All Conversions" plot I included here (#16759 (comment)) is a standard DQM plot that is checked by Jenkins for every pull request. I don't know the details of the selection in the plot. |
this seems to be caused by relinking in ReducedEGProducer here:
That should explain the first picture but I'm not sure about conversions. |
@gzevi: Could you please comment on how changes to isolation in this PR could change photon conversion plots like the one shown here: Is isolation used by the gedPhotonAnalyzer? |
@cvuosalo: I am not sure how this works. I can’t find the plot you pasted in the folder [1], so I don’t know exactly where it comes from.
Based on its title, and what you say in the email, it looks like this plot is produced here [2] based on input from this analyzer [3].
The code seems to have no isolation selection on the conversions that are plotted (only nTracks, isValid and Chi2prob),
and no isolation selection for photons of type “All”.
So I think this plot is not applying isolation, but I might be reading the wrong code.
The question is whether conversion reconstruction applies isolation, upstream of this code.
[1] https://cmssdt.cern.ch/SDT/jenkins-artifacts/baseLineComparisons/CMSSW_9_0_X_2016-11-24-2300+16759/17173/
[2] http://cmslxr.fnal.gov/source/DQMOffline/EGamma/plugins/PhotonOfflineClient.cc#0267
[3] http://cmslxr.fnal.gov/source/DQMOffline/EGamma/plugins/PhotonAnalyzer.cc#1017
… On Nov 29, 2016, at 2:06 PM, Carl Vuosalo ***@***.***> wrote:
@gzevi <https://github.com/gzevi>: Could you please comment on how changes to isolation in this PR could change photon conversion plots like the one shown here:
#16759 (comment) <#16759 (comment)>
Is isolation used by the gedPhotonAnalyzer?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#16759 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AFH0Vy-V5ehNyqe0HJ8cbo1EgUWCzf_tks5rDIWxgaJpZM4K8aE1>.
|
@gzevi: The plots 1 come from a test of workflow 1332.0_H125GGgluonfusion_13 with 1000 events against baseline CMSSW_9_0_X_2016-11-22-2300. I used the standard Jenkins code to compare the PR with baseline and make the plots. |
Just to make sure I understand: Reco quantities in miniAOD are expected to change, as shown above, because the photons are treated differently depending on their isolation. The issue is Reco quantities in Reco (for example the conversion plot you show, which I understand is made from AOD). Please correct if I misunderstood. |
@gzevi: Yes, your statement of the issue is correct. (I edited my previous comment to be more clear.) |
I'm taking a look... |
Looking more carefully, I see that the differences are limited to DQM photon conversion plots produced by the gedPhotonAnalyzer (except for the Mini-AOD changes that are expected). |
OK - I also made sure that the photon analyzer wasn't being run with the same settings for the MiniAOD DQM. |
Hi, I found the issue. No mystery, just very convoluted code. Changes expected, in that case. |
Also the plot labelling is misleading, "AllPhotons" actually means "non isolated photons" according to the DQM code. |
This last point explains all other differences. i.e. #16759 (comment) |
Thanks Lindsey! |
+1 Changing to use CITK for computing photon isolation. The code changes are satisfactory. Jenkins tests against baseline CMSSW_9_0_X_2016-11-27-2300 show many small differences expected from the change in isolation, as discussed extensively above. Additional tests results discussed above also show only expected changes, no increase in CPU time, and only a slight increase in memory usage. |
This PR changes the isolation in the reco::Photon object to the value computed by CITK as presented here:
https://indico.cern.ch/event/589257/contributions/2376119/attachments/1376717/2090803/Shvetsov_23November2016.pdf
Following changes are done the particleFlowEGammaFinal sequence:
Additional minor changes in CITK:
include @gzevi , @ikrav, @fcouderc