diff --git a/Reconstruction/Jet/JetRec/python/JetRecFlags.py b/Reconstruction/Jet/JetRec/python/JetRecFlags.py index c1f38b35eebd5ea18c62463235df4780a0edb4c7..f37be4ac2ef5fc6cb847b5a4a92151e04b6b96f6 100644 --- a/Reconstruction/Jet/JetRec/python/JetRecFlags.py +++ b/Reconstruction/Jet/JetRec/python/JetRecFlags.py @@ -237,6 +237,7 @@ class JetContentDetail: Reduced=1 Full=2 Validation=3 + Trigger=4 class detailLevel(JobProperty): """ Toggles detail level for AOD jet reconstruction diff --git a/Reconstruction/Jet/JetRec/python/JetRecUtils.py b/Reconstruction/Jet/JetRec/python/JetRecUtils.py index e75ea706d49e01852b76d4c86c7655a4efb4d359..3d8d5781061738816d3773bb1a80d58a03bea610 100644 --- a/Reconstruction/Jet/JetRec/python/JetRecUtils.py +++ b/Reconstruction/Jet/JetRec/python/JetRecUtils.py @@ -52,7 +52,9 @@ def retrieveAODList(enableOutputOverride = False): if rec.doTruth(): l += jetPileUpTruthList - if jetFlags.detailLevel()>=JetContentDetail.Full: + if jetFlags.detailLevel()==JetContentDetail.Trigger: + l += ['xAOD::JetContainer#AntiKt10LCTopoJets', 'xAOD::JetAuxContainer#AntiKt10LCTopoJetsAux.'] + elif jetFlags.detailLevel()>=JetContentDetail.Full: l += [ 'xAOD::JetContainer#AntiKt10LCTopoJets', 'xAOD::JetAuxContainer#AntiKt10LCTopoJetsAux.', 'xAOD::JetContainer#AntiKt2PV0TrackJets', 'xAOD::JetAuxContainer#AntiKt2PV0TrackJetsAux.', diff --git a/Reconstruction/Jet/JetRec/share/JetRec_jobOptions.py b/Reconstruction/Jet/JetRec/share/JetRec_jobOptions.py index 0e450ab90458b543c8e298706fb6b65993badbdf..497d66dce7f3d9ba96572a4504fb3c76d05a39fb 100644 --- a/Reconstruction/Jet/JetRec/share/JetRec_jobOptions.py +++ b/Reconstruction/Jet/JetRec/share/JetRec_jobOptions.py @@ -46,7 +46,7 @@ if not jetFlags.useCalibThresholdsLCTopo: jetlog.info(myname + "Switching off the jet pT threshold applied at the calibrated scale specifically for LCTopo jets") # Finders. -if jetFlags.detailLevel()==JetContentDetail.Reduced: +if jetFlags.detailLevel()==JetContentDetail.Reduced or jetFlags.detailLevel()==JetContentDetail.Trigger: if jetFlags.useTopo(): jtm.addJetFinder("AntiKt4EMTopoJets", "AntiKt", 0.4, "emtopo_reduced", "emtopo_ungroomed", ghostArea=0.01, ptmin= 5000, ptminFilter=ptminFilter_topo, calibOpt=calibopt) jtm.addJetFinder("AntiKt4LCTopoJets", "AntiKt", 0.4, "lctopo_reduced", "lctopo_ungroomed", ghostArea=0.01, ptmin= ptmin_lctopo, ptminFilter=ptminFilter_lctopo, calibOpt=calibopt)