-
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
HIN ecal pulse dqm #12484
HIN ecal pulse dqm #12484
Conversation
A new Pull Request was created by @rkunnawa (Raghav Kunnawalkam Elayavalli) for CMSSW_7_5_X. It involves the following packages: DQMOffline/Ecal @cmsbuild, @danduggan, @vanbesien, @deguio, @davidlange6 can you please review it and eventually sign? Thanks. Following commands in first line of a comment are recognized
|
please test |
this is very late. it won't go in for HI. |
please submit to 80x first |
The tests are being triggered in jenkins. |
@deguio |
@deguio |
@mandrenguyen |
Hi @deguio , is the 755 patch release intended for a specific purpose other than heavy-ions? |
+1 |
This pull request is fully signed and it will be integrated in one of the next CMSSW_7_5_X IBs (tests are also fine) and once validation in the development release cycle CMSSW_7_6_X is complete. This pull request requires discussion in the ORP meeting before it's merged. @slava77, @davidlange6, @Degano, @smuzaffar |
This pull request is fully signed and it will be integrated in one of the next CMSSW_7_5_X IBs (tests are also fine) and once validation in the development release cycle CMSSW_7_6_X is complete. This pull request requires discussion in the ORP meeting before it's merged. @slava77, @davidlange6, @Degano, @smuzaffar |
eb_chi2_e5 = iBooker.book1D(Form("rechit_eb_chi2_e%2.0f", mRechitEnergyThreshold),Form("Rechit eb_chi2, e>%2.0fGeV;chi2 fit value;", mRechitEnergyThreshold),nBins,0,maxChi2); | ||
eb_chi2_e5_eta = iBooker.book2D(Form("rechit_eb_chi2_e%2.0f_eta", mRechitEnergyThreshold),hProfile_Chi2); | ||
eb_errors = iBooker.book1D("rechit_eb_errors","Rechit eb_errors;error on the energy;",nBins,0,maxError); | ||
eb_errors_eta = iBooker.book2D("rechit_eb_errors_eta",hProfile_Err); |
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.
@deguio what's a preferred way of booking 2D histograms?
book2D should let you book internally using arguments instead of making a histogram first
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.
Hi Slava;
if this is not particularly harmful for a known reason, we should not
change it in this PR.
On 19/11/15 13:21, Slava Krutelyov wrote:
In DQMOffline/Ecal/plugins/ECALMultifitAnalyzer_HI.cc
#12484 (comment):
- ee_chi2_jet30 = 0;
- ee_errors_jet30 = 0;
- const int nBins = 500;
- const float maxChi2 = 70;
- const float maxError = 0.5;
- TH2F * hProfile_Chi2 = new TH2F("hProfile_Chi2","",nBins, -5, 5, nBins, 0, maxChi2);
- TH2F * hProfile_Err = new TH2F("hProfile_Err","",nBins, -5, 5, nBins, 0, maxError);
- eb_chi2 = iBooker.book1D("rechit_eb_chi2","Rechit eb_chi2;chi2 fit value;",nBins,0,maxChi2);
- eb_chi2_eta = iBooker.book2D("rechit_eb_eta_Vs_mean_Chi2", hProfile_Chi2);
- eb_chi2_e5 = iBooker.book1D(Form("rechit_eb_chi2_e%2.0f", mRechitEnergyThreshold),Form("Rechit eb_chi2, e>%2.0fGeV;chi2 fit value;", mRechitEnergyThreshold),nBins,0,maxChi2);
- eb_chi2_e5_eta = iBooker.book2D(Form("rechit_eb_chi2_e%2.0f_eta", mRechitEnergyThreshold),hProfile_Chi2);
- eb_errors = iBooker.book1D("rechit_eb_errors","Rechit eb_errors;error on the energy;",nBins,0,maxError);
- eb_errors_eta = iBooker.book2D("rechit_eb_errors_eta",hProfile_Err);
@deguio https://github.com/deguio what's a preferred way of booking
2D histograms?
book2D should let you book internally using arguments instead of
making a histogram first—
Reply to this email directly or view it on GitHub
https://github.com/cms-sw/cmssw/pull/12484/files#r45333540.
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.
Hi Yetkin,
I'm not so familiar with good ways of booking DQM histograms.
This one seems fairly uncommon based on "git grep book2D"
Hence my question.
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.
You are totally right, I'm also not familiar, if such a thing causes any
memory corruption it's not at all acceptable.
We need additional confirmation from someone who is sure such way of
booking is identical to alternatives.
Raghav says this is the way he was asked to use long time ago.
I assumed Federico's +1 includes this, Federico can you confirm?
On 19/11/15 13:30, Slava Krutelyov wrote:
In DQMOffline/Ecal/plugins/ECALMultifitAnalyzer_HI.cc
#12484 (comment):
- ee_chi2_jet30 = 0;
- ee_errors_jet30 = 0;
- const int nBins = 500;
- const float maxChi2 = 70;
- const float maxError = 0.5;
- TH2F * hProfile_Chi2 = new TH2F("hProfile_Chi2","",nBins, -5, 5, nBins, 0, maxChi2);
- TH2F * hProfile_Err = new TH2F("hProfile_Err","",nBins, -5, 5, nBins, 0, maxError);
- eb_chi2 = iBooker.book1D("rechit_eb_chi2","Rechit eb_chi2;chi2 fit value;",nBins,0,maxChi2);
- eb_chi2_eta = iBooker.book2D("rechit_eb_eta_Vs_mean_Chi2", hProfile_Chi2);
- eb_chi2_e5 = iBooker.book1D(Form("rechit_eb_chi2_e%2.0f", mRechitEnergyThreshold),Form("Rechit eb_chi2, e>%2.0fGeV;chi2 fit value;", mRechitEnergyThreshold),nBins,0,maxChi2);
- eb_chi2_e5_eta = iBooker.book2D(Form("rechit_eb_chi2_e%2.0f_eta", mRechitEnergyThreshold),hProfile_Chi2);
- eb_errors = iBooker.book1D("rechit_eb_errors","Rechit eb_errors;error on the energy;",nBins,0,maxError);
- eb_errors_eta = iBooker.book2D("rechit_eb_errors_eta",hProfile_Err);
Hi Yetkin,
I'm not so familiar with good ways of booking DQM histograms.
This one seems fairly uncommon based on "git grep book2D"
Hence my question.—
Reply to this email directly or view it on GitHub
https://github.com/cms-sw/cmssw/pull/12484/files#r45334291.
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.
@slava77 I saw that, but the same histo (TH2) is used to book multiple monitorElement. it is just convenient to have all the MEs with same binning and ranges. looks ok to me.
merge I checked locally with HeavyIonsRun2 using 251721 and 261626. both run and the ECALMultifitAnalyzer_HI looks ok (not noisy and doesn't take much time) |
This is a DQMOffline module to check the chi squared of the fit functions in the ECAL. required to check during the PbPb data taking.