diff --git a/Reconstruction/tauRec/python/TauAlgorithmsHolder.py b/Reconstruction/tauRec/python/TauAlgorithmsHolder.py index 749c9a837514a105841d21e66a21f07ae7f00f2e..4c8da41e0d6d447d8ee21d25033c6fe66798f274 100644 --- a/Reconstruction/tauRec/python/TauAlgorithmsHolder.py +++ b/Reconstruction/tauRec/python/TauAlgorithmsHolder.py @@ -1008,13 +1008,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 - - - -