-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
BTL simulation: OOT effects + premix fix #28757
Conversation
…f photon tails from earlier OOT hits
…patible with the premixing packing
…m the premixing bank
The code-checks are being triggered in jenkins. |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-28757/13399
|
A new Pull Request was created by @casarsa (Massimo Casarsa) for master. It involves the following packages: DataFormats/FTLDigi @cmsbuild, @civanch, @kpedro88, @mdhildreth can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
please test |
The tests are being triggered in jenkins. |
+1 |
Comparison job queued. |
Comparison is ready Comparison Summary:
|
cc: @trtomei @fwyzard This issue could affect the 11_0_0_patch1 production. @casarsa since this PR is changing some constant values in DataFormats/FTLDigi/interface/PMTDSimAccumulator.h , the change could potentially create an incompatibility between CMSSW_11_1_X and CMSSW_11_0_X (we need this compatibility in order to run the rereco for the HLT TDR in CMSSW_11_1_X). |
@silviodonato For my education, is the plan to produce signal GEN-SIM and a premixed pileup library in 11_0_X, and run the overlay (premix stage2) in 11_1_X? |
@kpedro88 I've rerun the current code with the same number of events as for my branch tests: WF 22234.0, CMSSW_11_0_0_pre13 step 2 MemoryReport> Peak virtual size 7054.16 Mbytes
step 3 MemoryReport> Peak virtual size 13726.6 Mbytes
|
@casarsa thanks, this looks reasonable to me. |
+upgrade |
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. @davidlange6, @silviodonato, @fabiocos (and backports should be raised in the release meeting by the corresponding L2) |
please test workflow 23434.1001 |
The tests are being triggered in jenkins.
|
+1 |
Comparison job queued. |
Comparison is ready @slava77 comparisons for the following workflows were not done due to missing matrix map:
Comparison Summary:
|
+1 |
PR description:
This PR improves the BTL digitization including the effects on time resolution due to the photon tails of earlier OOT hits in the same crystal, like in PR #28433, and fixes the memory issue that had emerged when testing the premixing for that PR.
The cause of the problem was that the method that packs the SIM hits info into the premix bank expects times expressed modulo 25n, but that was not my case. As a consequence, the bit word with the SIM info was corrupted and the unpacking resulted into an overflowing index.
PR validation:
This branch has been tested in CMSSW_11_0_0_pre13 with the TTbar WFs 22234.0 and 22234.99.
WF 22234.0
step 2:
MemoryReport> Peak virtual size 7964.15 Mbytes
Key events increasing vsize:
[60] run: 1 lumi: 1 event: 60 vsize = 6286.11 deltaVsize = 640 rss = 3096.59 delta = 206.461
[249] run: 1 lumi: 1 event: 249 vsize = 7068.14 deltaVsize = 782 rss = 2927.33 delta = -169.258
[485] run: 1 lumi: 1 event: 485 vsize = 7964.15 deltaVsize = 896 rss = 3123.05 delta = 195.715
[0] run: 0 lumi: 0 event: 0 vsize = 0 deltaVsize = 0 rss = 0 delta = 0
[0] run: 0 lumi: 0 event: 0 vsize = 0 deltaVsize = 0 rss = 0 delta = 0
[487] run: 1 lumi: 1 event: 487 vsize = 7964.15 deltaVsize = 0 rss = 3021.71 delta = -101.34
[486] run: 1 lumi: 1 event: 486 vsize = 7964.15 deltaVsize = 0 rss = 3107.3 delta = -15.75
[485] run: 1 lumi: 1 event: 485 vsize = 7964.15 deltaVsize = 896 rss = 3123.05 delta = 124.598
TimeReport> Time report complete in 44014 seconds
Time Summary:
Event Throughput: 0.0113688 ev/s
CPU Summary:
step 3
MemoryReport> Peak virtual size 12965.9 Mbytes
Key events increasing vsize:
[32] run: 1 lumi: 1 event: 32 vsize = 10146.7 deltaVsize = 1024 rss = 6783.16 delta = 280.848
[143] run: 1 lumi: 1 event: 143 vsize = 11426.8 deltaVsize = 1280 rss = 6918.56 delta = 135.406
[408] run: 1 lumi: 1 event: 408 vsize = 12962.9 deltaVsize = 1535 rss = 7269.84 delta = 351.277
[492] run: 1 lumi: 1 event: 492 vsize = 12965.9 deltaVsize = 3 rss = 7312.45 delta = 42.6055
[0] run: 0 lumi: 0 event: 0 vsize = 0 deltaVsize = 0 rss = 0 delta = 0
[494] run: 1 lumi: 1 event: 494 vsize = 12963.9 deltaVsize = -2 rss = 6955.95 delta = -356.496
[493] run: 1 lumi: 1 event: 493 vsize = 12963.9 deltaVsize = -2 rss = 7115.16 delta = -197.281
[492] run: 1 lumi: 1 event: 492 vsize = 12965.9 deltaVsize = 3 rss = 7312.45 delta = 42.6055
TimeReport> Time report complete in 89719 seconds
Time Summary:
Event Throughput: 0.00558111 ev/s
CPU Summary:
WF 22234.99
premix bank size:
step 3
MemoryReport> Peak virtual size 5278.37 Mbytes
Key events increasing vsize:
[2] run: 1 lumi: 1 event: 2 vsize = 4446.24 deltaVsize = 12 rss = 2998.72 delta = -134.793
[16] run: 1 lumi: 1 event: 16 vsize = 4830.32 deltaVsize = 384 rss = 2981.2 delta = -17.5234
[458] run: 1 lumi: 1 event: 458 vsize = 5278.37 deltaVsize = 448 rss = 3136.12 delta = 154.93
[0] run: 0 lumi: 0 event: 0 vsize = 0 deltaVsize = 0 rss = 0 delta = 0
[0] run: 0 lumi: 0 event: 0 vsize = 0 deltaVsize = 0 rss = 0 delta = 0
[460] run: 1 lumi: 1 event: 460 vsize = 5278.37 deltaVsize = 0 rss = 3103.74 delta = -32.3867
[459] run: 1 lumi: 1 event: 459 vsize = 5278.37 deltaVsize = 0 rss = 3062.41 delta = -73.7148
[458] run: 1 lumi: 1 event: 458 vsize = 5278.37 deltaVsize = 448 rss = 3136.12 delta = 3.17578
TimeReport> Time report complete in 24610.4 seconds
Time Summary:
Event Throughput: 0.0203616 ev/s
CPU Summary:
step 4
MemoryReport> Peak virtual size 9123.34 Mbytes
Key events increasing vsize:
[2] run: 1 lumi: 1 event: 2 vsize = 7422.96 deltaVsize = 660.016 rss = 5336.09 delta = -65.8555
[15] run: 1 lumi: 1 event: 15 vsize = 8227.02 deltaVsize = 768 rss = 5545.06 delta = 208.977
[154] run: 1 lumi: 1 event: 154 vsize = 9123.32 deltaVsize = 896 rss = 5983.21 delta = 438.148
[458] run: 1 lumi: 1 event: 458 vsize = 9123.34 deltaVsize = 0.0195312 rss = 6423.86 delta = 440.652
[0] run: 0 lumi: 0 event: 0 vsize = 0 deltaVsize = 0 rss = 0 delta = 0
[460] run: 1 lumi: 1 event: 460 vsize = 9123.34 deltaVsize = 0 rss = 6370.79 delta = -53.0742
[459] run: 1 lumi: 1 event: 459 vsize = 9123.34 deltaVsize = 0 rss = 6262.03 delta = -161.836
[458] run: 1 lumi: 1 event: 458 vsize = 9123.34 deltaVsize = 0.0195312 rss = 6423.86 delta = 440.652
TimeReport> Time report complete in 81246.8 seconds
Time Summary:
Event Throughput: 0.00617077 ev/s
CPU Summary:
=============================================
In the case of current code, as a reference:
WF 22234.0
step 2
MemoryReport> Peak virtual size 6286.12 Mbytes
Key events increasing vsize:
[4] run: 1 lumi: 1 event: 4 vsize = 5134.07 deltaVsize = 448 rss = 3084.34 delta = -16
[15] run: 1 lumi: 1 event: 15 vsize = 5646.11 deltaVsize = 512 rss = 3022.9 delta = -61.4336
[61] run: 1 lumi: 1 event: 61 vsize = 6286.12 deltaVsize = 640 rss = 3414.31 delta = 391.41
[0] run: 0 lumi: 0 event: 0 vsize = 0 deltaVsize = 0 rss = 0 delta = 0
[0] run: 0 lumi: 0 event: 0 vsize = 0 deltaVsize = 0 rss = 0 delta = 0
[63] run: 1 lumi: 1 event: 63 vsize = 6286.12 deltaVsize = 0 rss = 3323.92 delta = -90.3945
[62] run: 1 lumi: 1 event: 62 vsize = 6286.12 deltaVsize = 0 rss = 3402.76 delta = -11.5547
[61] run: 1 lumi: 1 event: 61 vsize = 6286.12 deltaVsize = 640 rss = 3414.31 delta = -82.2305
TimeReport> Time report complete in 9059.45 seconds
Time Summary:
Event Throughput: 0.011091 ev/s
CPU Summary:
step 3
MemoryReport> Peak virtual size 10145.7 Mbytes
Key events increasing vsize:
[3] run: 1 lumi: 1 event: 3 vsize = 9089.55 deltaVsize = 4 rss = 6709.96 delta = 18.8125
[6] run: 1 lumi: 1 event: 6 vsize = 9121.55 deltaVsize = 32 rss = 6750.29 delta = 40.3281
[29] run: 1 lumi: 1 event: 29 vsize = 10145.7 deltaVsize = 1024 rss = 7010.46 delta = 260.172
[83] run: 1 lumi: 1 event: 83 vsize = 10145.7 deltaVsize = 0.0273438 rss = 7426.93 delta = 416.469
[46] run: 1 lumi: 1 event: 46 vsize = 10145.7 deltaVsize = 0.0078125 rss = 7203.63 delta = 193.168
[85] run: 1 lumi: 1 event: 85 vsize = 10145.7 deltaVsize = 0 rss = 7077.25 delta = -349.68
[84] run: 1 lumi: 1 event: 84 vsize = 10145.7 deltaVsize = 0 rss = 7218.67 delta = -208.262
[83] run: 1 lumi: 1 event: 83 vsize = 10145.7 deltaVsize = 0.0273438 rss = 7426.93 delta = 223.301
TimeReport> Time report complete in 19135.3 seconds
Time Summary:
Event Throughput: 0.00527324 ev/s
CPU Summary: