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

Include the HF filters used in heavy ions using struct in the MiniAOD content #31602

Merged
merged 7 commits into from
Oct 9, 2020

Conversation

denerslemos
Copy link

@denerslemos denerslemos commented Sep 27, 2020

Dear All,

This PR is an update of the previous one: #30810, and already include the changes requested. As expected, the results obtained using struct was exactly the same as using vectors, even in the case of MiniAOD size. The results can be found in this set of slides (from previous PR):

https://www.dropbox.com/s/susuzaanbk3jb3h/HIHFFilter.pdf?dl=0

The studies above was made in 103X, and was also tested in 112X using "runTheMatrix.py -l limited -i all --ibeos", in special workflow 159. The versions 103X and 112X returns exactly the same results on the tests. On this new version I have checked in the exactly the same way on 112X.

@mandrenguyen @pjwinnetou @FHead

Best,

Dener Lemos

Summarizing the request:

This PR is made to include the HF event filters in the Heavy Ions miniAOD workflow. This is expected to be included only for the eras "pp_on_AA_2018" and "pp_on_PbPb_run3". Since the towerMaker collection is not saved in miniAOD this filters need be stored in the miniAOD content. To include that filters, a EDProducer was created to run on PAT and store a struct with 4 integers which each of them has the minimum number of towers above some threshold between the two HF sides (std::min(nTowerHF+,nTowerHF-)), which means:

numMinHFTowers2 = N of minimum HF towers above 2 GeV
numMinHFTowers3 = N of minimum HF towers above 3 GeV
numMinHFTowers4 = N of minimum HF towers above 4 GeV
numMinHFTowers5 = N of minimum HF towers above 5 GeV

@cmsbuild
Copy link
Contributor

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-31602/18653

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @denerslemos (Dener Lemos) for master.

It involves the following packages:

DataFormats/HeavyIonEvent
PhysicsTools/PatAlgos
RecoHI/HiCentralityAlgos

@perrotta, @jpata, @cmsbuild, @santocch, @slava77 can you please review it and eventually sign? Thanks.
@rappoccio, @gouskos, @yslai, @hatakeyamak, @emilbols, @peruzzim, @seemasharmafnal, @mmarionncern, @ahinzmann, @smoortga, @dgulhan, @jdolen, @ferencek, @mandrenguyen, @yetkinyilmaz, @rovere, @jdamgov, @nhanvtran, @gkasieczka, @schoef, @mariadalfonso, @clelange, @riga, @jazzitup, @JyothsnaKomaragiri, @yenjie, @kurtejung, @gpetruc, @andrzejnovak this is something you requested to watch as well.
@silviodonato, @dpiparo, @qliphy you are the release manager for this.

cms-bot commands are listed here

@perrotta
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Sep 28, 2020

The tests are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

+1
Tested at: 058dbef
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-547df9/9610/summary.html
CMSSW: CMSSW_11_2_X_2020-09-27-2300
SCRAM_ARCH: slc7_amd64_gcc820

@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-547df9/9610/summary.html

Comparison Summary:

  • No significant changes to the logs found
  • ROOTFileChecks: Some differences in event products or their sizes found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 35
  • DQMHistoTests: Total histograms compared: 2539438
  • DQMHistoTests: Total failures: 1
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2539415
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 34 files compared)
  • Checked 149 log files, 22 edm output root files, 35 DQM output files

Copy link
Contributor

@jpata jpata left a comment

Choose a reason for hiding this comment

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

Overall, looks good! I had some comments inline (click "resolve" once you have addressed them).

DataFormats/HeavyIonEvent/interface/HFFilterStruct.h Outdated Show resolved Hide resolved
DataFormats/HeavyIonEvent/src/classes_def.xml Outdated Show resolved Hide resolved
RecoHI/HiCentralityAlgos/plugins/HiHFFilterProducer.cc Outdated Show resolved Hide resolved
RecoHI/HiCentralityAlgos/plugins/HiHFFilterProducer.cc Outdated Show resolved Hide resolved
RecoHI/HiCentralityAlgos/plugins/HiHFFilterProducer.cc Outdated Show resolved Hide resolved
@jpata
Copy link
Contributor

jpata commented Oct 7, 2020

+reconstruction

  • introduces HF filters for heavy ion MINIAOD
  • new product reco::HFFilterInfo is created and stored in the output only for HI workflows
  • file size and event processing time increases are negligible, as reported in the original PR and confirmed independently in my tests on WF 158.1

@silviodonato
Copy link
Contributor

please test workflows 140.57, 159.0, 159.1, 310.0

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 7, 2020

The tests are being triggered in jenkins.
Test Parameters:

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 7, 2020

+1
Tested at: e67d14c
https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-547df9/9780/summary.html
CMSSW: CMSSW_11_2_X_2020-10-07-1100
SCRAM_ARCH: slc7_amd64_gcc820

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 7, 2020

Comparison job queued.

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 7, 2020

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

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

  • /data/cmsbld/jenkins/workspace/compare-root-files-short-matrix/data/PR-547df9/159.0_HydjetQ_B12_5020GeV_2021_ppReco+HydjetQ_B12_5020GeV_2021_ppReco+DIGIHI2021PPRECO+RECOHI2021PPRECO+ALCARECOHI2021PPRECO+HARVESTHI2021PPRECO
  • /data/cmsbld/jenkins/workspace/compare-root-files-short-matrix/data/PR-547df9/159.1_QCD_Pt_80_120_14_HI_2021+QCD_Pt_80_120_14_HI_2021+DIGIHI2021PPRECO+RECOHI2021PPRECO+HARVESTHI2021PPRECO
  • /data/cmsbld/jenkins/workspace/compare-root-files-short-matrix/data/PR-547df9/310.0_Pyquen_GammaJet_pt20_2760GeV_2021+Pyquen_GammaJet_pt20_2760GeV_2021+DIGIHI2021MIX+RECOHI2021MIX+HARVESTHI2021PPRECO

Comparison Summary:

  • No significant changes to the logs found
  • ROOTFileChecks: Some differences in event products or their sizes found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 35
  • DQMHistoTests: Total histograms compared: 2542225
  • DQMHistoTests: Total failures: 1
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2542202
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 34 files compared)
  • Checked 149 log files, 22 edm output root files, 35 DQM output files

@santocch
Copy link

santocch commented Oct 8, 2020

+1

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 8, 2020

This pull request is fully signed and it will be integrated in one of the next master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @silviodonato, @dpiparo, @qliphy (and backports should be raised in the release meeting by the corresponding L2)

@qliphy
Copy link
Contributor

qliphy commented Oct 9, 2020

+1

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.

10 participants