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",
30 UseR21JvtFallback=
True,
31 JetJvtMomentName=
"NewJvt",
33 kwargs.setdefault(
"METMakerPFlow",
getMETMaker(name=
"METMaker_AntiKt4PFlow",
37 from METUtilities.METMakerConfig
import getMuonSelectionTool, getEleSelLikelihood, getPhotonSelIsEM, getTauSelectionTool
43 from AthenaConfiguration.AutoConfigFlags
import GetFileMD
46 for class_name, name
in metadata[
'metadata_items'].
items():
47 if name ==
'EventStreamInfo':
48 if "DAOD_PHYSVAL" in class_name :
49 print (
"Running on DAOD_PHYSVAL - will not add TTVA decorations.")
52 kwargs.setdefault(
"InputIsDAOD", isDAOD_PHYSVAL)
54 kwargs.setdefault(
"DoMETRefPlots",
"xAOD::MissingETContainer#MET_Reference_AntiKt4EMTopo" in flags.Input.TypedCollections)
56 tool = CompFactory.MissingEtDQA.PhysValMET(**kwargs)
57 acc.setPrivateTools(tool)