From b01d0f7f0f1435dd1976c731afbc5fc185b7db6a Mon Sep 17 00:00:00 2001 From: Alex Pearce <alex.pearce@cern.ch> Date: Mon, 30 Apr 2018 11:20:09 +0200 Subject: [PATCH] Execute legacy behaviour only for legacy data types. --- Phys/Tesla/python/Tesla/Configuration.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Phys/Tesla/python/Tesla/Configuration.py b/Phys/Tesla/python/Tesla/Configuration.py index 1eab5bcbf..7f4bc7aaa 100644 --- a/Phys/Tesla/python/Tesla/Configuration.py +++ b/Phys/Tesla/python/Tesla/Configuration.py @@ -1336,7 +1336,7 @@ class Tesla(LHCbConfigurableUser): else: DecodeRawEvent().DataOnDemand=True RecombineRawEvent(Version=self.getProp('SplitRawEventInput')) - if self.getProp('Simulation')==True: + if self.getProp('DataType') in ['2015', '2016'] and self.getProp('Simulation')==True: self._unpackMC() TurboConf().setProp("PersistReco",True) # We don't want the PersistReco reconstruction under -- GitLab