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

Dijet Prompt DQM for JEC #19873

Closed
wants to merge 32 commits into from

Conversation

bobaekim
Copy link
Contributor

///Trigger Paths///
HLT_DiPFJetAve40
HLT_DiPFJetAve60
HLT_DiPFJetAve80
HLT_DiPFJetAve140
HLT_DiPFJetAve200
HLT_DiPFJetAve260
HLT_DiPFJetAve320
HLT_DiPFJetAve400
HLT_DiPFJetAve500
HLT_DiPFJetAve60_HFJEC
HLT_DiPFJetAve80_HFJEC
HLT_DiPFJetAve100_HFJEC
HLT_DiPFJetAve160_HFJEC
HLT_DiPFJetAve220_HFJEC
HLT_DiPFJetAve300_HFJEC

///Histograms///
pt_1 : pt of leading jet passed trigger and w/o offline selection
pt_2 : pt of second leading jet passed trigger and w/o offline selection
pt_avg_b : using (pt_1 + pt_2) * 0.5 , pt average before offline selection
pt_tag : tag jet passed trigger and offline selection satisfied with fabs(eta) < 1.3
pt_prb : probe jet passed trigger and offline selection, satisfied with fabs(eta) > 1.3 among pt_1 and pt_2
(If both pt_1 and pt_2 are satisfied with fabs(eta) < 1.3, tag and probe are randomly selected.)
pt_asym : using (pt_prb - pt_tag)/(pt_tag + pt_prb), asymmetry of pt_tag and pt_prb
pt_avg_a : using (pt_tab + pt_prb) * 0.5 , pt average after offline selection
eta_prb : eta of probe jet
pt_Asym_VS_eta_prb : 2D historgram of pt_asym and eta_prb

Anastasia asked.

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @bobaekim (Bobae Kim) for master.

It involves the following packages:

DQMOffline/Trigger

@vazzolini, @kmaeshima, @dmitrijus, @cmsbuild, @vanbesien, @davidlange6 can you please review it and eventually sign? Thanks.
@battibass, @mtosi, @jhgoh, @calderona, @HuguesBrun, @trocino, @rociovilar this is something you requested to watch as well.
@davidlange6 you are the release manager for this.

cms-bot commands are listed here

@mtosi
Copy link
Contributor

mtosi commented Jul 24, 2017

return;
}
for ( reco::PFJetCollection::const_iterator ibegin = offjets->begin(), iend = offjets->end(), ijet = ibegin; ijet != iend; ++ijet ) {
if (ijet->pt()< 20) {continue;}
Copy link
Contributor

Choose a reason for hiding this comment

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

why don't you make use of a jetSelector ?

//---- Additional DiJet offline selection------
bool DiJetMonitor::dijet_selection(double eta_1, double phi_1, double eta_2, double phi_2, double pt_1, double pt_2, int &tag_id, int &probe_id){
bool passeta; //check that one of the jets in the barrel
if (abs(eta_1)< 1.3 || abs(eta_2) < 1.3 )
Copy link
Contributor

Choose a reason for hiding this comment

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

please, do not use hard coded / magic numbers


float delta_phi_1_2= (phi_1 - phi_2);
bool other_cuts;//check that jets are back to back
if (abs(delta_phi_1_2) >= 2.7)
Copy link
Contributor

Choose a reason for hiding this comment

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

no magic number w/in the code, please

# DiPFjetAve320
DiPFjetAve320_Prommonitoring = DiPFjetAve40_Prommonitoring.clone()
DiPFjetAve320_Prommonitoring.FolderName = cms.string('HLT/JetMET/HLT_DiPFJetAve320/')
DiPFjetAve320_Prommonitoring.numGenericTriggerEventPSet.hltPaths = cms.vstring("HLT_DiPFJetAve320_v*")
Copy link
Contributor

Choose a reason for hiding this comment

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

I think you need to make use of the variable binning for the pt distribution

@mtosi
Copy link
Contributor

mtosi commented Jul 24, 2017

shouldn't you need the eta-phi plot as well ?

@bobaekim
Copy link
Contributor Author

bobaekim commented Jul 25, 2017 via email

@mtosi
Copy link
Contributor

mtosi commented Jul 25, 2017 via email

@fwyzard
Copy link
Contributor

fwyzard commented Jul 25, 2017

tracked by #19142

@bobaekim
Copy link
Contributor Author

bobaekim commented Jul 25, 2017 via email

@fwyzard
Copy link
Contributor

fwyzard commented Aug 3, 2017

It's been over a week, please post the update to the code ASAP.

@bobaekim
Copy link
Contributor Author

bobaekim commented Aug 7, 2017 via email

@dmitrijus
Copy link
Contributor

dmitrijus commented Feb 13, 2018

-1

I think we can afford a 1mb of memory. But not the printouts...

and there is storm of printouts added by this PR it would seem...

@fabiocos
Copy link
Contributor

@bobaekim is this PR still needed?

@bobaekim
Copy link
Contributor Author

Dear all,
I'm sorry for late replying.
Could you want me to modify bins of 2D histograms and update this PR?
Thank you in advance.

@fabiocos
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Feb 26, 2018

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/26301/console Started: 2018/02/26 09:52

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

Comparison job queued.

@cmsbuild
Copy link
Contributor

Comparison is ready
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-19873/26301/summary.html

@slava77 comparisons for the following workflows were not done due to missing matrix map:

  • /build/cmsbld/jenkins/workspace/compare-root-files-short-matrix/results/JR-comparison/PR-19873/136.8311_RunJetHT2017F_reminiaod+RunJetHT2017F_reminiaod+REMINIAOD_data2017+HARVEST2017_REMINIAOD_data2017

Comparison Summary:

  • You potentially added 853 lines to the logs
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 29
  • DQMHistoTests: Total histograms compared: 2500248
  • DQMHistoTests: Total failures: 1
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2500071
  • DQMHistoTests: Total skipped: 176
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 20851.22 KiB( 23 files compared)
  • Checked 118 log files, 9 edm output root files, 29 DQM output files

@bobaekim
Copy link
Contributor Author

Dear all,
I'm sorry for bothering you.
I'm modifying and testing code in 10_0_X version.
In order to reduce memory, numerator and denominator histograms which are not involved in efficiency plot will be removed.
And to adjust bin of 2D histogram, I'm looking at JetMonitor code as reference.
I'll make PR within 1 or 2 days.
Sorry in advance.

Best regards,
Bobae

@fabiocos
Copy link
Contributor

@bobaekim thanks, please also check the output messages, according to the test lots of lines are added to the log files...

@bobaekim
Copy link
Contributor Author

bobaekim commented Mar 3, 2018

Dear all,

I'll update PR here.
#22443
Thank you in advance.

Best regards,
Bobae

@fabiocos
Copy link
Contributor

fabiocos commented Mar 3, 2018

@bobaekim so if this PR is now obsolete and superseded by #22443, please close it

@bobaekim bobaekim closed this Mar 3, 2018
cmsbuild added a commit that referenced this pull request Mar 7, 2018
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

8 participants