From d9e04d722ff28af9d167819beac4baac54e849a6 Mon Sep 17 00:00:00 2001 From: Jackson Burzynski Date: Thu, 3 Feb 2022 09:04:56 -0800 Subject: [PATCH 1/3] Set useLargeD0Tracks to False by default to avoid issues when no LRT tracks are present --- Reconstruction/Jet/JetRec/python/JetRecFlags.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Reconstruction/Jet/JetRec/python/JetRecFlags.py b/Reconstruction/Jet/JetRec/python/JetRecFlags.py index d8032b11d59..d90b33710bb 100644 --- a/Reconstruction/Jet/JetRec/python/JetRecFlags.py +++ b/Reconstruction/Jet/JetRec/python/JetRecFlags.py @@ -94,7 +94,7 @@ class useLargeD0Tracks(JobProperty): """ statusOn = True allowedTypes = ['bool'] # type - StoredValue = True # default value changed to False for Test by RL + StoredValue = False # default value changed to False for Test by RL class useVertices(JobProperty): """ If true, vertices are present and used in pflow jet reconstruction. -- GitLab From dcd886d37e65f96d67272f57408b40991a225e9e Mon Sep 17 00:00:00 2001 From: Jackson Burzynski Date: Sat, 5 Feb 2022 10:56:44 -0800 Subject: [PATCH 2/3] turn back on LRT ghosts but add protection for when LRT is disabled --- Reconstruction/Jet/JetRec/python/JetRecFlags.py | 2 +- .../Jet/JetRec/python/JetRecStandardToolManager.py | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Reconstruction/Jet/JetRec/python/JetRecFlags.py b/Reconstruction/Jet/JetRec/python/JetRecFlags.py index d90b33710bb..d66387ab860 100644 --- a/Reconstruction/Jet/JetRec/python/JetRecFlags.py +++ b/Reconstruction/Jet/JetRec/python/JetRecFlags.py @@ -94,7 +94,7 @@ class useLargeD0Tracks(JobProperty): """ statusOn = True allowedTypes = ['bool'] # type - StoredValue = False # default value changed to False for Test by RL + StoredValue = True # default value changed to False for Test by RL class useVertices(JobProperty): """ If true, vertices are present and used in pflow jet reconstruction. diff --git a/Reconstruction/Jet/JetRec/python/JetRecStandardToolManager.py b/Reconstruction/Jet/JetRec/python/JetRecStandardToolManager.py index a38ba4226a1..4232793b1ef 100644 --- a/Reconstruction/Jet/JetRec/python/JetRecStandardToolManager.py +++ b/Reconstruction/Jet/JetRec/python/JetRecStandardToolManager.py @@ -33,6 +33,11 @@ jetFlags.usePFlow.set_On() jetFlags.useMuonSegments.set_On() jetFlags.useBTagging.set_On() +from InDetRecExample.InDetJobProperties import InDetFlags +if not InDetFlags.doR3LargeD0(): + jetFlags.useLargeD0Tracks.set_Off() + + # Lock all the flags used here so that later attempts to change # the value will fail with an error message. jetFlags.useTruth.lock() -- GitLab From 4eab049f361500a224bf19bb7c59830e83628969 Mon Sep 17 00:00:00 2001 From: Jackson Carl Burzynski Date: Mon, 7 Feb 2022 16:54:57 +0100 Subject: [PATCH 3/3] remove spuriously added extra space --- Reconstruction/Jet/JetRec/python/JetRecFlags.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Reconstruction/Jet/JetRec/python/JetRecFlags.py b/Reconstruction/Jet/JetRec/python/JetRecFlags.py index d66387ab860..d8032b11d59 100644 --- a/Reconstruction/Jet/JetRec/python/JetRecFlags.py +++ b/Reconstruction/Jet/JetRec/python/JetRecFlags.py @@ -94,7 +94,7 @@ class useLargeD0Tracks(JobProperty): """ statusOn = True allowedTypes = ['bool'] # type - StoredValue = True # default value changed to False for Test by RL + StoredValue = True # default value changed to False for Test by RL class useVertices(JobProperty): """ If true, vertices are present and used in pflow jet reconstruction. -- GitLab