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

[14.1.X] migrate calotowers creation code to use EcalPFRecHitThresholds #46125

Conversation

mmusich
Copy link
Contributor

@mmusich mmusich commented Sep 25, 2024

backport of #45803

PR description:

This PR is the ECAL equivalent of #43329.
While our final aim is to fully deprecate calotowers, there is no clear ETA for that. Several POGs still use calotowers, specially at HLT. So, to ensure that correct HCAL thresholds are used in making calotowers, the safest way is to use the thresholds from GT.
That is what is done in this PR.
This PR was sparked by the observation that at the HLT we are using the following configuration:

EBThreshold = cms.double( 0.07 )
EEThreshold = cms.double( 0.3 )

which looks exceedingly low given that 0.3 GeV threshold in EE for all crystals is too small threshold to mitigate the noise in EE.
There are crystals in EE where the threshold is order of 10 GeV (reaching up to ~50 GeV or maybe even higher these days).
Indeed inspecting the last IOV of the EcalPFRecHitThresholdsRcd associated tag at HLT,

$ conddb list 140X_dataRun3_HLT_v3 | grep EcalPFRecHitThresholdsRcd
[2024-08-26 10:47:34,394] INFO: Connecting to pro [frontier://PromptProd/cms_conditions]
EcalPFRecHitThresholdsRcd                               -                                                 EcalPFRecHitThresholds_2018_v1_hlt                               

$ conddb list EcalPFRecHitThresholds_2018_v1_hlt
[2024-08-26 10:47:48,292] INFO: Connecting to pro [frontier://PromptProd/cms_conditions]
[2024-08-26 10:47:48,471] INFO: Listing with a limit of 500 IOVs, starting from the highest since. If you need to see more, please increase the limit of returned results.
Since: Run   Insertion Time       Payload                                   Object Type                      
-----------  -------------------  ----------------------------------------  ------------------------------   
1            2018-03-28 14:25:39  9f22e391bcdcabe1f9f13608961bbed938c8a05c  EcalCondObjectContainer<float>   
337349       2020-09-24 08:42:44  f965e090d8749785f3d9c290bb08f247b90bd9fe  EcalCondObjectContainer<float>   
347532       2022-02-10 10:03:50  6bf33ca11214dec349a05af31b1f4af8526ffb30  EcalCondObjectContainer<float>   
 
$ conddb dump 6bf33ca11214dec349a05af31b1f4af8526ffb30 > dump.xml 

I see rather large thresholds especially in EE:

Screenshot from 2024-08-26 10-46-58

This PR allows to change the logic of the code to use the EcalPFRecHitThresholds from GT instead of the fixed values.
The new parameter EcalRecHitThresh is set to false, such that this PR is technically a no-op.

PR validation:

Validation was purely technical: runTheMatrix.py - l limited --ibeos.

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:

This is a verbatim backport of #45803 to the 2024 PRef and HIon data-taking release (CMSSW_14_1_X). TSG is aiming to deploy this + a new version of the HLT JECs for that run.

@cmsbuild
Copy link
Contributor

cmsbuild commented Sep 25, 2024

A new Pull Request was created by @mmusich for CMSSW_14_1_X.

It involves the following packages:

  • RecoLocalCalo/CaloTowersCreator (reconstruction)

@cmsbuild, @jfernan2, @mandrenguyen can you please review it and eventually sign? Thanks.
@apsallid, @missirol, @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

@cmsbuild
Copy link
Contributor

cmsbuild commented Sep 25, 2024

cms-bot internal usage

@mmusich
Copy link
Contributor Author

mmusich commented Sep 25, 2024

@cmsbuild, please test

@mmusich
Copy link
Contributor Author

mmusich commented Sep 25, 2024

type hlt-integration

@cmsbuild
Copy link
Contributor

+1

Size: This PR adds an extra 12KB to repository
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-e4e955/41747/summary.html
COMMIT: 4f88a7e
CMSSW: CMSSW_14_1_X_2024-09-25-1100/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/46125/41747/install.sh to create a dev area with all the needed externals and cmssw changes.

Comparison Summary

Summary:

@jfernan2
Copy link
Contributor

+1

@cmsbuild
Copy link
Contributor

This pull request is fully signed and it will be integrated in one of the next CMSSW_14_1_X IBs (tests are also fine) and once validation in the development release cycle CMSSW_14_2_X is complete. This pull request will now be reviewed by the release team before it's merged. @sextonkennedy, @mandrenguyen, @rappoccio, @antoniovilela (and backports should be raised in the release meeting by the corresponding L2)

@antoniovilela
Copy link
Contributor

+1

@cmsbuild cmsbuild merged commit 8a32994 into cms-sw:CMSSW_14_1_X Sep 26, 2024
9 checks passed
@mmusich mmusich deleted the mm_dev_migrate_calotowers_EcalPFRecHitThresholds_14_1_X branch September 26, 2024 21:03
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