From fcccc50226ab42f6629960de0a0dec217f50e53b Mon Sep 17 00:00:00 2001 From: Sean Date: Mon, 12 Sep 2016 14:18:59 +0200 Subject: [PATCH] Make sure DQFlags are ignored for Tesla productions --- Phys/Tesla/python/Tesla/Configuration.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Phys/Tesla/python/Tesla/Configuration.py b/Phys/Tesla/python/Tesla/Configuration.py index afa54d9d..1aff2100 100644 --- a/Phys/Tesla/python/Tesla/Configuration.py +++ b/Phys/Tesla/python/Tesla/Configuration.py @@ -39,6 +39,7 @@ class Tesla(LHCbConfigurableUser): , 'Monitors' : [] # Histogram monitors to run in the job , 'Histogram' : "" # Name of histogram file , 'VetoJuggle' : True # True if raw event removal not required in online mode + , 'IgnoreDQFlags' : True # Pass IgnoreDQFlags to LHCbApp , 'PersistRecoMC' : True # Match persistReco objects to MC , 'ProtoTypesPR' : ["long","down"] # Which protoparticle types are in Turbo++ , 'KillInputHlt2Reps' : False # Kill input Hlt2 reps to save space @@ -82,6 +83,7 @@ class Tesla(LHCbConfigurableUser): , 'Monitors' : 'Histogram monitors to run in the job' , 'Histogram' : 'File name for histogram file' , 'VetoJuggle' : 'Do we want to stop raw bank removal (assume happened further upstream)' + , 'IgnoreDQFlags' : 'Pass IgnoreDQFlags to LHCbApp' , 'PersistRecoMC' : 'Match persistReco objects to MC' , 'ProtoTypesPR' : 'Which protoparticle types are in Turbo++' , 'KillInputHlt2Reps':'Kill input Hlt2 reps to save space' @@ -603,6 +605,11 @@ class Tesla(LHCbConfigurableUser): self._safeSet( LHCbApp(), ['EvtMax','SkipEvents','Simulation', 'DataType' , 'CondDBtag','DDDBtag'] ) self._safeSet( TrackSys(), ['DataType'] ) self._safeSet( TurboConf(), ['DataType'] ) + + # Make sure DQFlags are ignored for Tesla productions + if self.getProp('IgnoreDQFlags'): + if not LHCbApp().isPropertySet( "IgnoreDQFlags" ) : + LHCbApp().setProp( "IgnoreDQFlags", True ) ApplicationMgr().AppName="Tesla, utilising DaVinci" # -- GitLab