Exemplo n.º 1
0
    def __init__(self, name="TrigMuonEFMSTrackIsolationConfig"):
        super(TrigMuonEFMSTrackIsolationConfig, self).__init__(name)

        # configure the isolation tool
        TMEF_IsolationTool = TMEF_TrackIsolationTool('TMEF_IsolationTool',
                                                     useVarIso=False)

        # Isolation tool
        self.IsolationTool = TMEF_IsolationTool

        # ID tracks
        self.IdTrackParticles = "InDetTrigTrackingxAODCnv_Muon_IDTrig"

        # Only run algo on combined muons
        self.requireCombinedMuon = False

        # Use offline isolation variables
        self.useVarIso = False

        # histograms
        self.histoPathBase = ""
        validation_trkiso = TrigMuonEFMonitoring.TrigMuonEFTrackIsolationValidationMonitoring(
        )
        online_trkiso = TrigMuonEFMonitoring.TrigMuonEFTrackIsolationOnlineMonitoring(
        )

        self.AthenaMonTools = [validation_trkiso, online_trkiso]
Exemplo n.º 2
0
def InDetTrkRoiMaker_Muon(name="InDetTrkRoiMaker_Muon", **kwargs):
    kwargs.setdefault("FullScanMode", "HybridScan")
    kwargs.setdefault("SeedsIDalgo", "FTF")
    kwargs.setdefault("SeedsEtaMax", 2.5)
    kwargs.setdefault("SeedsPtMin", 2.0)  # GeV
    kwargs.setdefault("FullEtaRange", 3.0)  # MS goes up to 2.7
    kwargs.setdefault("AthenaMonTools", [
        TrigMuonEFMonitoring.InDetTrkRoiMakerMonitoring("Monitoring"),
        TrigMuonEFMonitoring.InDetTrkRoiMakerValidationMonitoring(
            "MonitoringVal"),
        TrigTimeHistToolConfig("Time")
    ])

    return CfgMgr.InDetTrkRoiMaker(name, **kwargs)
Exemplo n.º 3
0
    def __init__(self, name="TrigMuonEFCaloIsolationConfig"):
        super(TrigMuonEFCaloIsolationConfig, self).__init__(name)

        self.RequireCombinedMuon = True
        self.applyPileupCorrection = False

        CaloTopoIsolationTool = PublicToolFactory(
            xAOD__CaloIsolationTool,
            name="CaloTopoClusterIsolationTool",
            doEnergyDensityCorrection=self.applyPileupCorrection,
            saveOnlyRequestedCorrections=True,
            IsoLeakCorrectionTool=IsoCorrectionTool,
            ClustersInConeTool=CaloClustersInConeTool,
            CaloFillRectangularClusterTool=TrigCaloFillRectangularCluster,
            UseEMScale=True)

        self.CaloTopoClusterIsolationTool = CaloTopoIsolationTool()

        # histograms
        self.HistoPathBase = ""
        validation_caloiso = TrigMuonEFMonitoring.TrigMuonEFCaloIsolationValidationMonitoring(
        )
        #online_caloiso     = TrigMuonEFMonitoring.TrigMuonEFCaloIsolationOnlineMonitoring()
        #monitoring_caloiso = TrigMuonEFMonitoring.TrigMuonEFCaloIsolationMonitoring()

        self.AthenaMonTools = [validation_caloiso]
Exemplo n.º 4
0
    def __init__(self, name="TrigMuonEFIDTrackRoiMaker", **kwargs):
        super(TrigMuonEFIDTrackRoiMakerConfig, self).__init__(name)

        # use 12mm z-width for all chains
        self.Z0Width = 12.0 * mm

        montool = TrigMuonEFMonitoring.TrigMuonEFIDTrackRoiMakerMonitoring()

        self.AthenaMonTools = [montool]
Exemplo n.º 5
0
    def __init__(self, name="TrigMuonEFFSRoiMaker", **kwargs):
        super(TrigMuonEFFSRoiMakerConfig, self).__init__(name)

        self.MuonPtCut = 0.0
        self.OutputContName = "MuonEFInfo"
        self.CreateFSRoI = False

        montool = TrigMuonEFMonitoring.TrigMuonEFFSRoiMakerMonitoring()

        self.AthenaMonTools = [montool]
Exemplo n.º 6
0
    def __init__(self, name="TrigMuonEFTrackIsolationVarConfig"):
        super(TrigMuonEFTrackIsolationVarConfig, self).__init__(name)

        # configure the isolation tool
        trkseltoolname = 'TMEF_VarIsolationTool'
        if 'LooseTSel' in name:
            trkseltoolname = trkseltoolname + 'LooseTSel'
        elif 'TightTSel' in name:
            trkseltoolname = trkseltoolname + 'TightTSel'

        TMEF_VarIsolationTool = TMEF_TrackIsolationTool(trkseltoolname,
                                                        useVarIso=True)

        # Isolation tool
        self.IsolationTool = TMEF_VarIsolationTool

        # ID tracks
        self.IdTrackParticles = "InDetTrigTrackingxAODCnv_Muon_IDTrig"

        # Only run algo on combined muons
        self.requireCombinedMuon = True

        # Use offline isolation variables
        self.useVarIso = True

        # histograms
        self.histoPathBase = ""
        validation_trkiso = TrigMuonEFMonitoring.TrigMuonEFTrackIsolationValidationMonitoring(
        )
        online_trkiso = TrigMuonEFMonitoring.TrigMuonEFTrackIsolationOnlineMonitoring(
        )

        # timing
        self.doMyTiming = True
        timetool = TrigTimeHistToolConfig("Time")
        timetool.NumberOfHistBins = 100
        timetool.TimerHistLimits = [0, 1000]

        self.AthenaMonTools = [validation_trkiso, online_trkiso, timetool]
Exemplo n.º 7
0
    def __init__(self, name="TrigMuonEFFSRoiMakerUnseeded", **kwargs):
        super(TrigMuonEFFSRoiMakerUnseededConfig, self).__init__(name)

        self.MuonPtCut = 0.0
        self.OutputContName = "MuonEFInfo"
        self.CreateCrackRoI = True

        kwargs.setdefault("RoISizeEta", 0.1)
        kwargs.setdefault("RoISizePhi", 3.14159)
        kwargs.setdefault("RoILabel", "forID")

        self.RoISizeEta = kwargs["RoISizeEta"]
        self.RoISizePhi = kwargs["RoISizePhi"]
        self.RoILabel = kwargs["RoILabel"]

        montool = TrigMuonEFMonitoring.TrigMuonEFFSRoiMakerMonitoring()

        self.AthenaMonTools = [montool]
Exemplo n.º 8
0
    def __init__(self, name="TrigMuonEFFSRoiMakerCaloTag", **kwargs):
        super(TrigMuonEFFSRoiMakerCaloTagConfig, self).__init__(name)

        self.MuonPtCut = 0.0
        self.OutputContName = "MuonEFInfo"
        self.InvertRoI = True
        self.UseFSRoI = False

        kwargs.setdefault("RoISizeEta", 3.0)
        kwargs.setdefault("RoISizePhi", 1.5)
        kwargs.setdefault("RoILabel", "forID")

        self.RoISizeEta = kwargs["RoISizeEta"]
        self.RoISizePhi = kwargs["RoISizePhi"]

        self.RoILabel = kwargs["RoILabel"]

        montool = TrigMuonEFMonitoring.TrigMuonEFFSRoiMakerMonitoring()

        self.AthenaMonTools = [montool]