Skip to content
Snippets Groups Projects
Commit 4219d068 authored by Johannes Schumann's avatar Johannes Schumann
Browse files

define w2list length via max field index

parent f10eb4e2
No related branches found
No related tags found
1 merge request!17Weights update
Pipeline #23384 passed
This commit is part of merge request !17. Comments created here will be created in the context of that merge request.
......@@ -205,7 +205,7 @@ W2LIST_LOOKUP = {
"GIBUU_WEIGHT": 19
}
W2LIST_LENGTH = len(W2LIST_LOOKUP)
W2LIST_LENGTH = max(W2LIST_LOOKUP.values()) + 1
GIBUU_FIELDNAMES = [
'weight', 'barcode', 'Px', 'Py', 'Pz', 'E', 'evType', 'lepIn_E',
......
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