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

[L1T][DQMOffline] Fixes for L1T jet DQMOffline #23269

Merged
merged 5 commits into from May 24, 2018

Conversation

kreczko
Copy link
Contributor

@kreczko kreczko commented May 21, 2018

Partly fixes https://its.cern.ch/jira/projects/CMSLITDPG/issues/CMSLITDPG-588

  • Drop “events” y axis label for efficiency plots.
  • Phi resolution plots should not show (phi-phi_offline)/phi_offline but phi-phi_offline only.
  • Eta resolution plots should not show (eta-eta_offline)/eta_offline but eta-eta_offline only.
  • fill the efficiencies even if no a matched jet is found.
  • currentDeltaR > minDeltaRcurrentDeltaR >= minDeltaR

@cmsbuild
Copy link
Contributor

The code-checks are being triggered in jenkins.

@cmsbuild
Copy link
Contributor

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @kreczko (Luke Kreczko) for master.

It involves the following packages:

DQMOffline/L1Trigger

@cmsbuild, @vazzolini, @kmaeshima, @dmitrijus, @nsmith-, @rekovic, @jfernan2, @thomreis, @vanbesien can you please review it and eventually sign? Thanks.
@thomreis, @rociovilar this is something you requested to watch as well.
@davidlange6, @slava77, @fabiocos you are the release manager for this.

cms-bot commands are listed here

@jfernan2
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented May 21, 2018

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/28086/console Started: 2018/05/21 16:48

@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-23269/28086/summary.html

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 6 differences found in the comparisons
  • DQMHistoTests: Total files compared: 31
  • DQMHistoTests: Total histograms compared: 2901712
  • DQMHistoTests: Total failures: 2247
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2899275
  • DQMHistoTests: Total skipped: 190
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 30 files compared)
  • Checked 128 log files, 14 edm output root files, 31 DQM output files

double resolutionEta = std::abs(recoEta) > 0 ? (l1Eta - recoEta) / recoEta : outOfBounds;
double resolutionPhi = std::abs(recoPhi) > 0 ? (l1Phi - recoPhi) / recoPhi : outOfBounds;
double resolutionEta = l1Eta - recoEta;
double resolutionPhi = l1Phi - recoPhi;
Copy link
Contributor

Choose a reason for hiding this comment

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

This delta needs to wrap around at pi. The delta cannot be larger than pi since then they are back to back.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Will change to reco::deltaPhi(l1Phi, recoPhi)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

BTW: This will give you sensible values if no matched jet was found, shall I do
l1Phi < 9999 ? reco::deltaPhi(l1Phi, recoPhi) : 9999 instead?

Copy link
Contributor

Choose a reason for hiding this comment

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

But then you would not fill the histogram if no match is found. So I guess it does not matter in the end. It would be cleaner though.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, you are right. I will add outOfBounds just in case someone in the future decides to still fill the plots ;). Otherwise it is an easy to overlook bug with reco::deltaPhi.

if (!foundMatch){
return;
}

// eta
fill2DWithinLimits(h_L1JetEtavsCaloJetEta_, recoEta, l1Eta);
fillWithinLimits(h_resolutionJetEta_, resolutionEta);
Copy link
Contributor

Choose a reason for hiding this comment

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

The offline control plots could be filled even if there is no matching offline object found.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Control plots as in h_controlPlots_ or also h_L1JetEtavsCaloJetEta_, h_resolutionJetEta_, etc?

Copy link
Contributor

Choose a reason for hiding this comment

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

Everything that does not need L1 objects. I think that's only fillWithinLimits(h_controlPlots_[ControlPlots::OfflineJetET], recoEt);

@cmsbuild
Copy link
Contributor

Pull request #23269 was updated. @cmsbuild, @vazzolini, @kmaeshima, @dmitrijus, @nsmith-, @rekovic, @jfernan2, @thomreis, @vanbesien can you please check and sign again.

@thomreis
Copy link
Contributor

please test

@cmsbuild
Copy link
Contributor

cmsbuild commented May 22, 2018

The tests are being triggered in jenkins.
https://cmssdt.cern.ch/jenkins/job/ib-any-integration/28105/console Started: 2018/05/22 16:37

@thomreis
Copy link
Contributor

Hi @kreczko
do you plan to add the additional Jets and sums improvements to this PR or will you make a new one?

@kreczko
Copy link
Contributor Author

kreczko commented May 22, 2018

@thomreis I will make a new one since it is easier to review shorter PRs ;).
Thanks for the feedback btw

@thomreis
Copy link
Contributor

+1

@thomreis
Copy link
Contributor

@kreczko we will also need a 101x backport PR for this one so that it can be deployed at the T0.

@dmitrijus
Copy link
Contributor

+1

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next master IBs after it passes the integration tests. This pull request will now be reviewed by the release team before it's merged. @davidlange6, @slava77, @smuzaffar, @fabiocos (and backports should be raised in the release meeting by the corresponding L2)

@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-23269/28105/summary.html

Comparison Summary:

  • No significant changes to the logs found
  • Reco comparison results: 0 differences found in the comparisons
  • DQMHistoTests: Total files compared: 31
  • DQMHistoTests: Total histograms compared: 2901712
  • DQMHistoTests: Total failures: 2
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 2901520
  • DQMHistoTests: Total skipped: 190
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 30 files compared)
  • Checked 128 log files, 14 edm output root files, 31 DQM output files

@fabiocos
Copy link
Contributor

+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.

None yet

6 participants