18 kwargs.setdefault(
"DetailLevel", 10)
19 kwargs.setdefault(
"isData",
not flags.Input.isMC)
22 path = ROOT.PathResolver.find_file(
'JetTagDQA/PhysValBtag_VariablesMenu.json',
'DATAPATH' )
23 from PhysValMonitoring.PhysValUtils
import getHistogramDefinitions
27 path_Run = ROOT.PathResolver.find_file( \
28 'JetTagDQA/PhysValBtag_VariablesMenu_Run3.json' if flags.GeoModel.Run <= LHCPeriod.Run3 \
29 else 'JetTagDQA/PhysValBtag_VariablesMenu_Run4.json',
33 kwargs.setdefault(
"HistogramDefinitions", definitions + definitions_Run)
34 kwargs.setdefault(
"JetEtaCut", 2.5
if flags.GeoModel.Run <= LHCPeriod.Run3
else 4.0)
35 kwargs.setdefault(
"JetContainerEMTopo",
"" if flags.GeoModel.Run <= LHCPeriod.Run3
else "AntiKt4EMTopoJets")
37 if "trackTruthOriginTool" not in kwargs:
38 from InDetTrackSystematicsTools.InDetTrackSystematicsToolsConfig
import InDetTrackTruthOriginToolCfg
39 kwargs.setdefault(
"trackTruthOriginTool", acc.popToolsAndMerge(
42 if flags.GeoModel.Run >= LHCPeriod.Run4:
43 kwargs.setdefault(
"dipsTaggerName",
"")
44 kwargs.setdefault(
"DL1dv01TaggerName",
"")
45 kwargs.setdefault(
"GN2v01TaggerName",
"GN2HL")
47 tool = CompFactory.JetTagDQA.PhysValBTag(**kwargs)
48 acc.setPrivateTools(tool)