diff --git a/Reconstruction/tauRec/python/TauAlgorithmsHolder.py b/Reconstruction/tauRec/python/TauAlgorithmsHolder.py index bd53f55586d935cedfe50180365dda4f5d311df1..68fd84169e394df3dc802a21ebf9a485a5adb694 100644 --- a/Reconstruction/tauRec/python/TauAlgorithmsHolder.py +++ b/Reconstruction/tauRec/python/TauAlgorithmsHolder.py @@ -1023,13 +1023,9 @@ def getTauVertexCorrection(): def getParticleCache(): #If reading from ESD we not create a cache of extrapolations to the calorimeter, so we should signify this by setting the cache key to a null string from RecExConfig.RecFlags import rec - if rec.doESD is True: + if rec.doESD(): ParticleCache = "ParticleCaloExtension" - else : + else: ParticleCache = "" return ParticleCache - - - -