Skip to content
Snippets Groups Projects
Commit ee1dc3b2 authored by Jennifer Roloff's avatar Jennifer Roloff
Browse files

Merge branch '23.0-migrate-ftf-sequence-to-ca' into '23.0'

23.0 migrate ftf sequence to ca

See merge request !64757
parents ffc28c0b 18063301
No related branches found
No related tags found
2 merge requests!648892023-08-08: daily sweep of 23.0 into main,!6475723.0 migrate ftf sequence to ca
......@@ -53,7 +53,7 @@ def tauTrackBDTRoiUpdaterCfg(flags, inputRoIs, tracks):
@AccumulatorCache
def tauLRTRoiUpdaterCfg(flags, inputRoIs, tracks):
acc = ComponentAccumulator()
newflags = flags.Trigger.InDetTracking.tauLRT
newflags = flags.Tracking.ActiveConfig
alg = CompFactory.TrigTauTrackRoiUpdater("TrackRoiUpdaterLRT",
etaHalfWidth = newflags.etaHalfWidth,
phiHalfWidth = newflags.phiHalfWidth,
......
......@@ -733,7 +733,8 @@ TriggerHLTListRun3 = [
('xAOD::TrackParticleContainer#HLT_IDTrack_TauCore_FTF', 'BS ESD AODFULL', 'Tau', [InViews('tauFastTrackCoreViews')]),
('xAOD::TrackParticleAuxContainer#HLT_IDTrack_TauCore_FTFAux.', 'BS ESD AODFULL', 'Tau'),
('xAOD::TrackParticleContainer#HLT_IDTrack_TauLRT_FTF', 'BS ESD AODFULL', 'Tau', [InViews('TAUFTFLRTViews')]),
('xAOD::TrackParticleContainer#HLT_IDTrack_TauLRT_FTF', 'BS ESD AODFULL', 'Tau', [InViews('tauFastTrackLRTViews')]),
('xAOD::TrackParticleAuxContainer#HLT_IDTrack_TauLRT_FTFAux.', 'BS ESD AODFULL', 'Tau'),
('xAOD::TrackParticleContainer#HLT_IDTrack_TauIso_FTF', 'BS ESD AODFULL', 'Tau', [InViews('FastTauIsoViews'), InViews('TAUFTFIsoBDTViews')]),
......
......@@ -13,10 +13,10 @@ from TriggerMenuMT.HLT.Config.ChainConfigurationBase import ChainConfigurationBa
from AthenaConfiguration.ComponentFactory import isComponentAccumulatorCfg
from ..Config.MenuComponents import menuSequenceCAToGlobalWrapper
from .generateTau import tauCaloMVAMenuSeq, tauFTFTauCoreSeq, tauFTFTauIsoSeq
from .generateTau import tauCaloMVAMenuSeq, tauFTFTauCoreSeq, tauFTFTauIsoSeq, tauFTFTauLRTSeq
if not isComponentAccumulatorCfg():
from .TauMenuSequences import tauFTFTauLRTSeq, tauTrackTwoMVASeq, tauTrackTwoLLPSeq, tauTrackLRTSeq, tauPrecTrackIsoSeq, tauPrecTrackLRTSeq
from .TauMenuSequences import tauTrackTwoMVASeq, tauTrackTwoLLPSeq, tauTrackLRTSeq, tauPrecTrackIsoSeq, tauPrecTrackLRTSeq
#--------------------------------------------------------
# fragments generating config will be functions in new JO
......@@ -34,7 +34,10 @@ def getFTFCoreCfg(flags, is_probe_leg=False):
return menuSequenceCAToGlobalWrapper(tauFTFTauCoreSeq,flags, is_probe_leg=is_probe_leg)
def getFTFLRTCfg(flags, is_probe_leg=False):
return tauFTFTauLRTSeq(flags, is_probe_leg=is_probe_leg)
if isComponentAccumulatorCfg():
return tauFTFTauLRTSeq(flags, is_probe_leg=is_probe_leg)
else:
return menuSequenceCAToGlobalWrapper(tauFTFTauLRTSeq,flags, is_probe_leg=is_probe_leg)
def getFTFIsoCfg(flags, is_probe_leg=False):
if isComponentAccumulatorCfg():
......
......@@ -59,12 +59,19 @@ def _ftfCoreSeq(flags,name,is_probe_leg=False):
newRoITool = CompFactory.ViewCreatorFetchFromViewROITool(
RoisWriteHandleKey = recordable(flags.Tracking.ActiveConfig.roi),
InViewRoIs = 'UpdatedCaloRoI')
InViewRoIs = 'UpdatedCaloRoI')
if 'LRT' in name:
newRoITool.doResize = True
newRoITool.RoIEtaWidth = flags.Tracking.ActiveConfig.etaHalfWidth
newRoITool.RoIPhiWidth = flags.Tracking.ActiveConfig.phiHalfWidth
newRoITool.RoIZedWidth = flags.Tracking.ActiveConfig.zedHalfWidth
from TrigGenericAlgs.TrigGenericAlgsConfig import ROBPrefetchingAlgCfg_Si
from TriggerJobOpts.TriggerConfigFlags import ROBPrefetching
extraPrefetching = ROBPrefetching.TauCoreLargeRoI in flags.Trigger.ROBPrefetchingOptions
extraPrefetching = ROBPrefetching.TauCoreLargeRoI in flags.Trigger.ROBPrefetchingOptions and 'Core' in name
if extraPrefetching:
# Add extra RoI to prefetch ROBs for the subsequent tauIso step together with ROBs for tauCore
prefetchRoIUpdater = CompFactory.RoiUpdaterTool()
......
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