Skip to content
Snippets Groups Projects
Commit 1cdbf316 authored by Frank Winklmeier's avatar Frank Winklmeier Committed by Jiri Masik
Browse files

TriggerMenuMT: remove redundant AccumulatorCaches

TrigCaloRec+TrigTauHypo: remove redundant AccumulatorCaches

Remove redundant cache decorators since the result of these functions is
already cached at a higher level.
parent 67f5450e
No related branches found
No related tags found
2 merge requests!710942024-05-02: merge of 24.0 into main,!71013TriggerMenuMT: remove redundant AccumulatorCaches
......@@ -304,7 +304,6 @@ def hltTopoClusterMakerCfg(flags, name, clustersKey="HLT_TopoCaloClustersFS",
return acc
@AccumulatorCache
def hltCaloTopoClusterCalibratorCfg(flags, name, clustersin, clustersout, **kwargs):
""" Create the LC calibrator """
from CaloTools.CaloNoiseCondAlgConfig import CaloNoiseCondAlgCfg
......@@ -356,7 +355,7 @@ def prepareFlagsGPUHLT(flags):
# NOTE: "HLT" flag subdomain defaults moved to CaloRecGPUFlags
return
@AccumulatorCache
def hltCaloTopoClusteringCfg(
flags, namePrefix=None,nameSuffix=None, CellsName=None, monitorCells=False, roisKey="UNSPECIFIED",clustersKey=None, doLCFS=False, doTau = False):
if doTau:
......
# Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
# Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
from AthenaConfiguration.ComponentFactory import CompFactory
from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
from AthenaConfiguration.AccumulatorCache import AccumulatorCache
@AccumulatorCache
def tauCaloRoiUpdaterCfg(flags, inputRoIs, clusters):
acc = ComponentAccumulator()
newflags = flags.Trigger.InDetTracking.tauCore
......@@ -19,7 +17,7 @@ def tauCaloRoiUpdaterCfg(flags, inputRoIs, clusters):
acc.addEventAlgo(alg)
return acc
@AccumulatorCache
def tauTrackRoiUpdaterCfg(flags, inputRoIs, tracks):
acc = ComponentAccumulator()
newflags = flags.Trigger.InDetTracking.tauIso
......@@ -35,7 +33,6 @@ def tauTrackRoiUpdaterCfg(flags, inputRoIs, tracks):
return acc
@AccumulatorCache
def tauLRTRoiUpdaterCfg(flags, inputRoIs, tracks):
acc = ComponentAccumulator()
newflags = flags.Tracking.ActiveConfig
......
# Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
# Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
#
from enum import Enum
......@@ -96,7 +96,6 @@ class JetHypoAlgType(Enum):
ROIPRESEL = 2
PASSTHROUGH = 3
@AccumulatorCache
def jetSelectionCfg(flags, jetDefStr, jetsIn, hypoType=JetHypoAlgType.STANDARD):
"""constructs CA with hypo alg given arguments """
# TODO reconsider if this function is really needed
......
#
# Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
# Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
#
""" ComponentAccumulator equivalents for the functions in JetRecoSequences """
......@@ -383,7 +383,6 @@ def StandardJetBuildCfg(flags, clustersKey, **jetRecoDict):
return acc, jetsOut, jetDef
@AccumulatorCache
def StandardJetRecoCfg(flags, clustersKey, **jetRecoDict):
""" Full reconstruction for 'simple' (ungroomed, not reclustered) jets
......@@ -522,7 +521,6 @@ def StandardJetRecoCfg(flags, clustersKey, **jetRecoDict):
return acc, jetsOut, jetDef
@AccumulatorCache
def GroomedJetRecoCfg(flags, clustersKey, **jetRecoDict):
""" Create the groomed jets
......@@ -592,7 +590,6 @@ def GroomedJetRecoCfg(flags, clustersKey, **jetRecoDict):
return acc, jetsOut, groomDef
@AccumulatorCache
def ReclusteredJetRecoCfg(flags, clustersKey, **jetRecoDict):
""" Create the reclustered jets
......
# Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
# Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
from AthenaConfiguration.ComponentFactory import CompFactory
from AthenaConfiguration.AccumulatorCache import AccumulatorCache
......@@ -7,7 +7,7 @@ from TrigEDMConfig.TriggerEDM import recordable
from TrigGenericAlgs.TrigGenericAlgsConfig import TrigEventInfoRecorderAlgCfg
from TrigHLTJetHypo.TrigJetHypoToolConfig import trigJetTLAHypoToolFromDict
@AccumulatorCache
def JetTLASequenceCfg(flags, jetsIn):
## add the InputMaker (event context)
......
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