5 '''@file MissingEtDAQConfig.py
8 @brief Main CA-based python configuration for MissingEtDQA
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(
"DoTruth", flags.Input.isMC)
21 kwargs.setdefault(
"JVTToolEMTopo", CompFactory.JetVertexTaggerTool(name=
"JVTToolEMTopo",
22 JetContainer=
"AntiKt4EMTopoJets") )
23 kwargs.setdefault(
"JVTToolEMPFlow", CompFactory.JetVertexTaggerTool(name=
"JVTToolPFlow",
24 JetContainer=
"AntiKt4EMPFlowJets") )
26 from METUtilities.METMakerConfig
import getMETMaker
28 kwargs.setdefault(
"METMakerTopo",
getMETMaker(name=
"METMaker_AntiKt4Topo",
31 kwargs.setdefault(
"METMakerPFlow",
getMETMaker(name=
"METMaker_AntiKt4PFlow",
35 from METUtilities.METMakerConfig
import getMuonSelectionTool, getEleSelLikelihood, getPhotonSelIsEM, getTauSelectionTool
41 from AthenaConfiguration.AutoConfigFlags
import GetFileMD
44 for class_name, name
in metadata[
'metadata_items'].
items():
45 if name ==
'EventStreamInfo':
46 if "DAOD_PHYSVAL" in class_name :
47 print (
"Running on DAOD_PHYSVAL - will not add TTVA decorations.")
50 kwargs.setdefault(
"InputIsDAOD", isDAOD_PHYSVAL)
52 kwargs.setdefault(
"DoMETRefPlots",
"xAOD::MissingETContainer#MET_Reference_AntiKt4EMTopo" in flags.Input.TypedCollections)
54 tool = CompFactory.MissingEtDQA.PhysValMET(**kwargs)
55 acc.setPrivateTools(tool)