Skip to content
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

Provenance_Histos_Renormalization_81X_V1 #16246

Merged
merged 4 commits into from Nov 3, 2016
Merged

Provenance_Histos_Renormalization_81X_V1 #16246

merged 4 commits into from Nov 3, 2016

Conversation

archiron
Copy link
Contributor

@archiron archiron commented Oct 18, 2016

A new normalization was made for "provenance (*)" histos for standard histos (SingleElectronPt10, 35, .., TTbar, ZEE) and QCD_80_120 in ElectronMcSignalPostValidator.cc and ElectronMcFakePostValidator.cc files.
No other modification was made.

(*) h1_ele_provenance, h1_ele_provenance_barrel, h1_ele_provenance_endcaps
@beaudett @fcouderc

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @archiron (Chiron) for CMSSW_8_1_X.

It involves the following packages:

Validation/RecoEgamma

@cmsbuild, @dmitrijus, @vanbesien, @davidlange6 can you please review it and eventually sign? Thanks.
@richard-cms this is something you requested to watch as well.
@slava77, @smuzaffar you are the release manager for this.

cms-bot commands are listed here #13028

MonitorElement * h1_ele_provenance_barrel = get(iGetter, "provenance_barrel") ;
h1_ele_provenance_barrel->getTH1F()->Scale(1./h1_ele_provenance_barrel->getBinContent(3));
MonitorElement * h1_ele_provenance_endcaps = get(iGetter, "provenance_endcaps") ;
h1_ele_provenance_endcaps->getTH1F()->Scale(1./h1_ele_provenance_endcaps->getBinContent(3));*/
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The trailing */ looks like an error.

@dmitrijus
Copy link
Contributor

80x: #16247

Please reference pull requests like I just did. Saves a lot of time for a number of people.

@cmsbuild
Copy link
Contributor

Pull request #16246 was updated. @cmsbuild, @dmitrijus, @vanbesien, @davidlange6 can you please check and sign again.

@dmitrijus
Copy link
Contributor

+1

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 1, 2016

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/16123/console

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 1, 2016

This pull request is fully signed and it will be integrated in one of the next CMSSW_8_1_X IBs after it passes the integration tests. This pull request requires discussion in the ORP meeting before it's merged. @slava77, @davidlange6, @smuzaffar

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 1, 2016

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 1, 2016

Comparison job queued.

@cmsbuild
Copy link
Contributor

cmsbuild commented Nov 1, 2016

@davidlange6
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit c97e46b into cms-sw:CMSSW_8_1_X Nov 3, 2016
MonitorElement * h1_ele_provenance_barrel = get(iGetter, "provenance_barrel") ;
h1_ele_provenance_barrel->getTH1F()->Scale(1./h1_ele_provenance_barrel->getBinContent(3));
MonitorElement * h1_ele_provenance_endcaps = get(iGetter, "provenance_endcaps") ;
h1_ele_provenance_endcaps->getTH1F()->Scale(1./h1_ele_provenance_endcaps->getBinContent(3));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like these changes has broken plots/comparisons done with jenkins.
Low stat tests have the bin3 content 0 and these histograms become nans.
Given that "nan!=nan" in floating point logic, the histograms with nans are reported as different.

Please review the changes and avoid divisions by 0

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Slava,

as a matter of fact, we usually run our tests on as much stat as possible, we were not aware of this use case, sorry.

Can you please confirm that in the low stat test that you mention the histograms are simply empty ? In principle, the bin3 should always be filled as soon as there is an electron candidate.
If it is indeed the case, we will simply skip the rescaling when the 3rd bin content is empty and it won't matter because the histogram will be empty anyway. I would not feel comfortable to apply different normalization in different cases.
Thanks

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I checked /DQMData/Run 1/EgammaV/Run summary/ElectronMcFakeValidator h_ele_provenance
the statbox says entries = 0.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Slava. We'll fix that early next week.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, I made corrections on the files on Provenance_Histos_Renormalization_81X_V1 #16246
Do I have to made another PR ?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, please.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants