Skip to content

Temporary workaround to be able to use PatPV3D in default and fastest reconstruction

Florian Reiss requested to merge freiss_pyconf into master

Currently trying to use make_default_reconstruction or make_fastest_reconstruction with PatPV3D does not work and fails with

    raise ConfigurationError(
PyConf.utilities.ConfigurationError: LHCb__Converters__RecVertex__v2__fromVectorLHCbRecVertices.InputVerticesName is of type
    std::vector<LHCb::Event::v2::RecVertex,std::scoped_allocator_adaptor<LHCb::Allocators::EventLocal<LHCb::Event::v2::RecVertex>> >
but got
    KeyedContainer<LHCb::RecVertex,Containers::KeyedObjectManager<Containers::hashmap> >

This is a temporary workaround until the PV output container has been sorted out and is used by Alignment!203 (merged) to run the alignment with PVs with associated tracks from PatPV3D.

For use in the alignment, the list of tracks associated to a PV needs to be filled.

From alignment log for TrackBeamLineVertexFinderSoA:

********************* ALIGNMENT LOG ************************
Iteration: 0
Total number of events: 10
Time of first event [ns]: 0 --> 1970-01-01 01:00:00 AM
Time of last event [ns] : 0 --> 1970-01-01 01:00:00 AM
Time at initialize [ns] : 0 --> 1970-01-01 01:00:00 AM
First/last run number: 9285885/9285885
Used 0 vertices for alignment
Used 0 particles for alignment
Used 599 tracks for alignmen

from alignment log using PatPV3DFuture:

********************* ALIGNMENT LOG ************************
Iteration: 0
Total number of events: 10
Time of first event [ns]: 0 --> 1970-01-01 01:00:00 AM
Time of last event [ns] : 0 --> 1970-01-01 01:00:00 AM
Time at initialize [ns] : 0 --> 1970-01-01 01:00:00 AM
First/last run number: 9285885/9285885
Used 60 vertices for alignment
Used 0 particles for alignment
Used 599 tracks for alignment

@rmatev

Edited by Florian Reiss

Merge request reports