Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
DaVinci
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
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
DaVinci
Commits
f2db96be
Commit
f2db96be
authored
3 years ago
by
Wouter Hulsbergen
Browse files
Options
Downloads
Patches
Plain Diff
Adapt to change in PV finder output
parent
36add867
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!1103
Draft: Add AnalysisHelpers to DaVinci Stack
,
!667
Adapt to change in PV finder output
Pipeline
#3785183
passed
2 years ago
Stage: test
Stage: .post
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Phys/DaVinci/python/DaVinci/reco_objects.py
+7
-9
7 additions, 9 deletions
Phys/DaVinci/python/DaVinci/reco_objects.py
with
7 additions
and
9 deletions
Phys/DaVinci/python/DaVinci/reco_objects.py
+
7
−
9
View file @
f2db96be
...
...
@@ -20,9 +20,7 @@ packed data on file.
"""
from
GaudiConf
import
PersistRecoConf
from
PyConf
import
configurable
from
PyConf.Algorithms
import
(
LHCb__Converters__RecVertices__LHCbRecVerticesToVectorV2RecVertex
,
LHCb__Converters__Track__v2__fromV1TrackV2Track
)
from
PyConf.Algorithms
import
(
RecV1ToPVConverter
)
from
.data_from_file
import
reco_unpackers
...
...
@@ -59,12 +57,12 @@ def make_tracks():
def
make_pvs_using
(
tracks
,
pvs
):
tracks_v2
=
LHCb__Converters__Track__v2__fromV1TrackV2Track
(
InputTracksName
=
tracks
).
OutputTracksName
return
LHCb__Converters__RecVertices__LHCbRecVerticesToVectorV2RecVertex
(
InputVertices
=
pvs
,
InputTracks
=
tracks_v2
,
).
OutputVertices
#
tracks_v2 = LHCb__Converters__Track__v2__fromV1TrackV2Track(
#
InputTracksName=tracks).OutputTracksName
# FIXME: this is a temporary solution until we have persistency
# for the new PV container. Note that this converter does not
# fill the associated track list. This should be fixed as well.
return
RecV1ToPVConverter
(
InputVertices
=
pvs
).
OutputVertices
def
make_pvs_with
(
persist_conf
,
tracks
=
'
Tracks
'
,
pvs
=
'
PVs
'
):
...
...
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