Skip to content
Snippets Groups Projects
Commit 63b2cc05 authored by Miroslav Saur's avatar Miroslav Saur
Browse files

Merge branch 'msaur_production_VP_vs_VeloSP_convention_for_patching_v55r14p2'...

Merge branch 'msaur_production_VP_vs_VeloSP_convention_for_patching_v55r14p2' into 'v55r14p2-patches'

Unification of notation in production.py, using VP for VeloSP as in reconstruction code

See merge request !4510
parents 74986b9a 98c82936
No related branches found
No related tags found
1 merge request!4510Unification of notation in production.py, using VP for VeloSP as in reconstruction code
Pipeline #11008629 passed with warnings
......@@ -49,7 +49,7 @@ def hlt2(options: Options, *raw_args):
rawbanks(default=None): to run MC persisting rawbanks (with flaggging only)
reco_only(default=False): to run MC in reconstruction only mode (with flaggging only)
line_regex(default=None): to select lines based on regex match
velo_source(default="VPRetinaCluster"): Velo bank type, either VPRetinaCluster or VeloSP
velo_source(default="VPRetinaCluster"): Velo bank type, either VPRetinaCluster or VP
"""
args = _parse_args(raw_args)
......@@ -169,11 +169,11 @@ def _hlt2(options,
]
if velo_source:
if velo_source in ["VeloSP", "VPRetinaCluster"]:
if velo_source in ["VP", "VPRetinaCluster"]:
default_VeloCluster_source.global_bind(bank_type=velo_source)
else:
raise ConfigurationError("Velo bank type needs to " +
"VeloSP or VPRetinaCluster but got " +
"VP or VPRetinaCluster but got " +
velo_source)
def _my_line_maker():
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment