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

Run-dependent pixel simulation using additionally compressed SimHit info #46884

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

ferencek
Copy link
Contributor

@ferencek ferencek commented Dec 5, 2024

PR description:

This PR is a continuation of #37823 that introduces additionally compressed SimHit info in the form of the PixelSimHitExtraInfoLite data format. The PR also adds a new runTheMatrix workflow (250202.185) that uses this new data format. With this PR integrated, it will be easier to perform validation and compare performance of different pixel charge reweighting approaches. The most recent presentations on this topic are the following ones:

PR validation:

The code compiles. No changes are expected in the standard runTheMatrix workflows because the late charge reweighting is not used by default.

If this PR is a backport please specify the original PR and why you need to backport that PR. If this PR will be backported please specify to which release cycle the backport is meant for:

Backports will likely be needed but it remains to be seen to how many earlier release cycles. This will depend on the details of the validation procedure.

@carolinecollard

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 5, 2024

cms-bot internal usage

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 5, 2024

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-46884/42918

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 5, 2024

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

It involves the following packages:

  • Configuration/ProcessModifiers (operations)
  • Configuration/PyReleaseValidation (pdmv, upgrade)
  • SimDataFormats/TrackerDigiSimLink (simulation)
  • SimGeneral/MixingModule (simulation)
  • SimGeneral/PreMixingModule (simulation)
  • SimTracker/Common (simulation)
  • SimTracker/SiPixelDigitizer (simulation)

@AdrianoDee, @Moanwar, @antoniovilela, @civanch, @cmsbuild, @davidlange6, @DickyChant, @fabiocos, @kpedro88, @mandrenguyen, @mdhildreth, @miquork, @rappoccio, @srimanob, @subirsarkar can you please review it and eventually sign? Thanks.
@CeliaFernandez, @Fedespring, @GiacomoSguazzoni, @HuguesBrun, @Martin-Grunewald, @VinInn, @VourMa, @abbiendi, @andrea21z, @apsallid, @bsunanda, @cericeci, @denizsun, @dgulhan, @dkotlins, @echabert, @fabiocos, @ferencek, @gbenelli, @jhgoh, @makortel, @martinamalberti, @missirol, @mmusich, @mroguljic, @mtosi, @prolay, @robervalwalsh, @rovere, @salimcerci, @slomeo, @threus, @trocino, @tsusa, @tvami, @youyingli this is something you requested to watch as well.
@antoniovilela, @mandrenguyen, @rappoccio, @sextonkennedy you are the release manager for this.

cms-bot commands are listed here

} else {
thePixelThresholdInE =
CLHEP::RandGaussQ::shoot(engine, theThresholdInE_BPix, theThresholdSmearing_BPix); // gaussian smearing
}
Copy link
Contributor

Choose a reason for hiding this comment

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

@ferencek , can theoretically a threshold become negative after smearing?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Note that this is not a feature specific to the newly added code but is appearing in several other places in the code. In theory the threshold could become negative but looking at parameter values in https://github.com/cms-sw/cmssw/blob/CMSSW_14_2_0/SimGeneral/MixingModule/python/SiPixelSimParameters_cfi.py#L65-L73, this would have to be more than a 10-sigma fluctuation. As far as I see, the only implication of such a negative threshold would be that any positive signal or noise would simply pass the threshold which is in principle ok and would not lead to code crashing. Not sure if @carolinecollard has anything to add. So I would say this does not require a fix.

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 9, 2024

+code-checks

Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-46884/42946

@cmsbuild
Copy link
Contributor

cmsbuild commented Dec 9, 2024

Pull request #46884 was updated. @AdrianoDee, @Moanwar, @antoniovilela, @civanch, @cmsbuild, @davidlange6, @DickyChant, @fabiocos, @kpedro88, @mandrenguyen, @mdhildreth, @miquork, @rappoccio, @srimanob, @subirsarkar can you please check and sign again.

@civanch
Copy link
Contributor

civanch commented Dec 13, 2024

Please test

@cmsbuild
Copy link
Contributor

+1

Size: This PR adds an extra 16KB to repository
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-96dbaf/43423/summary.html
COMMIT: fd11b45
CMSSW: CMSSW_15_0_X_2024-12-12-2300/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week1/cms-sw/cmssw/46884/43423/install.sh to create a dev area with all the needed externals and cmssw changes.

  • DAS Queries: The DAS query tests failed, see the summary page for details.

Comparison Summary

Summary:

  • No significant changes to the logs found
  • Reco comparison results: 6 differences found in the comparisons
  • DQMHistoTests: Total files compared: 46
  • DQMHistoTests: Total histograms compared: 3510017
  • DQMHistoTests: Total failures: 349
  • DQMHistoTests: Total nulls: 0
  • DQMHistoTests: Total successes: 3509648
  • DQMHistoTests: Total skipped: 20
  • DQMHistoTests: Total Missing objects: 0
  • DQMHistoSizes: Histogram memory added: 0.0 KiB( 45 files compared)
  • Checked 202 log files, 172 edm output root files, 46 DQM output files
  • TriggerResults: no differences found

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.

4 participants