5 '''@file MuonPhysValConfig.py
8 @brief Main CA-based python configuration for MuonPhysValMonitoring
11 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
12 from AthenaConfiguration.ComponentFactory
import CompFactory
17 kwargs.setdefault(
"IsData",
not flags.Input.isMC)
18 kwargs.setdefault(
"SlowMuonContainerName",
"")
20 kwargs.setdefault(
"SelectMuonWorkingPoints", [0, 1, 2])
21 kwargs.setdefault(
"SelectMuonAuthors", [1, 2 , 4, 5, 6, 8, 10])
22 selectMuonCat = [0, 1]
23 if not flags.Input.isMC:
24 selectMuonCat = [0, 1, 4]
25 kwargs.setdefault(
"SelectMuonCategories", selectMuonCat)
26 from IsolationSelection.IsolationSelectionConfig
import MuonPhysValIsolationSelCfg
28 from InDetConfig.InDetTrackSelectorToolConfig
import MuonCombinedInDetDetailedTrackSelectorToolCfg
30 from MuonSelectorTools.MuonSelectorToolsConfig
import MuonSelectionToolCfg
32 from MuonConfig.MuonRecToolsConfig
import MuonEDMPrinterToolCfg
34 kwargs.setdefault(
"MuonPrinter", CompFactory.Rec.MuonPrintingTool(MuonStationPrinter=edmprinter))
35 kwargs.setdefault(
"EnableLumi",
False)
37 kwargs.setdefault(
"OutputLevel", WARNING)
38 kwargs.setdefault(
"DetailLevel", 10)
40 acc.setPrivateTools(CompFactory.MuonPhysValMonitoring.MuonPhysValMonitoringTool(name, **kwargs))
47 selectHLTMuonItems = [
48 [
"HLT_mu20",
"L1_MU20"],
49 [
"HLT_mu20_iloose_L1MU15",
"L1_MU15"],
50 [
"HLT_mu24",
"L1_MU20"],
51 [
"HLT_mu24_iloose_L1MU15",
"L1_MU15"],
52 [
"HLT_mu24_imedium",
"L1_MU20"],
53 [
"HLT_mu26",
"L1_MU20"],
54 [
"HLT_mu26_imedium",
"L1_MU20"],
55 [
"HLT_mu50",
"L1_MU20"]
67 kwargs.setdefault(
"SelectHLTMuonItems", selectHLTMuonItems)
68 kwargs.setdefault(
"SelectL1MuonItems", selectL1MuonItems)
69 from TrigDecisionTool.TrigDecisionToolConfig
import TrigDecisionToolCfg
72 acc.setPrivateTools(acc.popToolsAndMerge(
78 kwargs.setdefault(
"MuonContainerName",
"MuonsLRT")