fix drift radius in fatrasMS
Muon sim hits in MDT were not being recorded in the MDTSimHitCollection because they failed the drift tube radius <15.075 check. This was caused by using residual instead of actual drift radius. As you can see from the log file, the new driftRadius is the correct value to use, while the residual is too large in all cases. This is the same expression used in https://acode-browser1.usatlas.bnl.gov/lxr/source/athena/MuonSpectrometer/MuonDigitization/MDT_Digitization/src/MdtDigitizationTool.cxx?v=21.3 , if you apply deformations and don't apply wire sagitta correction. I admit this is the simplest change I can think of, but it may not be what we want to use in the end.
02:24:04 ToolSvc.ISF_Fat... INFO YIFEI Calling SimHitCreatorMS, with hits size 27 !
02:24:04 ToolSvc.ISF_Fat... INFO YIFEI tracking position is currently at r z of 4475.99 2895.08 !
02:24:04 ToolSvc.ISF_Fat... INFO YIFEI mdtIdHelper thinks this hit is in mdt!
02:24:04 ToolSvc.ISF_Fat... INFO YIFEI mdtIdHelper thinks this hit has stationName, stationEta, stationPhi, multilauer, tubeLayer of
02:24:04 ToolSvc.ISF_Fat... INFO YIFEI 1 3 1 1 1 !
02:24:04 ToolSvc.ISF_Fat... INFO YIFEI residual is -347.371 needs to be smaller than 15.075
02:24:04 ToolSvc.ISF_Fat... INFO YIFEI drift radius is 5.91462 needs to be smaller than 15.075
02:24:04 ToolSvc.ISF_Fat... INFO YIFEI mdtIdHelper thinks this hit has stationName, stationEta, stationPhi, multilauer, tubeLayer of
02:24:04 ToolSvc.ISF_Fat... INFO YIFEI 1 3 1 1 1 !
02:24:04 ToolSvc.ISF_Fat... INFO YIFEI residual is -322.107 needs to be smaller than 15.075
02:24:04 ToolSvc.ISF_Fat... INFO YIFEI drift radius is 24.1204 needs to be smaller than 15.075
02:24:04 ToolSvc.ISF_Fat... INFO YIFEI mdtIdHelper thinks this hit has stationName, stationEta, stationPhi, multilauer, tubeLayer of
02:24:04 ToolSvc.ISF_Fat... INFO YIFEI 1 3 1 1 1 !
02:24:04 ToolSvc.ISF_Fat... INFO YIFEI residual is -372.636 needs to be smaller than 15.075
02:24:04 ToolSvc.ISF_Fat... INFO YIFEI drift radius is 35.9496 needs to be smaller than 15.075
02:24:04 ToolSvc.ISF_Fat... INFO YIFEI tracking position is currently at r z of 4502.13 2911.8 !
02:24:04 ToolSvc.ISF_Fat... INFO YIFEI mdtIdHelper thinks this hit is in mdt!
02:24:04 ToolSvc.ISF_Fat... INFO YIFEI mdtIdHelper thinks this hit has stationName, stationEta, stationPhi, multilauer, tubeLayer of
02:24:04 ToolSvc.ISF_Fat... INFO YIFEI 1 3 1 1 2 !
02:24:04 ToolSvc.ISF_Fat... INFO YIFEI residual is -359.993 needs to be smaller than 15.075
02:24:04 ToolSvc.ISF_Fat... INFO YIFEI drift radius is 4.21008 needs to be smaller than 15.075
02:24:04 ToolSvc.ISF_Fat... INFO YIFEI mdtIdHelper thinks this hit has stationName, stationEta, stationPhi, multilauer, tubeLayer of
02:24:04 ToolSvc.ISF_Fat... INFO YIFEI 1 3 1 1 2 !
02:24:04 ToolSvc.ISF_Fat... INFO YIFEI residual is -334.729 needs to be smaller than 15.075
02:24:04 ToolSvc.ISF_Fat... INFO YIFEI drift radius is 25.8249 needs to be smaller than 15.075
02:24:04 ToolSvc.ISF_Fat... INFO YIFEI tracking position is currently at r z of 4522.53 2924.85 !
02:24:04 ToolSvc.ISF_Fat... INFO YIFEI mdtIdHelper thinks this hit is in mdt!
02:24:04 ToolSvc.ISF_Fat... INFO YIFEI tracking position is currently at r z of 4528.28 2928.53 !
02:24:04 ToolSvc.ISF_Fat... INFO YIFEI mdtIdHelper thinks this hit is in mdt!
02:24:04 ToolSvc.ISF_Fat... INFO YIFEI mdtIdHelper thinks this hit has stationName, stationEta, stationPhi, multilauer, tubeLayer of
02:24:04 ToolSvc.ISF_Fat... INFO YIFEI 1 3 1 1 3 !
02:24:04 ToolSvc.ISF_Fat... INFO YIFEI residual is -372.616 needs to be smaller than 15.075
02:24:04 ToolSvc.ISF_Fat... INFO YIFEI drift radius is 2.50394 needs to be smaller than 15.075
02:24:04 ToolSvc.ISF_Fat... INFO YIFEI mdtIdHelper thinks this hit has stationName, stationEta, stationPhi, multilauer, tubeLayer of
02:24:04 ToolSvc.ISF_Fat... INFO YIFEI 1 3 1 1 3 !
02:24:04 ToolSvc.ISF_Fat... INFO YIFEI residual is -347.353 needs to be smaller than 15.075
02:24:04 ToolSvc.ISF_Fat... INFO YIFEI drift radius is 27.5311 needs to be smaller than 15.075
02:24:04 ToolSvc.ISF_Fat... INFO YIFEI tracking position is currently at r z of 4554.42 2945.25 !
02:24:04 ToolSvc.ISF_Fat... INFO YIFEI mdtIdHelper thinks this hit is in mdt!
02:24:04 ToolSvc.ISF_Fat... INFO YIFEI tracking position is currently at r z of 4591.14 2968.75 !
02:24:04 ToolSvc.ISF_Fat... INFO YIFEI mdtIdHelper thinks this hit is in mdt!
02:24:04 ToolSvc.ISF_Fat... INFO YIFEI mdtIdHelper thinks this hit has stationName, stationEta, stationPhi, multilauer, tubeLayer of
02:24:04 ToolSvc.ISF_Fat... INFO YIFEI 1 4 1 2 1 !
02:24:04 ToolSvc.ISF_Fat... INFO YIFEI residual is 372.653 needs to be smaller than 15.075
02:24:04 ToolSvc.ISF_Fat... INFO YIFEI drift radius is 3.74566 needs to be smaller than 15.075
02:24:04 ToolSvc.ISF_Fat... INFO YIFEI mdtIdHelper thinks this hit has stationName, stationEta, stationPhi, multilauer, tubeLayer of
02:24:04 ToolSvc.ISF_Fat... INFO YIFEI 1 4 1 2 1 !
02:24:04 ToolSvc.ISF_Fat... INFO YIFEI residual is 347.39 needs to be smaller than 15.075
02:24:04 ToolSvc.ISF_Fat... INFO YIFEI drift radius is 26.2893 needs to be smaller than 15.075
02:24:04 ToolSvc.ISF_Fat... INFO YIFEI tracking position is currently at r z of 4617.28 2985.47 !
02:24:04 ToolSvc.ISF_Fat... INFO YIFEI mdtIdHelper thinks this hit is in mdt!
02:24:04 ToolSvc.ISF_Fat... INFO YIFEI mdtIdHelper thinks this hit has stationName, stationEta, stationPhi, multilauer, tubeLayer of
02:24:04 ToolSvc.ISF_Fat... INFO YIFEI 1 4 1 2 2 !
02:24:04 ToolSvc.ISF_Fat... INFO YIFEI residual is 360.025 needs to be smaller than 15.075
02:24:04 ToolSvc.ISF_Fat... INFO YIFEI drift radius is 5.45213 needs to be smaller than 15.075
02:24:04 ToolSvc.ISF_Fat... INFO YIFEI mdtIdHelper thinks this hit has stationName, stationEta, stationPhi, multilauer, tubeLayer of
02:24:04 ToolSvc.ISF_Fat... INFO YIFEI 1 4 1 2 2 !
02:24:04 ToolSvc.ISF_Fat... INFO YIFEI residual is 334.762 needs to be smaller than 15.075
02:24:04 ToolSvc.ISF_Fat... INFO YIFEI drift radius is 24.5829 needs to be smaller than 15.075
02:24:04 ToolSvc.ISF_Fat... INFO YIFEI tracking position is currently at r z of 4643.42 3002.19 !
Edited by Yi Fei Han