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

[EGM HLT] Produce sigma_IPhi_IPhi, needed for regression #35486

Merged
merged 5 commits into from Oct 1, 2021

Conversation

swagata87
Copy link
Contributor

PR description:

In EGM HLT producer for cluster shape variables, adding sigmaIPhiIPhi, which is needed in HLT supercluster regression setup.

PR validation:

Ran EGM HLT on DY sample, after merging this branch and checked sigmaIPhiIPhi distributions.
Screen Shot 2021-09-30 at 14 01 02

This PR is not a backport.
Backport is not needed.

@cmsbuild
Copy link
Contributor

-code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-35486/25655

  • This PR adds an extra 16KB to repository

Code check has found code style and quality issues which could be resolved by applying following patch(s)

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-35486/25656

  • This PR adds an extra 16KB to repository

@cmsbuild
Copy link
Contributor

A new Pull Request was created by @swagata87 (Swagata Mukherjee) for master.

It involves the following packages:

  • RecoEgamma/EgammaHLTProducers (hlt)

@Martin-Grunewald, @missirol, @cmsbuild can you please review it and eventually sign? Thanks.
@Sam-Harper, @HuguesBrun, @silviodonato, @jainshilpi, @Fedespring, @lgray, @calderona, @sscruz, @afiqaize, @wrtabb, @ram1123, @varuns23, @cericeci, @sobhatta this is something you requested to watch as well.
@perrotta, @dpiparo, @qliphy you are the release manager for this.

cms-bot commands are listed here

@Martin-Grunewald
Copy link
Contributor

please test

Copy link
Contributor

@missirol missirol left a comment

Choose a reason for hiding this comment

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

@swagata87, could you please remind me if this just needed for ongoing studies, or is part of updates already discussed in TSG?

for (unsigned int iRecoEcalCand = 0; iRecoEcalCand < recoecalcandHandle->size(); iRecoEcalCand++) {
reco::RecoEcalCandidateRef recoecalcandref(recoecalcandHandle, iRecoEcalCand);
if (recoecalcandref->superCluster()->seed()->seed().det() != DetId::Ecal) { //HGCAL, skip for now
clshMap.insert(recoecalcandref, 0);
clsh5x5Map.insert(recoecalcandref, 0);
clsh5x5NoiseCleanedMap.insert(recoecalcandref, 0);
Copy link
Contributor

Choose a reason for hiding this comment

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

Just for my own understanding. This looks like a fix to fill one of the existing maps for candidates in HGCal, but I assume it has no impact on previous EGM results for Phase-2. Correct? And if so, why?

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 this has no impact on Phase2 HLT TDR results of EGM because NoiseCleaned shower-shapes entered CMSSW only in 11_3_X via this PR #33148. The HLT TDR release, 11_1_X, do not have noise-cleaned e/gamma variables. For phase2 studies in barrel until now, we have been using the usual Full5x5 showershapes, where no noise-cleaning is applied.

&thresholds,
multThresEB_,
multThresEE_)[2]);

Copy link
Contributor

Choose a reason for hiding this comment

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

Looks like the 4 calls to lazyTools5x5.localCovariances could be reduced at least to 2. No? Something like

    auto const ecalCandLocalCov = lazyTools5x5.localCovariances(*(recoecalcandref->superCluster()->seed()));
    auto const sigmaee5x5 = sqrt(ecalCandLocalCov[0]);
    auto const sigmapp5x5 = sqrt(ecalCandLocalCov[2]);

    auto const ecalCandLocalCovNoiseCleaned = lazyTools5x5.localCovariances(*(recoecalcandref->superCluster()->seed()), EgammaLocalCovParamDefaults::kRelEnCut, &thresholds, multThresEB_, multThresEE_);
    auto const sigmaee5x5NoiseCleaned = sqrt(ecalCandLocalCovNoiseCleaned[0]);
    auto const sigmapp5x5NoiseCleaned = sqrt(ecalCandLocalCovNoiseCleaned[2]);

@cmsbuild
Copy link
Contributor

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-908bab/19284/summary.html
COMMIT: 7362497
CMSSW: CMSSW_12_1_X_2021-09-30-1100/slc7_amd64_gcc900
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/35486/19284/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 10 differences found in the comparisons
  • DQMHistoTests: Total files compared: 40
  • DQMHistoTests: Total histograms compared: 3211080
  • DQMHistoTests: Total failures: 6
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3211052
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 39 files compared)
  • Checked 169 log files, 37 edm output root files, 40 DQM output files
  • TriggerResults: no differences found

@swagata87
Copy link
Contributor Author

could you please remind me if this just needed for ongoing studies, or is part of updates already discussed in TSG?

so this PR is not extremely urgent in the sense that this variable sigmaIPhiIPhi is not used in any HLT filter that we have in egamma, but it is needed only as a pre-selection cut variable for training regression. We can pretty well run our regression setup by merging this branch by hand, but it's kinda annoying and its easier if this is merged in cmssw.

EGM HLT regression was discussed in TSG, but I don't think the need of this PR was explicitly discussed.

@cmsbuild
Copy link
Contributor

-code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-35486/25671

  • This PR adds an extra 16KB to repository

Code check has found code style and quality issues which could be resolved by applying following patch(s)

@cmsbuild
Copy link
Contributor

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-35486/25674

  • This PR adds an extra 20KB to repository

@cmsbuild
Copy link
Contributor

Pull request #35486 was updated. @Martin-Grunewald, @missirol, @cmsbuild can you please check and sign again.

@missirol
Copy link
Contributor

@cmsbuild, please test

@missirol
Copy link
Contributor

@cmsbuild , please test

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 1, 2021

+1

Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-908bab/19308/summary.html
COMMIT: 2852442
CMSSW: CMSSW_12_1_X_2021-09-30-1100/slc7_amd64_gcc900
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/35486/19308/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

The workflows 140.53 have different files in step1_dasquery.log than the ones found in the baseline. You may want to check and retrigger the tests if necessary. You can check it in the "files" directory in the results of the comparisons

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 1000 differences found in the comparisons
  • DQMHistoTests: Total files compared: 40
  • DQMHistoTests: Total histograms compared: 3211080
  • DQMHistoTests: Total failures: 2568
  • DQMHistoTests: Total nulls: 62
  • DQMHistoTests: Total successes: 3208428
  • DQMHistoTests: Total skipped: 22
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 65.355 KiB( 39 files compared)
  • DQMHistoSizes: changed ( 140.53 ): 63.680 KiB Hcal/DigiRunHarvesting
  • DQMHistoSizes: changed ( 140.53 ): 1.676 KiB RPC/DCSInfo
  • Checked 169 log files, 37 edm output root files, 40 DQM output files
  • TriggerResults: no differences found

@missirol
Copy link
Contributor

missirol commented Oct 1, 2021

+hlt

@cmsbuild
Copy link
Contributor

cmsbuild commented Oct 1, 2021

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. @perrotta, @dpiparo, @qliphy (and backports should be raised in the release meeting by the corresponding L2)

@perrotta
Copy link
Contributor

perrotta commented Oct 1, 2021

+1

@cmsbuild cmsbuild merged commit 5e0e54f into cms-sw:master Oct 1, 2021
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

5 participants