Skip to content
Snippets Groups Projects
Commit bea25013 authored by Eduardo Rodrigues's avatar Eduardo Rodrigues
Browse files

Merge branch 'apearce-tesla-2017-mc' into '2017-patches'

Execute legacy behaviour in Tesla only for legacy data types

See merge request lhcb/DaVinci!198
parents af81f7de b01d0f7f
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