Skip to content
Snippets Groups Projects
Commit b01d0f7f authored by Alex Pearce's avatar Alex Pearce
Browse files

Execute legacy behaviour only for legacy data types.

parent b3ad14a5
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
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