Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Moore
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LHCb
Moore
Commits
c83bf764
Commit
c83bf764
authored
1 year ago
by
Sevda Esen
Browse files
Options
Downloads
Patches
Plain Diff
fix allen banks for the dumper
parent
cd3daffe
No related branches found
No related tags found
1 merge request
!2736
Draft: clean up and simplify the config
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Hlt/RecoConf/python/RecoConf/hlt1_allen.py
+5
-6
5 additions, 6 deletions
Hlt/RecoConf/python/RecoConf/hlt1_allen.py
with
5 additions
and
6 deletions
Hlt/RecoConf/python/RecoConf/hlt1_allen.py
+
5
−
6
View file @
c83bf764
...
...
@@ -15,7 +15,6 @@ from PyConf.Algorithms import (
FromV2TrackV1Track
,
fromV3TrackV1Track
,
LHCb__Converters__Track__v2__fromV1TrackV2Track
as
fromV1TrackV2Track
)
from
RecoConf.core_algorithms
import
make_unique_id_generator
from
Moore.streams
import
bank_types_for_detectors
@configurable
...
...
@@ -383,12 +382,13 @@ def combine_raw_banks_with_MC_data_for_standalone_Allen_checkers(
from
PyConf.application
import
default_raw_event
,
mdf_writer
from
PyConf.Algorithms
import
RawEventCombiner
from
AllenCore.gaudi_allen_generator
import
make_transposed_raw_banks
from
Moore.streams
import
bank_types_for_detectors
,
DETECTORS
subdetectors
=
[
"
VP
"
,
"
FTCluster
"
,
"
Muon
"
,
"
ODIN
"
,
"
Calo
"
,
"
EcalPacked
"
]
subdetectors
=
[
"
VP
"
,
"
FT
"
,
"
Muon
"
,
"
Calo
"
]
if
with_ut
:
subdetectors
+=
[
"
UT
"
]
allen_banks
=
make_transposed_raw_banks
(
bank_types_for_detectors
(
subdetectors
))
allen_banks
=
make_transposed_raw_banks
(
subdetectors
)
algs
=
[
allen_banks
]
trackerDumper
=
tracker_dumper
(
dump_to_root
=
False
,
with_ut
=
with_ut
)
...
...
@@ -397,8 +397,7 @@ def combine_raw_banks_with_MC_data_for_standalone_Allen_checkers(
algs
.
append
(
pvDumper
)
detector_parts
=
[
default_raw_event
([
bt
])
for
bt
in
bank_types_for_detectors
(
subdetectors
)
default_raw_event
([
bt
])
for
bt
in
bank_types_for_detectors
()
]
# get only unique elements while preserving order
detector_parts
=
list
(
dict
.
fromkeys
(
detector_parts
).
keys
())
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment