Skip to content
Snippets Groups Projects

TriggerMenuMT: remove caching of MenuSequenceCA

Closed Frank Winklmeier requested to merge fwinkl/athena:trig_unmergedca into 23.0
1 unresolved thread
3 files
+ 10
2
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -564,6 +564,14 @@ class MenuSequenceCA(MenuSequence):
hypoAlg = hypoAlg[0]
MenuSequence.__init__(self, flags, self.ca.topSequence(), inputMaker, hypoAlg, HypoToolGen, IsProbe=isProbe)
# Prevent (deep)copy as this creates unmerged CAs. To fix this one would have to handle
# the contained CAs (i.e. self.ca) properly on copy.
def __deepcopy__(self, memo):
raise RuntimeError("Deepcopy (or AccumulatorCache) of MenuSequenceCA is not allowed.")
def __copy__(self):
raise RuntimeError("Copy (or AccumulatorCache) of MenuSequenceCA is not allowed.")
@property
def sequence(self):
makerAlg = self.ca.getEventAlgo(self._maker.Alg.getName())
Loading