Added pixel smearing in VP to match 2023 data taking values
These changes are to increase the VP pixel smearing to better match the data from 2023. There is 5% pixel to pixel cross-talk (cardinal directions only) and 1.5 times the old charge diffusion pattern, both tuned for 250V simulated HV, as that scales the diffusion. See https://indico.cern.ch/event/1378233/contributions/5803373/attachments/2801722/4890059/VPSimUpdateFeb2024.pdf for more details.
Important caveats:
- This MR works with USE_DD4HEP OFF as is, but with USE_DD4HEP ON combined with Detector!544 (merged)
- The boole tests currently turned off in Digi/Boole/CMakeLists.txt if USE_DD4HEP is defined can be re-enabled
- There is a warning due to changing
[=]
to[=, this]
in the lambda function, which is a C++20 adaption, see MR 6d060460 from @sponce. That can be reversed if required (both formulations work, they just give warnings in the "wrong" c++ version).
This needs the update to VPDigitAssociator to avoid changing the MC to VP cluster association Lbcom!723 (merged)
Merge request reports
Activity
added Simulation VP labels
requested review from @gcorti
assigned to @tlatham
@gcorti @tlatham As discussed in the simulation meeting yesterday, I've adapted the code to run on SIMCOND. Note this has the same issues with the master branch with USE_DD4HEP ON, this works with USE_DD4HEP OFF only (the other stack of three MRs does the USE_DD4HEP ON version). There is a warning about a C++20 only change, as that was updated by Sebastian Ponse and I did not want to undo it. I remade some of the plots from the talk listed above and they were as it was (i.e. the changes are implemented OK). As far as I know this MR is not dependent on any other changes, except setting
option(USE_DD4HEP "Controls whether DD4hep is used for the subdetectors supporting it" OFF)
inLHCb/cmake/LHCbOptions.cmake
.Hi David, thanks for preparing this, however I don't see very much difference wrt !456 (closed). If I rebase !456 (closed) on
master
and do a git diff wrt this I see the following differences:- The C++20 fix in the DetDesc code in
VPDepositCreator.cpp
is here but not in !456 (closed) - Changes of hard-coded
208
intoVP::NSensors
in bothVPDepositMonitor.cpp
andVPDigitCreator.cpp
are in !456 (closed) but not here - The locations of the threshold conditions in
VPDigitCreator.cpp
are Gaudi properties in !456 (closed) but are hard-coded here - In !456 (closed) in
VPDigitCreator.cpp
there is a check that the threshold condition is defined when in DD4hep mode, and if it is not defined an array full of1000.
is returned instead (although I think there is a small bug in that code - see !456 (comment 7868643)). There is no such check here.
How should we proceed?
Edited by Thomas Latham- The C++20 fix in the DetDesc code in
- Resolved by David Hutchcroft
@tlatham I can copy these changes across, I started from master and was trying to make the changes as small as possible to minimise the changes for mistakes. It is easy enough to port them across but none will change the output. I expect to be able to do that today.
added 1 commit
- 949585e9 - Some code cleanups, better missing condition handling and using VP::NSensors
mentioned in merge request Detector!544 (merged)
added lhcb-sim11 lhcb-sim11-dev labels
\ci-test Detector!544 (merged)
mentioned in merge request LHCb!4529 (merged)
added 1 commit
- 1157d9a4 - Improve ranges of BadChannelAreas, ActiveSensorArea, and DeadSensorArea histograms
- [2024-04-19 00:32] Validation started with lhcb-sim11#209
- [2024-04-19 10:33] Validation started with lhcb-master-mr#11489
- [2024-04-20 00:38] Validation started with lhcb-sim11#210
- [2024-04-21 00:06] Validation started with lhcb-sim11#211
- [2024-04-22 00:31] Validation started with lhcb-sim11#212
- [2024-04-22 15:12] Validation started with lhcb-master-mr#11496
- [2024-04-23 00:18] Validation started with lhcb-sim11#213
- [2024-04-24 00:37] Validation started with lhcb-sim11#214
- [2024-04-25 00:32] Validation started with lhcb-sim11#215
- [2024-04-25 09:45] Validation started with lhcb-master-mr#11503
- [2024-04-26 00:33] Validation started with lhcb-sim11#216
- [2024-04-27 00:36] Validation started with lhcb-sim11#217
- [2024-04-28 00:31] Validation started with lhcb-sim11#218
- [2024-04-29 00:06] Validation started with lhcb-sim11#219
- [2024-04-30 00:19] Validation started with lhcb-sim11#220
- [2024-05-01 00:33] Validation started with lhcb-sim11#221
- [2024-05-03 00:33] Validation started with lhcb-sim11#222
- [2024-05-04 00:15] Validation started with lhcb-sim11#223
- [2024-05-05 00:08] Validation started with lhcb-sim11#224
- [2024-05-06 00:33] Validation started with lhcb-sim11#225
- [2024-05-06 14:42] Validation started with lhcb-master-mr#11527
- [2024-05-07 00:12] Validation started with lhcb-sim11#226
- [2024-05-07 17:17] Validation started with lhcb-master-mr#11533
- [2024-05-08 00:22] Validation started with lhcb-sim11#227
- [2024-05-09 00:25] Validation started with lhcb-sim11#228
- [2024-05-10 00:07] Validation started with lhcb-sim11#229
- [2024-05-11 00:22] Validation started with lhcb-sim11#230
- [2024-05-12 00:15] Validation started with lhcb-sim11#231
- [2024-05-12 23:04] Validation started with lhcb-master-mr#11540
- [2024-05-13 00:13] Validation started with lhcb-sim11#232
- [2024-05-14 00:32] Validation started with lhcb-sim11#233
Edited by Software for LHCb