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

Remove HF/Voronoi subtraction for jets in heavy ions and disable centrality bin producer #18684

Merged
merged 5 commits into from
May 20, 2017

Conversation

mandrenguyen
Copy link
Contributor

Clean-up of the heavy-ion reco sequence to set the stage for developments for the 2018 Run.

  1. Removes HF/Voronoi (Vs) jets, which will eventually be replaced by the superior constituent subtracted (Cs) method.
  2. Also temporarily disables the centrality-bin producer, which can anyway be easily run post-reco.

Without these two items the phase 1 version of the heavy-ion tracking #18646 can run directly from the cmsDriver without removing sequences "by-hand"
These changes required some cleanup of DQM/Validation sequences (removing Vs jets and adding protection if centrality bins are not produced).

The PR was tested on wfs 145 and 140.53 in addition to runTheMarix.py -s

@abaty @kurtejung @cfmcginn @mverwe @jmartinb

@slava77
Copy link
Contributor

slava77 commented May 10, 2017

@cmsbuild please test

@smuzaffar
.. did the bot fall asleep though? (I posted this 16 mins after the PR was made and still no reaction from the bot)

@cmsbuild
Copy link
Contributor

cmsbuild commented May 11, 2017

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/19745/console Started: 2017/05/11 08:13
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/19746/console Started: 2017/05/11 08:50

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @mandrenguyen for master.

It involves the following packages:

DQM/Physics
DQMOffline/Ecal
DQMOffline/JetMET
RecoHI/Configuration
RecoHI/HiJetAlgos
Validation/RecoJets

@perrotta, @dmitrijus, @cmsbuild, @slava77, @vanbesien, @davidlange6 can you please review it and eventually sign? Thanks.
@rappoccio, @ahinzmann, @schoef, @mmarionncern, @jazzitup, @MiheeJo, @echapon, @jdolen, @nhanvtran, @yenjie, @gkasieczka, @yslai, @kurtejung, @rociovilar, @mariadalfonso, @argiro, @dgulhan, @TaiSakuma, @yetkinyilmaz this is something you requested to watch as well.
@davidlange6 you are the release manager for this.

cms-bot commands are listed here

@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-18684/19746/summary.html

Comparison Summary:

  • You potentially added 744 lines to the logs
  • Reco comparison results: 3402 differences found in the comparisons
  • DQMHistoTests: Total files compared: 24
  • DQMHistoTests: Total histograms compared: 1828973
  • DQMHistoTests: Total failures: 33371
  • DQMHistoTests: Total nulls: 9
  • DQMHistoTests: Total successes: 1795413
  • DQMHistoTests: Total skipped: 180
  • DQMHistoTests: Total Missing objects: 0
  • Checked 98 log files, 14 edm output root files, 24 DQM output files

@dmitrijus
Copy link
Contributor

+1


int hibin = -999;
if(cbin.isValid()) hibin = *cbin;
else edm::LogWarning("CentralityDQM") << "invalid collection: centralityBin " << std::endl;
Copy link
Contributor

Choose a reason for hiding this comment

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

what is the reason to pollute the logs with this message by default?
The same question applies to other cases.

If the goal is to keep a reminder where it should be added again, perhaps add these printouts with a compile flag e.g. #ifdef CENTRALITY_WARNING

@@ -143,7 +143,7 @@ void CentralityDQM::analyze(const edm::Event& iEvent,
if(cent.isValid()){
int hibin = -999;
if(cbin.isValid()) hibin = *cbin;
else edm::LogWarning("CentralityDQM") << "invalid collection: centralityBin " << std::endl;
//else edm::LogWarning("CentralityDQM") << "invalid collection: centralityBin " << std::endl;
Copy link
Contributor

Choose a reason for hiding this comment

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

is this commented out code needed?
Please remove or add comments inline in the code why the commented out block is relevant

... BTW, these LogWarnings was just the first comment/topic from reco review, I'm not done yet.

@slava77
Copy link
Contributor

slava77 commented May 17, 2017

what is the relationship between the centrality producer and phase-1 setup?
centralityBin, which is the one disabled, looks pretty simple to have complications to run in phase-1.
Is the actual issue with hiCentrality? If so, it should be dropped as well.

@mandrenguyen
Copy link
Contributor Author

@slava77 The HI reco currently only requires HI-specific GTs for the Vs jets (which are being removed) and for the centralityBinProducer, which can anyway be run post-reco. All the centralityBinProducer does is take the output of hiCentrality and flatten into a percentile. With it disactivated we can just run the HI reco with pp GTs, which is sufficient for the ongoing development work. I prefer to defer an HI specific Phase I GT until it's actually needed. There's no Phase I specific issue with hiCentrality.

@@ -795,11 +795,15 @@ void JetAnalyzer_HeavyIons::analyze(const edm::Event& mEvent, const edm::EventSe
edm::Handle<int> cbin;
mEvent.getByToken(centralityBinToken, cbin);

if (!cent.isValid()) return;
if (!cent.isValid()){
edm::LogError("JetAnalyzer_HeavyIons") << "invalid collection: centrality " << std::endl;
Copy link
Contributor

Choose a reason for hiding this comment

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

If this is a real problem, better throw an exception (or let the framework throw it).
Since a while now, it can take a long time until a LogError is noticed.

@slava77
Copy link
Contributor

slava77 commented May 17, 2017

If Voronoi algo is gone for good, please remove bpmpd*f and also cleanup RecoHI/HiJetAlgos/plugins/BuildFile.xml from CGAL and fortran77 needs.
Thank you.

@cmsbuild
Copy link
Contributor

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

@slava77
Copy link
Contributor

slava77 commented May 18, 2017

@cmsbuild please test

@cmsbuild
Copy link
Contributor

cmsbuild commented May 18, 2017

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/19972/console Started: 2017/05/18 18:10

@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-18684/19972/summary.html

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 3399 differences found in the comparisons
  • DQMHistoTests: Total files compared: 24
  • DQMHistoTests: Total histograms compared: 1832956
  • DQMHistoTests: Total failures: 49332
  • DQMHistoTests: Total nulls: 15
  • DQMHistoTests: Total successes: 1783429
  • DQMHistoTests: Total skipped: 180
  • DQMHistoTests: Total Missing objects: 0
  • Checked 98 log files, 14 edm output root files, 24 DQM output files

@slava77
Copy link
Contributor

slava77 commented May 19, 2017

+1

for #18684 4b28124

  • cleanup of Voronoi subtraction code and disabling of centralityBin, as described. Only HI workflows are affected.
  • jenkins tests pass and comparisons with baseline show differences only in HI workflow in plots related to removed products

@davidlange6
This PR is needed to advance with #18646

@davidlange6 davidlange6 merged commit 45b2f77 into cms-sw:master May 20, 2017
@mandrenguyen mandrenguyen deleted the removeHFVoronoi branch March 4, 2022 10:13
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.

6 participants