Skip to content
Snippets Groups Projects
Commit b1fd97e5 authored by Christos Anastopoulos's avatar Christos Anastopoulos
Browse files

Trigger seems to do vertex building but no conversions

parent af0f5c99
6 merge requests!58791DataQualityConfigurations: Modify L1Calo config for web display,!46784MuonCondInterface: Enable thread-safety checking.,!46776Updated LArMonitoring config file for WD to match new files produced using MT,!45405updated ART test cron job,!42417Draft: DIRE and VINCIA Base Fragments for Pythia 8.3,!35612ATR-21896 : Add back vertex building even when no conversions
...@@ -59,8 +59,15 @@ class doBremFinding (egammaRecFlagsJobProperty): ...@@ -59,8 +59,15 @@ class doBremFinding (egammaRecFlagsJobProperty):
allowedTypes = ['bool'] allowedTypes = ['bool']
StoredValue = True 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): class doEgammaTruthAssociation (JobProperty):
""" switch for truth association alg """ switch for truth association alg
...@@ -144,7 +151,7 @@ jobproperties.add_Container(egammaRecFlags) ...@@ -144,7 +151,7 @@ jobproperties.add_Container(egammaRecFlags)
# I want always the following flags in the container # I want always the following flags in the container
_list_Egamma = [Enabled, doEgammaCaloSeeded, doEgammaForwardSeeded, _list_Egamma = [Enabled, doEgammaCaloSeeded, doEgammaForwardSeeded,
doBremFinding, doConversions, doBremFinding, doVertexBuilding, doConversions,
cellContainerName, doEgammaTruthAssociation, cellContainerName, doEgammaTruthAssociation,
clusterCorrectionVersion, calibMVAVersion, doSuperclusters, clusterCorrectionVersion, calibMVAVersion, doSuperclusters,
inputTopoClusterCollection, egammaTopoClusterCollection] inputTopoClusterCollection, egammaTopoClusterCollection]
......
...@@ -18,13 +18,13 @@ if not rec.doTruth(): ...@@ -18,13 +18,13 @@ if not rec.doTruth():
# GSF and vertex building need the inner detector # GSF and vertex building need the inner detector
if not DetFlags.detdescr.ID_on(): if not DetFlags.detdescr.ID_on():
jobproperties.egammaRecFlags.doBremFinding = False jobproperties.egammaRecFlags.doBremFinding = False
jobproperties.egammaRecFlags.doConversions = False jobproperties.egammaRecFlags.doVertexBuilding = False
# We can not run without having the Calo # We can not run without having the Calo
if not (rec.readESD() or jobproperties.CaloRecFlags.doCaloTopoCluster()): if not (rec.readESD() or jobproperties.CaloRecFlags.doCaloTopoCluster()):
jobproperties.egammaRecFlags.doEgammaCaloSeeded = False jobproperties.egammaRecFlags.doEgammaCaloSeeded = False
jobproperties.egammaRecFlags.doEgammaForwardSeeded = False jobproperties.egammaRecFlags.doEgammaForwardSeeded = False
# Function to schedule the GSF # Function to schedule the GSF
...@@ -68,7 +68,7 @@ def setupVertices(): ...@@ -68,7 +68,7 @@ def setupVertices():
treatException( treatException(
"Could not set up the conversion vertex building." "Could not set up the conversion vertex building."
"Switch vertex building off !") "Switch vertex building off !")
jobproperties.egammaRecFlags.doConversions = False jobproperties.egammaRecFlags.doVertexBuilding = False
# Function to schedule the Topo cluster based egamma # Function to schedule the Topo cluster based egamma
...@@ -115,7 +115,7 @@ def setupTruthAssociation(): ...@@ -115,7 +115,7 @@ def setupTruthAssociation():
if jobproperties.egammaRecFlags.doBremFinding(): if jobproperties.egammaRecFlags.doBremFinding():
setupGSF() setupGSF()
if jobproperties.egammaRecFlags.doConversions(): if jobproperties.egammaRecFlags.doVertexBuilding():
setupVertices() setupVertices()
if jobproperties.egammaRecFlags.doEgammaCaloSeeded(): if jobproperties.egammaRecFlags.doEgammaCaloSeeded():
......
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