Skip to content
Snippets Groups Projects
Commit 566b562b authored by Walter Lampl's avatar Walter Lampl
Browse files

Merge branch 'master-HLTJetRemap-copies' into 'master'

Allow legacy HLT jet monitoring to read shallow copies: ATR-22462

See merge request !38805
parents 15ffda52 a7239d8d
No related branches found
No related tags found
No related merge requests found
......@@ -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()
......
......@@ -357,8 +357,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'),
......
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