Add Veto Threshold to HCAL TP Emulator
PR description:
This PR incorporates a threshold for vetoing when applying the FIR filter during emulation of HCAL TP energy reconstruction in HB and HE. The veto threshold is taken from the auxi2 field of the HcalTPChannelParameters object for robust control of the veto threshold online and offline.
Small change in logic is incurred at L519 of HcalTrigPrimAlgo, where check_sat is now only defined by saturation in BX0 or BX1.
N.B.: The veto thresholds have yet to be uploaded to the conditions database. So, the overrideDBvetoThreshold is set to True thereby keeping the veto disabled for now. A simple PR to flip the switch can be performed.
ATTN: @Michael-Krohn, @abdoulline, @jhakala
PR validation:
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 PR is targeting 14_1_X; however, a backport shall be prepared for 14_0_X.
cms-bot internal usage
+code-checks
Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-44373/39421
- This PR adds an extra 60KB to repository
A new Pull Request was created by @JHiltbrand for master.
It involves the following packages:
- CalibCalorimetry/HcalTPGAlgos (alca, l1)
- CaloOnlineTools/HcalOnlineDb (db)
- SimCalorimetry/HcalTrigPrimAlgos (l1)
- SimCalorimetry/HcalTrigPrimProducers (l1)
@perrotta, @francescobrivio, @cmsbuild, @aloeliger, @saumyaphor4252, @consuegs, @epalencia can you please review it and eventually sign? Thanks. @bsunanda, @yuanchao, @sameasy, @mmusich, @rovere, @missirol, @rsreds, @PonIlya, @abdoulline, @tocheng this is something you requested to watch as well. @antoniovilela, @sextonkennedy, @rappoccio you are the release manager for this.
cms-bot commands are listed here
-code-checks
Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-44373/39432
- This PR adds an extra 56KB to repository
Code check has found code style and quality issues which could be resolved by applying following patch(s)
- code-format:
https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-44373/39432/code-format.patch
e.g.
curl -k https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-44373/39432/code-format.patch | patch -p1You can also runscram build code-formatto apply code format directly
+code-checks
Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-44373/39435
- This PR adds an extra 56KB to repository
Pull request #44373 was updated. @aloeliger, @saumyaphor4252, @perrotta, @consuegs, @francescobrivio, @cmsbuild, @epalencia can you please check and sign again.
+code-checks
Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-44373/39441
- This PR adds an extra 100KB to repository
Pull request #44373 was updated. @francescobrivio, @saumyaphor4252, @perrotta, @cmsbuild, @epalencia, @consuegs, @aloeliger can you please check and sign again.
please test
-1
Failed Tests: RelVals RelVals-INPUT AddOn
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-7a03f1/38089/summary.html
COMMIT: a9f968027c83ce0ee41120fcde420789730a64e2
CMSSW: CMSSW_14_1_X_2024-03-12-2300/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/44373/38089/install.sh to create a dev area with all the needed externals and cmssw changes.
RelVals
- 5.1
5.1_TTbarFS/step1_TTbarFS.log - 135.4
135.4_ZEEFS_13/step1_ZEEFS_13.log - 136.731
136.731_RunSinglePh2016B/step2_RunSinglePh2016B.log
Expand to see more relval errors ...
- 4.22
- 136.793
- 139.001
- 136.7611
- 136.8311
- 136.874
- 140.043
- 140.023
- 136.88811
- 140.063
- 101.0
- 141.044
- 158.01
- 141.042
- 140.56
- 141.046
- 1000.0
- 1001.0
- 4.53
- 13234.0
- 8.0
- 1306.0
- 14034.0
- 14234.0
- 7.3
- 1330.0
- 312.0
- 25.0
- 9.0
- 2500.4
- 12846.0
- 25202.0
- 24900.0
- 12834.7
- 11634.0
- 12434.0
- 12834.0
- 13034.0
- 10224.0
- 24896.0
- 250202.181
- 24834.0
- 25034.999
- 23234.0
- 24834.911
RelVals-INPUT
- 4.22
4.22_RunCosmics2011A/step2_RunCosmics2011A.log - 4.6
4.6_MinimumBias2010A/step2_MinimumBias2010A.log - 6.0
6.0_SingleMuPt1/step2_SingleMuPt1.log
Expand to see more relval errors ...
- 8.0
- 9.0
- 10.0
- 11.0
- 12.0
- 13.0
- 14.0
- 15.0
- 16.0
- 17.0
- 18.0
- 19.0
- 20.0
- 21.0
- 22.0
- 23.0
- 24.0
- 25.0
- 26.0
- 27.0
- 28.0
- 29.0
- 30.0
- 31.0
- 32.0
- 33.0
- 35.0
- 36.0
- 37.0
- 38.0
- 39.0
- 43.0
- 44.0
- 45.0
- 134.813
- 136.721
- 136.722
- 136.723
- 136.724
- 136.72411
- 136.725
- 136.726
- 136.727
- 136.72412
- 136.728
- 136.732
- 136.73
- 136.731
- 136.729
- 136.734
- 136.735
- 136.736
- 136.737
- 136.738
- 136.733
- 136.739
- 136.74
- 136.741
- 136.742
- 136.743
- 136.744
- 136.745
- 136.746
- 136.747
- 136.748
- 136.749
- 136.75
- 136.751
- 136.752
- 136.753
- 136.754
- 136.755
- 136.756
- 136.757
- 136.758
- 136.759
- 136.76
- 136.761
- 136.7611
- 136.762
- 136.76111
- 136.763
- 136.764
- 136.765
- 136.766
- 136.767
- 136.768
- 136.769
- 136.77
- 136.771
- 136.772
- 136.773
- 136.7721
- 136.774
- 136.77211
- 136.775
- 136.776
- 136.777
- 136.778
- 136.779
- 136.78
- 136.7801
- 136.7802
- 136.7803
- 136.782
- 136.781
- 136.783
- 136.784
- 136.785
- 136.786
- 136.788
- 136.787
- 136.789
- 136.79
- 136.791
- 136.792
- 136.793
- 136.794
- 136.795
- 136.797
- 136.796
- 136.798
- 136.8
- 136.799
- 136.801
- 136.802
- 136.803
- 136.804
- 136.805
- 136.806
- 136.807
- 136.808
- 136.809
- 136.81
- 136.812
- 136.811
- 136.813
- 136.814
- 136.815
- 136.816
- 136.817
- 136.818
- 136.819
- 136.82
- 136.821
- 136.822
- 136.824
- 136.823
- 136.825
- 136.826
- 136.827
- 136.828
- 136.829
- 136.83
- 136.831
- 136.8311
- 136.833
- 136.83111
- 136.832
- 136.834
- 136.836
- 136.835
- 136.837
- 136.838
- 136.839
- 136.84
- 136.8391
- 136.841
- 136.842
- 136.843
- 136.844
- 136.845
- 136.846
- 136.847
- 136.848
- 136.849
- 136.85
- 136.8501
- 136.851
- 136.852
- 136.853
- 136.854
- 136.855
- 136.856
- 136.8561
- 136.8562
- 136.857
- 136.858
- 136.859
- 136.86
- 136.861
- 136.862
- 136.863
- 136.864
- 136.865
- 136.8642
- 136.866
- 136.868
- 136.867
- 136.869
- 136.87
- 136.871
- 136.872
- 136.873
- 136.875
- 136.874
- 136.877
- 136.876
- 136.878
- 136.88
- 136.879
- 136.881
- 136.882
- 136.883
- 136.884
- 136.885
- 136.8855
- 136.886
- 136.8861
- 136.8862
- 136.887
- 136.888
- 136.889
- 136.8885
- 136.88811
- 136.89
- 136.892
- 136.891
- 136.893
- 136.894
- 136.895
- 136.896
- 136.898
- 137.8
- 136.897
- 136.899
- 139.001
- 139.002
- 139.003
- 138.1
- 139.004
- 138.2
- 140.001
- 140.002
- 140.003
- 140.004
- 140.005
- 140.006
- 138.4
- 138.5
- 140.007
- 140.008
- 140.009
- 140.01
- 140.011
- 140.021
- 140.022
- 140.023
- 140.024
- 140.025
- 140.026
- 140.027
- 140.028
- 140.029
- 140.03
- 140.031
- 140.042
- 140.043
- 140.044
- 140.046
- 140.045
- 140.047
- 140.048
- 140.049
- 140.05
- 140.051
- 140.062
- 140.063
- 140.064
- 140.065
- 140.066
- 140.067
- 140.068
- 140.069
- 140.071
- 140.072
- 140.073
- 140.074
- 140.075
- 140.076
- 140.077
- 140.078
- 140.101
- 140.102
- 140.103
- 140.104
- 140.105
- 140.106
- 140.107
- 140.108
- 140.109
- 140.11
- 140.111
- 140.112
- 140.113
- 140.202
- 140.5611
- 141.001
- 141.003
- 141.004
- 141.002
- 141.005
- 140.56
- 140.61
- 141.006
- 141.007
- 140.57
- 141.008
- 141.008505
- 141.008511
- 141.008521
- 141.009
- 141.011
- 141.01
- 141.012
- 141.013
- 141.031
- 141.032
- 141.033
- 141.034
- 141.037
- 141.038
- 141.035
- 141.036
- 141.039
- 141.102
- 141.043
- 141.101
- 141.048
- 141.103
- 141.044
- 141.104
- 141.042
- 141.047
- 141.041
- 141.106
- 141.108
- 141.109
- 141.11
- 141.045
- 141.111
- 141.113
- 141.112
- 141.107
- 141.105
- 141.046
- 142.0
- 158.1
- 158.2
- 141.114
- 158.3
- 1306.0
- 141.901
- 141.902
- 1307.0
- 1308.0
- 1309.0
- 1310.0
- 1311.0
- 141.049
- 1312.0
- 158.01
- 1313.0
- 159.01
- 1314.0
- 1315.0
- 1316.0
- 1317.0
- 1318.0
- 1319.0
- 1320.0
- 1321.0
- 1322.0
- 1323.0
- 1324.0
- 1325.0
- 1325.1
- 1325.2
- 1325.3
- 1325.4
- 1325.9
- 1325.91
- 1326.0
- 1325.5
- 1325.51
- 1327.0
- 1325.516
- 1328.0
- 1329.0
- 1325.5161
- 1330.0
- 1325.517
- 1331.0
- 1325.518
- 1332.0
- 1333.0
- 1334.0
- 1335.0
- 1336.0
- 1337.0
- 1338.0
- 1339.0
- 1340.0
- 1341.0
- 1343.0
- 1344.0
- 1345.0
- 1347.0
- 1348.0
- 1349.0
- 1350.0
- 1351.0
- 1352.0
- 1353.0
- 1354.0
- 1355.0
- 1364.0
- 1365.0
- 1366.0
- 139901.0
- 139902.0
- 134.0
- 13992501.0
- 200.0
- 202.0
- 13992502.0
- 203.0
- 205.0
- 11024.2
- 25200.0
- 25202.0
- 25202.15
- 25202.1
- 25202.2
- 25203.0
- 25204.0
- 25205.0
- 25206.0
- 25207.0
- 25208.0
- 25214.0
- 25209.0
- 50200.0
- 50202.0
- 50203.0
- 50204.0
- 50205.0
- 50206.0
- 144.6
- 50207.0
- 50208.0
- 1000.0
- 1001.0
- 1001.2
- 1001.4
- 1001.3
- 1002.4
- 1003.0
- 1002.0
- 1002.3
- 1030.0
- 1040.0
- 1102.0
- 4000.0
- 4001.0
- 4002.0
- 4003.0
- 10001.0
- 10002.0
- 10003.0
- 10004.0
- 10005.0
- 10006.0
- 10007.0
- 10008.0
- 10009.0
- 10023.0
- 10024.0
- 10024.1
- 10024.2
- 10024.3
- 10024.4
- 10025.0
- 10026.0
- 10042.0
- 10059.0
- 10071.0
- 10224.0
- 10224.15
- 10225.0
- 10801.0
- 10802.0
- 10803.0
- 10804.0
- 10804.31
- 10805.0
- 10805.31
- 10806.0
- 10807.0
- 10808.0
- 10809.0
- 10823.0
- 10824.0
- 10824.1
- 10824.6
- 10824.8
- 10825.0
- 10826.0
- 10842.0
- 10859.0
- 10871.0
- 11024.0
- 11024.15
- 11024.6
- 11025.0
- 11224.0
- 11224.6
- 11601.0
- 11602.0
- 11603.0
- 11604.0
- 11605.0
- 11606.0
- 11607.0
- 11608.0
- 11609.0
- 11630.0
- 11634.0
- 11634.1
- 11634.15
- 11634.24
- 11634.601
- 11634.7
- 11634.91
- 11640.0
- 11643.0
- 11646.0
- 11650.0
- 11723.17
- 11834.0
- 11834.13
- 11834.19
- 11834.21
- 11834.24
- 11834.99
- 11846.0
- 11846.19
- 12034.0
- 12434.0
- 12434.501
- 12434.505
- 12434.511
- 12434.521
- 12434.7
- 12446.0
- 12450.501
- 12450.505
- 12461.0
- 12634.0
- 12634.99
- 12834.0
- 12834.402
- 12834.412
- 12834.7
- 12846.0
- 12861.0
- 13034.0
- 13034.99
- 13234.0
- 13434.0
- 14034.0
- 20834.0
- 23634.0
- 14234.0
- 24034.0
- 24834.0
- 24834.103
- 24834.21
- 24834.5
- 24834.501
- 24834.502
- 24834.9
- 24861.0
- 24896.0
- 24900.0
- 25034.114
- 25034.21
- 25034.99
- 25034.9921
- 250200.0
- 25034.999
- 250200.17
- 250200.18
- 250202.0
- 250202.1
- 250202.17
- 250202.171
- 250202.172
- 250202.18
- 250202.181
- 250202.184
- 250202.2
- 250202.3
- 250202.4
- 250202.5
- 250203.0
- 250203.17
- 250203.18
- 250204.0
- 250204.17
- 250204.18
- 250205.0
- 250205.17
- 250205.18
- 250206.0
- 250206.17
- 250206.18
- 250206.181
- 250207.0
- 250207.17
- 250207.18
- 250208.17
- 250208.18
- 500200.0
- 500202.0
- 500203.0
- 500204.0
- 500205.0
- 500206.0
- 500207.0
- 2500.0
- 2500.001
- 2500.002
- 2500.1
- 2500.2
- 2500.3
- 2500.21
- 2500.301
- 2500.211
- 2500.31
- 2500.311
- 2500.4
- 2500.402
- 2500.315
- 2500.316
- 2500.403
- 2500.011
- 2500.01
- 2500.012
AddOn Tests
[fastsim:1] cmsDriver.py TTbar_8TeV_TuneCUETP8M1_cfi --conditions auto:run1_mc --fast -n 100 --eventcontent AODSIM,DQM --relval 100000,1000 -s GEN,SIM,RECOBEFMIX,DIGI:pdigi_valid,L1,DIGI2RAW,L1Reco,RECO,VALIDATION --customise=HLTrigger/Configuration/CustomConfigs.L1THLT --datatier GEN-SIM-DIGI-RECO,DQMIO --beamspot Realistic8TeVCollision : FAILED - elapsed time: 6 sec (ended on Wed Mar 13 09:03:12 2024) - exit: 256
[fastsim1:1] cmsDriver.py TTbar_13TeV_TuneCUETP8M1_cfi --conditions auto:run2_mc_l1stage1 --fast -n 100 --eventcontent AODSIM,DQM --relval 100000,1000 -s GEN,SIM,RECOBEFMIX,DIGI:pdigi_valid,L1,DIGI2RAW,L1Reco,RECO,VALIDATION --customise=HLTrigger/Configuration/CustomConfigs.L1THLT --datatier GEN-SIM-DIGI-RECO,DQMIO --beamspot NominalCollision2015 --era Run2_25ns : FAILED - elapsed time: 2 sec (ended on Wed Mar 13 09:03:13 2024) - exit: 256
[fastsim2:1] cmsDriver.py TTbar_13TeV_TuneCUETP8M1_cfi --conditions auto:run2_mc --fast -n 100 --eventcontent AODSIM,DQM --relval 100000,1000 -s GEN,SIM,RECOBEFMIX,DIGI:pdigi_valid,L1,DIGI2RAW,L1Reco,RECO,VALIDATION --customise=HLTrigger/Configuration/CustomConfigs.L1THLT --datatier GEN-SIM-DIGI-RECO,DQMIO --beamspot NominalCollision2015 --era Run2_2016 : FAILED - elapsed time: 2 sec (ended on Wed Mar 13 09:03:15 2024) - exit: 256
Expand to see more addon errors ...
- hlt_mc_Fake
- hlt_mc_Fake
- hlt_mc_Fake
- hlt_mc_Fake1
- hlt_mc_Fake1
- hlt_mc_Fake1
- hlt_mc_Fake2
- hlt_mc_Fake2
- hlt_mc_Fake2
- hlt_mc_GRun
- hlt_mc_GRun
- hlt_mc_GRun
- hlt_mc_HIon
- hlt_mc_HIon
- hlt_mc_HIon
- hlt_mc_PIon
- hlt_mc_PIon
- hlt_mc_PIon
- hlt_mc_PRef
- hlt_mc_PRef
- hlt_mc_PRef
- hlt_mc_Special
- hlt_mc_Special
- hlt_mc_Special
- hlt_data_Fake1
- hlt_data_Fake1
- hlt_data_Fake1
- hlt_data_Fake2
- hlt_data_Fake2
- hlt_data_Fake2
- hlt_data_GRun
- hlt_data_GRun
- hlt_data_GRun
- hlt_data_HIon
- hlt_data_HIon
- hlt_data_HIon
- hlt_data_PIon
- hlt_data_PIon
- hlt_data_PIon
- hlt_data_PRef
- hlt_data_PRef
- hlt_data_PRef
- hlt_data_Special
- hlt_data_Special
- hlt_data_Special
Moreover, a squash into just one or two commits should be done before submitting the updates with the fix (otherwise it will be requested anyhow before the final integration)
Dear @perrotta , I have squashed to one commit, and also refined a little logic after reviewing some test failures.
+code-checks
Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-44373/39454
- This PR adds an extra 48KB to repository
Pull request #44373 was updated. @saumyaphor4252, @epalencia, @cmsbuild, @consuegs, @francescobrivio, @aloeliger, @perrotta can you please check and sign again.
Hi @perrotta , Thank you for the logic simplification suggests. I agree about having things more simple for easier debugging. @Michael-Krohn and I agree that your suggestions should not change anything. I have added these changes in.
+code-checks
Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-44373/39482
- This PR adds an extra 32KB to repository
Pull request #44373 was updated. @consuegs, @cmsbuild, @francescobrivio, @epalencia, @aloeliger, @saumyaphor4252, @perrotta can you please check and sign again.
please test
+1
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-7a03f1/38145/summary.html
COMMIT: cf2c5016f81fe93aa50dce95e0a27fe09ae56d1f
CMSSW: CMSSW_14_1_X_2024-03-14-1100/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/44373/38145/install.sh to create a dev area with all the needed externals and cmssw changes.
Comparison Summary
Summary:
- You potentially added 102 lines to the logs
- Reco comparison results: 77 differences found in the comparisons
- DQMHistoTests: Total files compared: 48
- DQMHistoTests: Total histograms compared: 3297383
- DQMHistoTests: Total failures: 1849
- DQMHistoTests: Total nulls: 0
- DQMHistoTests: Total successes: 3295514
- DQMHistoTests: Total skipped: 20
- DQMHistoTests: Total Missing objects: 0
- DQMHistoSizes: Histogram memory added: 0.0 KiB( 47 files compared)
- Checked 202 log files, 165 edm output root files, 48 DQM output files
- TriggerResults: found differences in 3 / 46 workflows
+code-checks
Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-44373/39499
- This PR adds an extra 52KB to repository
Pull request #44373 was updated. @aloeliger, @perrotta, @consuegs, @epalencia, @cmsbuild, @saumyaphor4252, @francescobrivio can you please check and sign again.
please test
+1
Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-7a03f1/38181/summary.html
COMMIT: 14fdc6604e391bb60ef3757f99564b63d60b65f6
CMSSW: CMSSW_14_1_X_2024-03-15-1100/el8_amd64_gcc12
User test area: For local testing, you can use /cvmfs/cms-ci.cern.ch/week0/cms-sw/cmssw/44373/38181/install.sh to create a dev area with all the needed externals and cmssw changes.
Comparison Summary
Summary:
- You potentially removed 13 lines from the logs
- Reco comparison results: 51 differences found in the comparisons
- DQMHistoTests: Total files compared: 48
- DQMHistoTests: Total histograms compared: 3297383
- DQMHistoTests: Total failures: 497
- DQMHistoTests: Total nulls: 0
- DQMHistoTests: Total successes: 3296866
- DQMHistoTests: Total skipped: 20
- DQMHistoTests: Total Missing objects: 0
- DQMHistoSizes: Histogram memory added: 0.0 KiB( 47 files compared)
- Checked 202 log files, 165 edm output root files, 48 DQM output files
- TriggerResults: found differences in 3 / 46 workflows
+code-checks
Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-44373/39531
- This PR adds an extra 52KB to repository
Pull request #44373 was updated. @perrotta, @epalencia, @aloeliger, @consuegs, @cmsbuild, @saumyaphor4252, @francescobrivio can you please check and sign again.
Looking at some of the weirdly failed tests, I realize that a parameter called theThreshold (used in legacy PFA2 TP emulation) had been mistakenly changed to be theVetoThreshold---they are wholly different. The former seems deprecated in my view, but I focus on the changes for the prefire veto. Likewise, I have made some changes to logic based on additional discussion with @Michael-Krohn and online ops.
+code-checks
Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-44373/39535
- This PR adds an extra 36KB to repository
Pull request #44373 was updated. @cmsbuild, @epalencia, @aloeliger, @perrotta, @consuegs, @saumyaphor4252, @francescobrivio can you please check and sign again.
+code-checks
Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-44373/39536
- This PR adds an extra 52KB to repository
Pull request #44373 was updated. @epalencia, @aloeliger, @saumyaphor4252, @perrotta, @consuegs, @cmsbuild, @francescobrivio can you please check and sign again.