Skip to content

Draft: Add combined muon tracks to the test

Edward Moyse requested to merge main-acts-trk-muon into main

This adds combined Muon tracks to the conversion test.

Draft because currently it fails with several categories of error: 1)

ActsTrk::TrkToActsConvert...ActsToTrkConverterTool  ERROR No Acts surface corresponding to this ATLAS surface:
ActsTrk::TrkToActsConvert...ActsToTrkConverterTool  ERROR Trk::PlaneSurface
     Detector Type              = sTgc
     Center position  (x, y, z) = (1127.8353, -1127.8353, 7457.5050)
     Rotation:             colX = (0.707107, 0.707107, 0.000000)
                           colY = (0.707107, -0.707107, 0.000000)
                           colZ = (0.000000, 0.000000, -1.000000)
     Bounds  : Trk::TrapezoidBounds:  (minHlenghtX, maxHlengthX, hlengthY) = (238.2100000, 563.3300000, 652.0000000)
ActsTrk::TrkToActsConvert...ActsToTrkConverterTool  ERROR Could not find ACTS surface for this TrackParameter:
ActsTrk::TrkToActsConvert...ActsToTrkConverterTool  ERROR ParametersT parameters 
ParametersT parameters:
 * TrackParameters on Surface
 * loc1  : 225.9297028
 * loc2  : 304.7433167
 * phi   : -0.6671102
 * Theta : 0.2496505
 * q/p   : -0.0000011
 * charge: -1.0000000
 * covariance matrix = 0x556ea1d0
 * corresponding global parameters:
 *    position  (x,  y,  z ) = (1503.0778066, -1183.5649568, 7457.5050000)
 *    momentum  (px, py, pz) = (184741.0365649, -145494.8876503, 922287.1905518)
associated surface:
Trk::PlaneSurface
     Detector Type              = sTgc
     Center position  (x, y, z) = (1127.8353, -1127.8353, 7457.5050)
     Rotation:             colX = (0.707107, 0.707107, 0.000000)
                           colY = (0.707107, -0.707107, 0.000000)
                           colZ = (0.000000, 0.000000, -1.000000)
     Bounds  : Trk::TrapezoidBounds:  (minHlenghtX, maxHlengthX, hlengthY) = (238.2100000, 563.3300000, 652.0000000)

ActsTrk::TrkToActsConvert...ActsToTrkConverterTool  ERROR Unable to convert TrackParameter. Will be missing from ACTS track.

this happens for MDT,sTGC, MM. Probably because Muons are set up in ActsTrackingGeometrySvcCfg?

I also see differences for Perigees

ActsTrk::TrkToActsConvert...ActsToTrkConverterToolWARNING Parameter position mismatch: 0
0
0 vs  59.5313
-46.9377
     252

(There may be other issues two, but I'm focusing on these to start with)

cc @jojungge

Edited by Edward Moyse

Merge request reports

Loading