From b1fd97e56fc140ea84b24f16d380d2ce32f21038 Mon Sep 17 00:00:00 2001 From: christos <christos@cern.ch> Date: Fri, 14 Aug 2020 13:40:19 +0100 Subject: [PATCH] Trigger seems to do vertex building but no conversions --- .../egamma/egammaRec/python/egammaRecFlags.py | 11 +++++++++-- .../egamma/egammaRec/share/egammaRec_jobOptions.py | 8 ++++---- 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/Reconstruction/egamma/egammaRec/python/egammaRecFlags.py b/Reconstruction/egamma/egammaRec/python/egammaRecFlags.py index 4667e9465606..0f038a4bfd95 100755 --- a/Reconstruction/egamma/egammaRec/python/egammaRecFlags.py +++ b/Reconstruction/egamma/egammaRec/python/egammaRecFlags.py @@ -59,8 +59,15 @@ class doBremFinding (egammaRecFlagsJobProperty): allowedTypes = ['bool'] StoredValue = True -# Other options +class doVertexBuilding (egammaRecFlagsJobProperty): + """ switch for whether to do the conversion vertex building + """ + statusOn = True + allowedTypes = ['bool'] + StoredValue = True + +# Other options class doEgammaTruthAssociation (JobProperty): """ switch for truth association alg @@ -144,7 +151,7 @@ jobproperties.add_Container(egammaRecFlags) # I want always the following flags in the container _list_Egamma = [Enabled, doEgammaCaloSeeded, doEgammaForwardSeeded, - doBremFinding, doConversions, + doBremFinding, doVertexBuilding, doConversions, cellContainerName, doEgammaTruthAssociation, clusterCorrectionVersion, calibMVAVersion, doSuperclusters, inputTopoClusterCollection, egammaTopoClusterCollection] diff --git a/Reconstruction/egamma/egammaRec/share/egammaRec_jobOptions.py b/Reconstruction/egamma/egammaRec/share/egammaRec_jobOptions.py index d7edb912d256..f18ba76449ef 100755 --- a/Reconstruction/egamma/egammaRec/share/egammaRec_jobOptions.py +++ b/Reconstruction/egamma/egammaRec/share/egammaRec_jobOptions.py @@ -18,13 +18,13 @@ if not rec.doTruth(): # GSF and vertex building need the inner detector if not DetFlags.detdescr.ID_on(): jobproperties.egammaRecFlags.doBremFinding = False - jobproperties.egammaRecFlags.doConversions = False + jobproperties.egammaRecFlags.doVertexBuilding = False # We can not run without having the Calo if not (rec.readESD() or jobproperties.CaloRecFlags.doCaloTopoCluster()): jobproperties.egammaRecFlags.doEgammaCaloSeeded = False jobproperties.egammaRecFlags.doEgammaForwardSeeded = False - + # Function to schedule the GSF @@ -68,7 +68,7 @@ def setupVertices(): treatException( "Could not set up the conversion vertex building." "Switch vertex building off !") - jobproperties.egammaRecFlags.doConversions = False + jobproperties.egammaRecFlags.doVertexBuilding = False # Function to schedule the Topo cluster based egamma @@ -115,7 +115,7 @@ def setupTruthAssociation(): if jobproperties.egammaRecFlags.doBremFinding(): setupGSF() -if jobproperties.egammaRecFlags.doConversions(): +if jobproperties.egammaRecFlags.doVertexBuilding(): setupVertices() if jobproperties.egammaRecFlags.doEgammaCaloSeeded(): -- GitLab