feat: Add basic regions support to G4 example
I work with fast simulation for silicon detectors and I was interested to see how G4ProductionCuts affect the number of secondary particles. This may be useful also for other people so adding it here.
Note that I still need to adapt all detector factories (only DD4HEP one is done for now), but I want to get feedback first if you think this is useful to have.
/cc @andiwand @paulgessinger
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 48.98%. Comparing base (
3203649) to head (6dfbe9e). Report is 38 commits behind head on main.
:exclamation: Current head 6dfbe9e differs from pull request most recent head ef1eb8c. Consider uploading reports for the commit ef1eb8c to get more accurate results
Additional details and impacted files
@@ Coverage Diff @@
## main #3061 +/- ##
==========================================
- Coverage 49.09% 48.98% -0.11%
==========================================
Files 497 489 -8
Lines 29155 28947 -208
Branches 13851 13713 -138
==========================================
- Hits 14314 14181 -133
- Misses 4908 4951 +43
+ Partials 9933 9815 -118
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
📊: Physics performance monitoring for ef1eb8ce1284f79d526f4547e22d264ca99a41ca
physmon summary
- ✅ CKF truth_smeared
- ✅ IVF truth_smeared
- ✅ AMVF truth_smeared
- ✅ Track Summary CKF truth_smeared
- ✅ Seeding truth_estimated
- ✅ CKF truth_estimated
- ✅ IVF truth_estimated
- ✅ AMVF truth_estimated
- ✅ Track Summary CKF truth_estimated
- ✅ Seeding seeded
- ✅ CKF seeded
- ✅ IVF seeded
- ✅ AMVF seeded
- ✅ AMVF (+grid seeder) seeded
- ✅ Track Summary CKF seeded
- ✅ Seeding orthogonal
- ✅ CKF orthogonal
- ✅ IVF orthogonal
- ✅ AMVF orthogonal
- ✅ Track Summary CKF orthogonal
- ✅ Ambisolver seeded
- ✅ Ambisolver orthogonal
- ✅ Seeding ttbar
- ✅ CKF ttbar
- ✅ Ambisolver
- ✅ Track Summary CKF ttbar
- ✅ AMVF ttbar
- ✅ AMVF (+grid seeder) ttbar
- ✅ Truth tracking (GSF)
- ✅ Truth tracking
- ✅ Truth tracking (GX2F)
- ✅ Particles fatras
- ✅ Particles geant4