Esempio n. 1
0
def TMEF_iPatFitter(name='TMEF_iPatFitter', **kwargs):
    kwargs.setdefault("AggregateMaterial", True)
    kwargs.setdefault("FullCombinedFit", True)
    if not TriggerFlags.run2Config == '2016':
        kwargs.setdefault("MaxIterations", 15)
    kwargs.setdefault("MaterialAllocator", "TMEF_MaterialAllocator")
    from InDetRecExample import TrackingCommon
    kwargs.setdefault("SolenoidalIntersector",
                      TrackingCommon.getSolenoidalIntersector())
    kwargs.setdefault("TrackSummaryTool", 'TMEF_TrackSummaryTool')
    return CfgMgr.Trk__iPatFitter(name, **kwargs)
Esempio n. 2
0
def iPatFitter( name='iPatFitter', **kwargs): 
    kwargs.setdefault("AggregateMaterial",True)
    kwargs.setdefault("FullCombinedFit", True )
    kwargs.setdefault("MaterialAllocator",getPublicTool("MuidMaterialAllocator"))
    from InDetRecExample import TrackingCommon
    kwargs.setdefault("SolenoidalIntersector",TrackingCommon.getSolenoidalIntersector())
    if TriggerFlags.MuonSlice.doTrigMuonConfig:
        kwargs.setdefault("MaxIterations", 15)
    else:
        import MuonCombinedRecExample.CombinedMuonTrackSummary
        from AthenaCommon.AppMgr import ToolSvc
        kwargs.setdefault("TrackSummaryTool", ToolSvc.CombinedMuonTrackSummary)

    return CfgMgr.Trk__iPatFitter(name,**kwargs)