Skip to content

MuonIDHltAlg - Add debug printout of derived cache parameters

Useful in comparing dd4hep and detdesc. e.g.

DetDesc

MuonIDHlt2AlgLong                     DEBUG Station 0
MuonIDHlt2AlgLong                     DEBUG  Inner(X,Y)= 304.2, 247.759
MuonIDHlt2AlgLong                     DEBUG  Outer(X,Y)= 4909.3, 4076.32
MuonIDHlt2AlgLong                     DEBUG           Z= 15270
MuonIDHlt2AlgLong                     DEBUG Station 1
MuonIDHlt2AlgLong                     DEBUG  Inner(X,Y)= 329.1, 262.944
MuonIDHlt2AlgLong                     DEBUG  Outer(X,Y)= 5292.5, 4398.33
MuonIDHlt2AlgLong                     DEBUG           Z= 16470
MuonIDHlt2AlgLong                     DEBUG Station 2
MuonIDHlt2AlgLong                     DEBUG  Inner(X,Y)= 355.3, 286.17
MuonIDHlt2AlgLong                     DEBUG  Outer(X,Y)= 5676.9, 4712.5
MuonIDHlt2AlgLong                     DEBUG           Z= 17670
MuonIDHlt2AlgLong                     DEBUG Station 3
MuonIDHlt2AlgLong                     DEBUG  Inner(X,Y)= 379.6, 307.741
MuonIDHlt2AlgLong                     DEBUG  Outer(X,Y)= 6059.6, 5028.65
MuonIDHlt2AlgLong                     DEBUG           Z= 18870
MuonIDHlt2AlgLong                     DEBUG Cache { stations=4 regions=4 extrapolation: inner=[(304.2, 247.759), (329.1, 262.944), (355.3, 286.17), (379.6, 307.741)] outer=[(4909.3, 4076.32), (5292.5, 4398.33), (5676.9, 4712.5), (6059.6, 5028.65)] sigmapadCache: X=[[1.85233, 3.68061, 7.36122, 14.7224], [1.99667, 3.96928, 7.93857, 15.8771], [8.56403, 17.0318, 34.0637, 68.1273], [9.14138, 18.1865, 36.3731, 72.7461]] Y=[[9.12213, 9.12213, 36.4885, 72.9771], [9.84382, 19.6876, 39.3753, 78.7506], [10.5655, 21.131, 42.262, 84.5241], [11.2872, 22.5744, 45.1488, 90.2976]] scatterCache=[3.74341e+10, 6.25502e+10, 1.12385e+11, 8.76663e+10, 1.65339e+11, 2.54574e+11, 1.12782e+11, 2.18294e+11, 3.46964e+11, 4.88285e+11] stationZ=[15270, 16470, 17670, 18870] }

dd4hep

MuonIDHlt2AlgLong                     DEBUG Station 0
MuonIDHlt2AlgLong                     DEBUG  Inner(X,Y)= 506, 405
MuonIDHlt2AlgLong                     DEBUG  Outer(X,Y)= 11010, 10010
MuonIDHlt2AlgLong                     DEBUG           Z= 15170
MuonIDHlt2AlgLong                     DEBUG Station 1
MuonIDHlt2AlgLong                     DEBUG  Inner(X,Y)= 550, 445
MuonIDHlt2AlgLong                     DEBUG  Outer(X,Y)= 11910, 10010
MuonIDHlt2AlgLong                     DEBUG           Z= 16370
MuonIDHlt2AlgLong                     DEBUG Station 2
MuonIDHlt2AlgLong                     DEBUG  Inner(X,Y)= 600, 484
MuonIDHlt2AlgLong                     DEBUG  Outer(X,Y)= 11910, 10010
MuonIDHlt2AlgLong                     DEBUG           Z= 17570
MuonIDHlt2AlgLong                     DEBUG Station 3
MuonIDHlt2AlgLong                     DEBUG  Inner(X,Y)= 645, 524
MuonIDHlt2AlgLong                     DEBUG  Outer(X,Y)= 12310, 11010
MuonIDHlt2AlgLong                     DEBUG           Z= 18770
MuonIDHlt2AlgLong                     DEBUG Cache { stations=4 regions=4 extrapolation: inner=[(506, 405), (550, 445), (600, 484), (645, 524)] outer=[(11010, 10010), (11910, 10010), (11910, 10010), (12310, 11010)] sigmapadCache: X=[[1.73205, 3.4641, 7.21688, 14.7224], [1.73205, 3.75278, 7.79423, 15.8771], [8.37158, 17.0318, 34.0637, 68.1273], [8.94893, 18.1865, 36.3731, 72.7461]] Y=[[8.94893, 8.94893, 36.3731, 72.7461], [9.81495, 19.6299, 39.2598, 78.5196], [10.3923, 21.0733, 42.1466, 84.2931], [11.2583, 22.5167, 45.0333, 90.0666]] scatterCache=[3.33923e+10, 5.67772e+10, 1.03791e+11, 8.01621e+10, 1.5396e+11, 2.39496e+11, 1.03547e+11, 2.04129e+11, 3.28046e+11, 4.64614e+11] stationZ=[15170, 16370, 17570, 18770] }

So the stations X,Y sizes and Z positions are not the same. Most notably the (X,Y) sizes seem roughly twice as big with dd4hep as detdesc...

@farchill @desimone Can you please comment on the above difference in parameters ?

Merge request reports