You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This PR fixes:
acts-project#3165
It first creates a `std::multimap` that relates the `G4VPhysVolume` to the possible `Acts::Surface` objects (there can be more due to the replica mechanism).
In the Stepping action, the right one will then be picked.
The output performance change in geant_hits is expected.
Digitisation configuration file:
[odd-digi-geometric-config.json](https://github.com/acts-project/acts/files/15188041/odd-digi-geometric-config.json)
Example how to run full simulation with this:
```sh
python <path_to_your_acts_source_dir>Examples/Scripts/Python/sim_digi_odd.py --digi-config odd-digi-geometric-config.json --geant4 --gun-multiplicity 10 --gun-pt-range 100 100 -n100 -o g4_mu_100GeV_m10
```
Options are:
```sh
usage: sim_digi_odd.py [-h] [--output OUTPUT] [--events EVENTS] [--skip SKIP] [--edm4hep EDM4HEP] [--geant4] [--ttbar] [--ttbar-pu TTBAR_PU] [--gun-multiplicity GUN_MULTIPLICITY] [--gun-eta-range GUN_ETA_RANGE [GUN_ETA_RANGE ...]] [--gun-pt-range GUN_PT_RANGE [GUN_PT_RANGE ...]] [--rnd-seed RND_SEED]
[--digi-config DIGI_CONFIG]
Sim-digi chain with the OpenDataDetector
options:
-h, --help show this help message and exit
--output OUTPUT, -o OUTPUT
Output directory
--events EVENTS, -n EVENTS
Number of events
--skip SKIP, -s SKIP Number of events
--edm4hep EDM4HEP Use edm4hep inputs
--geant4 Use Geant4 instead of fatras
--ttbar Use Pythia8 (ttbar, pile-up 200) instead of particle gun
--ttbar-pu TTBAR_PU Number of pile-up events for ttbar
--gun-multiplicity GUN_MULTIPLICITY
Multiplicity of the particle gun
--gun-eta-range GUN_ETA_RANGE [GUN_ETA_RANGE ...]
Eta range of the particle gun
--gun-pt-range GUN_PT_RANGE [GUN_PT_RANGE ...]
Pt range of the particle gun (GeV)
--rnd-seed RND_SEED Random seed
--digi-config DIGI_CONFIG
Digitization configuration file
```
0 commit comments