9 """Set up to create the MuonCalibSegment from MuonSegment
12 flags: Job configuration flags
15 #Muon::MdtDriftCircleOnTrackCreator
20 A component accumulator fragment containing the components required to read
21 from Muon calibration stream bytestream data. Should be merged into main job configuration.
26 from MuonConfig.MuonGeometryConfig
import MuonIdHelperSvcCfg
27 from MuonConfig.MuonRecToolsConfig
import MuonEDMHelperSvcCfg
28 from MuonConfig.MuonCalibrationConfig
import MdtCalibrationToolCfg, MdtCalibrationDbToolCfg
33 muonSegmentToCalibSegment = CompFactory.MuonCalib.MuonSegmentToCalibSegment(**kwargs, CalibrationTool=result.popToolsAndMerge(
MdtCalibrationToolCfg(configFlags, TimeWindowSetting = 2)))
35 result.addEventAlgo(muonSegmentToCalibSegment)