-
Notifications
You must be signed in to change notification settings - Fork 155
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
O2DPG-MC: Possibility to pass additional external user settings
This commit provides the possibility to inject external choices for configurable params into the MC workflow construction. This is done by setting up a JSON file, e.g. local_config.json, an by passing this file to the workflow construction with the new `--overwrite-config local_config.json` command line option. This new option allows to conveniently set configurable params from the outside (without having to specify the global list of configurations). The motivation for this development came from the wish to set the busy time for EMC digitization. This is now possible with the following local_config.json: ``` { "EMCSimParam": { "mBusyTime": 0 } } ``` Overall, this development scales to all such external settings and avoids adding specific detector-specific command line options in o2dpg_sim_workflow.py.
- Loading branch information
Showing
2 changed files
with
24 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters