Skip to content
Snippets Groups Projects

Prototype of new alignment configuration

Merged Florian Reiss requested to merge pyconf into master
Compare and Show latest version
1 file
+ 3
4
Compare changes
  • Side-by-side
  • Inline
@@ -95,12 +95,11 @@ def createAlignUpdateTool(surveyconstraintTool=AlignChisqConstraintTool(),
with reconstruction.bind(from_file=False):
# note that the PVs reconstructed by TrackBeamLineVertexFinderSoA do not store the list of associated tracks. Use PatPV3DFuture instead
from RecoConf.hlt1_tracking import make_reco_pvs, make_PatPV3DFuture_pvs
with reconstruction.bind(from_file=False), make_reco_pvs.bind( make_pvs_from_velo_tracks=make_PatPV3DFuture_pvs):
#make tracks and PVs
# TODO: in principle the PVs should be an optional input for the alignment
# TODO: currently, the reconstructed PVs do not store the list of associated tracks. This means that the PVs can not be used by the alignment
hlt2_tracks = make_hlt2_tracks(light_reco=False)
best_tracks = hlt2_tracks["Best"]['v1']
pvs = make_pvs()
Loading