5 '''@file EGammaPhysValMonitoringConfig.py
8 @brief Main CA-based python configuration for EGammaPhysValMonitoring
11 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
12 from AthenaConfiguration.ComponentFactory
import CompFactory
17 kwargs.setdefault(
"EnableLumi",
False)
18 kwargs.setdefault(
"DetailLevel", 10)
19 kwargs.setdefault(
"isMC", flags.Input.isMC)
21 if "MCTruthClassifier" not in kwargs:
22 from MCTruthClassifier.MCTruthClassifierConfig
import (
23 MCTruthClassifierCaloTruthMatchCfg)
24 kwargs.setdefault(
"MCTruthClassifier", acc.popToolsAndMerge(
27 if flags.Tracking.doLargeD0:
28 kwargs.setdefault(
"LRTElectronContainerName",
"LRTElectrons")
31 from ElectronPhotonSelectorTools.AsgElectronLikelihoodToolsConfig
import AsgElectronLikelihoodToolCfg
32 from ElectronPhotonSelectorTools.ElectronLikelihoodToolMapping
import electronLHmenu
33 from ROOT
import LikeEnum
35 lhMenu = electronLHmenu.offlineMC21
40 name=
"ElectronLHSelectorVeryLooseNoPix",
41 quality=LikeEnum.VeryLooseLLP,
44 ElectronLHSelectorVeryLooseNoPix.primaryVertexContainer =
"PrimaryVertices"
45 kwargs.setdefault(
"ElectronLHSelectorVeryLooseNoPix", ElectronLHSelectorVeryLooseNoPix)
50 name=
"ElectronLHSelectorLooseNoPix",
51 quality=LikeEnum.LooseLLP,
54 ElectronLHSelectorLooseNoPix.primaryVertexContainer =
"PrimaryVertices"
55 kwargs.setdefault(
"ElectronLHSelectorLooseNoPix", ElectronLHSelectorLooseNoPix)
60 name=
"ElectronLHSelectorMediumNoPix",
61 quality=LikeEnum.MediumLLP,
64 ElectronLHSelectorMediumNoPix.primaryVertexContainer =
"PrimaryVertices"
65 kwargs.setdefault(
"ElectronLHSelectorMediumNoPix", ElectronLHSelectorMediumNoPix)
70 name=
"ElectronLHSelectorTightNoPix",
71 quality=LikeEnum.TightLLP,
74 ElectronLHSelectorTightNoPix.primaryVertexContainer =
"PrimaryVertices"
75 kwargs.setdefault(
"ElectronLHSelectorTightNoPix", ElectronLHSelectorTightNoPix)
78 CompFactory.EgammaPhysValMonitoring.EgammaPhysValMonitoringTool(**kwargs))