diff --git a/Trigger/TriggerCommon/TrigEDMConfig/python/ContainerRemapping_Run2Run3.py b/Trigger/TriggerCommon/TrigEDMConfig/python/ContainerRemapping_Run2Run3.py index 4ab7cbc2318c2bc0adb21bb9f2006b164eebc0e3..7ac68c736393783eb9a02b2f00d542f2959c43bd 100644 --- a/Trigger/TriggerCommon/TrigEDMConfig/python/ContainerRemapping_Run2Run3.py +++ b/Trigger/TriggerCommon/TrigEDMConfig/python/ContainerRemapping_Run2Run3.py @@ -24,7 +24,7 @@ HLT_Name_Changes = { ('HLT_AntiKt10LCTopoJets_subjes', 'HLT_xAOD__JetContainer_a10tclcwsubjesFS'), ('HLT_AntiKt10LCTopoJets_nojcalib', 'HLT_xAOD__JetContainer_a10tclcwnojcalibFS'), # Large-R groomed - ('HLT_AntiKt10LCTopoTrimmedPtFrac5SmallR20Jets_jes', 'HLT_xAOD__JetContainer_a10ttclcwjesFS'), + ('HLT_AntiKt10LCTopoTrimmedPtFrac4SmallR20Jets_jes', 'HLT_xAOD__JetContainer_a10ttclcwjesFS'), ], 'xAOD::CaloClusterContainer': @@ -42,6 +42,13 @@ def remapHLTContainerNames(): auxcontainertype = containertype.replace("Container","AuxContainer") if containertype=="xAOD::CaloClusterContainer": auxcontainertype = "xAOD::CaloClusterTrigAuxContainer" + if containertype=="xAOD::JetContainer" and run3name.startswith("HLT"): + isShallow = True + for expr in ["RCJets","Trimmed","SoftDrop","nojcalib"]: + if expr in run3name: + isShallow=False + if isShallow: + auxcontainertype = "xAOD::ShallowAuxContainer" #AddressRemappingSvc.addInputRename(containertype,run3name,run2name) ars = AddressRemappingSvc.getAddressRemappingSvc() diff --git a/Trigger/TriggerCommon/TrigEDMConfig/python/TriggerEDMRun3.py b/Trigger/TriggerCommon/TrigEDMConfig/python/TriggerEDMRun3.py index eea35e3b5fe82d5ae5f84c98d44a9b978b43097d..3ba4805af4a79bf1c6025e9d1ad94d8a55318a84 100644 --- a/Trigger/TriggerCommon/TrigEDMConfig/python/TriggerEDMRun3.py +++ b/Trigger/TriggerCommon/TrigEDMConfig/python/TriggerEDMRun3.py @@ -343,8 +343,8 @@ TriggerHLTListRun3 = [ ('xAOD::JetContainer#HLT_AntiKt10EMPFlowCSSKSoftDropBeta100Zcut10Jets_nojcalib_ftf', 'BS ESD AODFULL', 'Jet'), ('xAOD::JetAuxContainer#HLT_AntiKt10EMPFlowCSSKSoftDropBeta100Zcut10Jets_nojcalib_ftfAux.'+JetVars, 'BS ESD AODFULL', 'Jet'), - ('xAOD::JetContainer#HLT_AntiKt10EMPFlowCSSKSoftDropBeta100Zcut10Jets_jes_ftf', 'BS ESD AODFULL', 'Jet'), - ('xAOD::ShallowAuxContainer#HLT_AntiKt10EMPFlowCSSKSoftDropBeta100Zcut10Jets_jes_ftfAux.'+JetVars, 'BS ESD AODFULL', 'Jet'), + ('xAOD::JetContainer#HLT_AntiKt10EMPFlowCSSKSoftDropBeta100Zcut10Jets_jes_ftf', 'BS ESD AODFULL', 'Jet'), + ('xAOD::JetAuxContainer#HLT_AntiKt10EMPFlowCSSKSoftDropBeta100Zcut10Jets_jes_ftfAux.'+JetVars, 'BS ESD AODFULL', 'Jet'), ('xAOD::JetContainer#HLT_AntiKt4EMPFlowJets_subjesIS_ftf', 'BS ESD AODFULL', 'Jet', 'alias:JetContainerShallowCopy'), ('xAOD::ShallowAuxContainer#HLT_AntiKt4EMPFlowJets_subjesIS_ftfAux.'+JetCopyVars, 'BS ESD AODFULL', 'Jet'),