|
33 | 33 | parser_group.add_argument("--outputBasename", help="Basename of the output file(s)", default="output") |
34 | 34 | parser_group.add_argument("--trackingOnly", action="store_true", help="Run only track reconstruction", default=False) |
35 | 35 | parser_group.add_argument("--enableLCFIJet", action="store_true", help="Enable LCFIPlus jet clustering parts", default=False) |
| 36 | +parser_group.add_argument("--cms", action="store", help="Choose a Centre-of-Mass energy", default=240, choices=(91, 160, 240, 365), type=int) |
36 | 37 | parser_group.add_argument("--compactFile", help="Compact detector file to use", type=str, default=os.environ["K4GEO"] + "/FCCee/CLD/compact/CLD_o2_v07/CLD_o2_v07.xml") |
37 | 38 | tracking_group = parser_group.add_mutually_exclusive_group() |
38 | 39 | tracking_group.add_argument("--conformalTracking", action="store_true", default=True, help="Use conformal tracking pattern recognition") |
|
75 | 76 | # we are making assumptions for reconstruction parameters based on the detector option, so we limit the possibilities |
76 | 77 | raise RuntimeError("Too many XML files for the detector path, please only specify the main file!") |
77 | 78 |
|
| 79 | +# from https://github.com/HEP-FCC/FCCeePhysicsPerformance/blob/d6ecee2c2c3ed5d76db55a3ae18ced349b2b914a/General/README.md?plain=1#L457-L467 |
| 80 | +# for december 2022 |
| 81 | +BEAM_SPOT_SIZES = { 91: (5.96e-3, 23.8e-6, 0.397), |
| 82 | + 160: (14.7e-3, 46.5e-6, 0.97), |
| 83 | + 240: (9.8e-3, 25.4e-6, 0.65), |
| 84 | + 365: (27.3e-3, 48.8e-6, 1.33), |
| 85 | + } |
| 86 | + |
78 | 87 | sequenceLoader = SequenceLoader( |
79 | 88 | algList, |
80 | 89 | # global_vars can be used in sequence-loaded modules without explicit import |
81 | | - global_vars={"CONFIG": CONFIG, "geoservice": geoservice, "reco_args": reco_args}, |
| 90 | + global_vars={"CONFIG": CONFIG, "geoservice": geoservice, "reco_args": reco_args, |
| 91 | + "BEAM_SPOT_SIZES": BEAM_SPOT_SIZES, |
| 92 | + }, |
82 | 93 | ) |
83 | 94 |
|
84 | 95 | if reco_args.inputFiles: |
|
0 commit comments