Skip to content
Snippets Groups Projects
Commit c6959b0e authored by Adam Edward Barton's avatar Adam Edward Barton :speech_balloon:
Browse files

Merge branch 'master-VR-track-validation' into 'master'

Add VR track jets to jet validation framework

See merge request atlas/athena!45390
parents edb0215a 247122d1
No related branches found
No related tags found
No related merge requests found
...@@ -164,6 +164,13 @@ compactSpecification = { ...@@ -164,6 +164,13 @@ compactSpecification = {
#RG and ZG #RG and ZG
"rg": (("rg; rg;",29,-1.2,1.7), ("rg", "float") ), "rg": (("rg; rg;",29,-1.2,1.7), ("rg", "float") ),
"zg": (("zg; zg;",19,-1.2,0.7), ("zg", "float") ), "zg": (("zg; zg;",19,-1.2,0.7), ("zg", "float") ),
#Variables for track jets
"HadronConeExclTruthLabelID": (("HadronConeExclTruthLabelID; HadronConeExclTruthLabelID;", 150, -100.5, 49.5), ("HadronConeExclTruthLabelID", "int") ),
"HadronConeExclExtendedTruthLabelID": (("HadronConeExclExtendedTruthLabelID; HadronConeExclExtendedTruthLabelID; ;", 150, -100.5, 49.5), ("HadronConeExclExtendedTruthLabelID", "int")),
"HadronGhostTruthLabelID": (("HadronGhostTruthLabelID; HadronGhostTruthLabelID;", 150, -100.5, 49.5), ("HadronGhostTruthLabelID", "int")),
"HadronGhostExtendedTruthLabelID": (("HadronGhostExtendedTruthLabelID; HadronGhostExtendedTruthLabelID;", 150, -100.5, 49.5), ("HadronGhostExtendedTruthLabelID", "int")),
# 2D Histo format is # 2D Histo format is
# "histoname" : ( binning, attributeInfo1, attributeInfo2 ) # "histoname" : ( binning, attributeInfo1, attributeInfo2 )
# where # where
......
...@@ -48,7 +48,6 @@ def commonPhysValTool(container, refcontainer="", onlyKinematics = False, global ...@@ -48,7 +48,6 @@ def commonPhysValTool(container, refcontainer="", onlyKinematics = False, global
selectionAndHistos( "leadingjet" , [ "basickinematics", ] ), selectionAndHistos( "leadingjet" , [ "basickinematics", ] ),
selectionAndHistos( "subleadingjet" , [ "basickinematics"] ), selectionAndHistos( "subleadingjet" , [ "basickinematics"] ),
selectionAndHistos("40000<pt<50000",["pt"]), selectionAndHistos("40000<pt<50000",["pt"]),
jhm.Width,
# distances between 2 leading jets. # distances between 2 leading jets.
jhm.leadingjetrel, jhm.leadingjetrel,
...@@ -56,7 +55,9 @@ def commonPhysValTool(container, refcontainer="", onlyKinematics = False, global ...@@ -56,7 +55,9 @@ def commonPhysValTool(container, refcontainer="", onlyKinematics = False, global
if ( ("Topo" in container or "PFlow" in container) and "Trimmed" not in container) and "SoftDrop" not in container: if ( ("Topo" in container or "PFlow" in container) and "Trimmed" not in container) and "SoftDrop" not in container:
filler.HistoTools += [ filler.HistoTools += [
jhm.Width,
# jet states # jet states
jhm.basickinematics_emscale, jhm.basickinematics_emscale,
#track variables #track variables
...@@ -181,6 +182,14 @@ def commonPhysValTool(container, refcontainer="", onlyKinematics = False, global ...@@ -181,6 +182,14 @@ def commonPhysValTool(container, refcontainer="", onlyKinematics = False, global
jhm.Charge, jhm.Charge,
] ]
if 'PV0Track' in container:
filler.HistoTools += [
jhm.HadronConeExclTruthLabelID,
jhm.HadronConeExclExtendedTruthLabelID,
jhm.HadronGhostTruthLabelID,
jhm.HadronGhostExtendedTruthLabelID,
]
#filler.OutputLevel =2 #filler.OutputLevel =2
return containerfiller return containerfiller
...@@ -197,17 +206,13 @@ globalSelection = "" ...@@ -197,17 +206,13 @@ globalSelection = ""
athenaMonTool = JetMonitoringTool(HistoTools = [ athenaMonTool = JetMonitoringTool(HistoTools = [
commonPhysValTool( "AntiKt4LCTopoJets", akt4refContainer ,globalSelection = globalSelection), commonPhysValTool( "AntiKt4LCTopoJets", akt4refContainer ,globalSelection = globalSelection),
commonPhysValTool( "AntiKt4EMTopoJets", akt4refContainer ,globalSelection = globalSelection), commonPhysValTool( "AntiKt4EMTopoJets", akt4refContainer ,globalSelection = globalSelection),
# the containers that are commented out are kept so as to make it possible to swicth them on in the future if needed commonPhysValTool( "AntiKt4EMPFlowJets", akt4refContainer ,globalSelection = globalSelection ),
#commonPhysValTool( "AntiKt10LCTopoJets" ), commonPhysValTool( "AntiKt4TruthJets" ),
commonPhysValTool( "AntiKt10LCTopoTrimmedPtFrac5SmallR20Jets" ), commonPhysValTool( "AntiKt10LCTopoTrimmedPtFrac5SmallR20Jets" ),
commonPhysValTool( "AntiKt10UFOCSSKSoftDropBeta100Zcut10Jets" ), commonPhysValTool( "AntiKt10UFOCSSKSoftDropBeta100Zcut10Jets" ),
commonPhysValTool( "AntiKt10TruthSoftDropBeta100Zcut10Jets" ),
#commonPhysValTool( "AntiKt10PV0TracksJets" ),
#commonPhysValTool( "AntiKt10TruthJets" ),
commonPhysValTool( "AntiKt10TruthTrimmedPtFrac5SmallR20Jets" ), commonPhysValTool( "AntiKt10TruthTrimmedPtFrac5SmallR20Jets" ),
commonPhysValTool( "AntiKt4EMPFlowJets" ), commonPhysValTool( "AntiKt10TruthSoftDropBeta100Zcut10Jets" ),
commonPhysValTool( "AntiKt4TruthJets" ), commonPhysValTool( "AntiKtVR30Rmax4Rmin02PV0TrackJets"),
#commonPhysValTool( "AntiKt10TruthWZJets" ),
], IntervalType=8) # 8 == HistoGroupBase::all ], IntervalType=8) # 8 == HistoGroupBase::all
...@@ -215,11 +220,10 @@ if not isMC: ...@@ -215,11 +220,10 @@ if not isMC:
athenaMonTool = JetMonitoringTool(HistoTools = [ athenaMonTool = JetMonitoringTool(HistoTools = [
commonPhysValTool( "AntiKt4LCTopoJets", akt4refContainer ,globalSelection = globalSelection), commonPhysValTool( "AntiKt4LCTopoJets", akt4refContainer ,globalSelection = globalSelection),
commonPhysValTool( "AntiKt4EMTopoJets", akt4refContainer ,globalSelection = globalSelection), commonPhysValTool( "AntiKt4EMTopoJets", akt4refContainer ,globalSelection = globalSelection),
# the containers that are commented out are kept so as to make it possible to swicth them on in the future if needed
commonPhysValTool( "AntiKt10LCTopoJets" ),
commonPhysValTool( "AntiKt10LCTopoTrimmedPtFrac5SmallR20Jets" ),
# commonPhysValTool( "AntiKt2PV0TrackJets" ),
commonPhysValTool( "AntiKt4EMPFlowJets" ), commonPhysValTool( "AntiKt4EMPFlowJets" ),
commonPhysValTool( "AntiKt10LCTopoTrimmedPtFrac5SmallR20Jets" ),
commonPhysValTool( "AntiKt10UFOCSSKSoftDropBeta100Zcut10Jets" ),
commonPhysValTool( "AntiKtVR30Rmax4Rmin02PV0TrackJets"),
], IntervalType=8) # 8 == HistoGroupBase::all ], IntervalType=8) # 8 == HistoGroupBase::all
#ToolSvc += athenaMonTool #ToolSvc += athenaMonTool
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment