-
Notifications
You must be signed in to change notification settings - Fork 157
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: MaterialComposition plots with python config (#2531)
Changes the material composition script to optionally accept a region config in the form of a JSON config file like ```json { "beampipe": [ { "rmin": 0, "rmax": 24.4, "zmin": -4000, "zmax": 4000 } ], "pixel": [ { "rmin": 25, "rmax": 200, "zmin": -2400, "zmax": 2400 } ], "sstrips": [ { "rmin": 202, "rmax": 720, "zmin": -3150, "zmax": 3150 } ], "lstrips": [ { "rmin": 720, "rmax": 1140, "zmin": -3150, "zmax": 3150 } ], "solenoid": [ { "rmin": 1160, "rmax": 1200, "zmin": -3000, "zmax": 3000 } ], "ecalbarrel": [ { "rmin": 1250, "rmax": 1500, "zmin": -3050, "zmax": 3050 } ], "ecalendcap": [ { "rmin": 315, "rmax": 1500, "zmin": 3200, "zmax": 3450 }, { "rmin": 315, "rmax": 1500, "zmin": -3450, "zmax": -3200 } ] } ``` for the example of the ODD. This then also allows to have multiple $rz$ regions make up a combined grouping.
- Loading branch information
1 parent
95bc67b
commit 16e44c0
Showing
3 changed files
with
72 additions
and
22 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
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