Skip to content
Snippets Groups Projects
Commit 46a8c292 authored by Jonathan Bossio's avatar Jonathan Bossio
Browse files

Rename a chain dict

parent da3e2a4b
No related branches found
No related tags found
No related merge requests found
Pipeline #2185676 passed
...@@ -35,8 +35,8 @@ Chain2L1JetCollDict = { # set L1 jet collection name for L1 jet chains ...@@ -35,8 +35,8 @@ Chain2L1JetCollDict = { # set L1 jet collection name for L1 jet chains
# HLT jet collections and chains to monitor # HLT jet collections and chains to monitor
############################################ ############################################
Chain2JetCollDict = dict() # set HLT jet collection, reference chain and offline jet collection for turn-on curves, for AT and legacy master HLT jet chains Chains2Monitor = dict() # set HLT jet collection, reference chain and offline jet collection for turn-on curves, for AT and legacy master HLT jet chains
JetCollections = dict() # List of HLT jet collections for AT and legacy master (stating which should be matched and to which offline jet collection JetCollections = dict() # List of HLT jet collections for AT and legacy master (stating which should be matched and to which offline jet collection
# AthenaMT # AthenaMT
JetCollections['MT'] = { JetCollections['MT'] = {
...@@ -50,7 +50,7 @@ JetCollections['MT'] = { ...@@ -50,7 +50,7 @@ JetCollections['MT'] = {
'HLT_AntiKt4EMPFlowJets_nojcalib_ftf' : { 'MatchTo' : 'NONE' }, # pflow nojcalib 'HLT_AntiKt4EMPFlowJets_nojcalib_ftf' : { 'MatchTo' : 'NONE' }, # pflow nojcalib
'HLT_AntiKt4EMPFlowCSSKJets_nojcalib_ftf' : { 'MatchTo' : 'NONE' }, # pflow cssk nojcalib 'HLT_AntiKt4EMPFlowCSSKJets_nojcalib_ftf' : { 'MatchTo' : 'NONE' }, # pflow cssk nojcalib
} }
Chain2JetCollDict['MT'] = { Chains2Monitor['MT'] = {
'HLT_j420_L1J100' : { 'HLTColl' : 'HLT_AntiKt4EMTopoJets_subjesIS', 'RefChain' : 'HLT_j85_L1J20', 'OfflineColl' : 'AntiKt4EMTopoJets' }, 'HLT_j420_L1J100' : { 'HLTColl' : 'HLT_AntiKt4EMTopoJets_subjesIS', 'RefChain' : 'HLT_j85_L1J20', 'OfflineColl' : 'AntiKt4EMTopoJets' },
'HLT_j260_320eta490_L1J75_31ETA49' : { 'HLTColl' : 'HLT_AntiKt4EMTopoJets_subjesIS', 'RefChain' : 'NONE', 'OfflineColl' : 'NONE' }, 'HLT_j260_320eta490_L1J75_31ETA49' : { 'HLTColl' : 'HLT_AntiKt4EMTopoJets_subjesIS', 'RefChain' : 'NONE', 'OfflineColl' : 'NONE' },
'HLT_5j70_0eta240_L14J20' : { 'HLTColl' : 'HLT_AntiKt4EMTopoJets_subjesIS', 'RefChain' : 'NONE', 'OfflineColl' : 'NONE' }, 'HLT_5j70_0eta240_L14J20' : { 'HLTColl' : 'HLT_AntiKt4EMTopoJets_subjesIS', 'RefChain' : 'NONE', 'OfflineColl' : 'NONE' },
...@@ -74,7 +74,7 @@ JetCollections['Legacy'] = { ...@@ -74,7 +74,7 @@ JetCollections['Legacy'] = {
'HLT_xAOD__JetContainer_a10tclcwsubjesFS' : { 'MatchTo' : 'NONE' }, # a10 'HLT_xAOD__JetContainer_a10tclcwsubjesFS' : { 'MatchTo' : 'NONE' }, # a10
'HLT_xAOD__JetContainer_a10ttclcwjesFS' : { 'MatchTo' : 'NONE' }, # a10t 'HLT_xAOD__JetContainer_a10ttclcwjesFS' : { 'MatchTo' : 'NONE' }, # a10t
} }
Chain2JetCollDict['Legacy'] = { Chains2Monitor['Legacy'] = {
'HLT_j420' : { 'HLTColl' : 'HLT_xAOD__JetContainer_a4tcemsubjesISFS', 'RefChain' : 'HLT_j175', 'OfflineColl' : 'AntiKt4EMTopoJets' }, 'HLT_j420' : { 'HLTColl' : 'HLT_xAOD__JetContainer_a4tcemsubjesISFS', 'RefChain' : 'HLT_j175', 'OfflineColl' : 'AntiKt4EMTopoJets' },
'HLT_j260_320eta490' : { 'HLTColl' : 'HLT_xAOD__JetContainer_a4tcemsubjesISFS', 'RefChain' : 'HLT_j45_320eta490', 'OfflineColl' : 'AntiKt4EMTopoJets' }, 'HLT_j260_320eta490' : { 'HLTColl' : 'HLT_xAOD__JetContainer_a4tcemsubjesISFS', 'RefChain' : 'HLT_j45_320eta490', 'OfflineColl' : 'AntiKt4EMTopoJets' },
'HLT_j460_a10r_L1J100' : { 'HLTColl' : 'HLT_xAOD__JetContainer_a10r_tcemsubjesISFS', 'RefChain' : 'HLT_j175', 'OfflineColl' : 'AntiKt4EMTopoJets' }, 'HLT_j460_a10r_L1J100' : { 'HLTColl' : 'HLT_xAOD__JetContainer_a10r_tcemsubjesISFS', 'RefChain' : 'HLT_j175', 'OfflineColl' : 'AntiKt4EMTopoJets' },
...@@ -194,7 +194,7 @@ def TrigJetMonConfig(inputFlags): ...@@ -194,7 +194,7 @@ def TrigJetMonConfig(inputFlags):
monitorConf.toAlg(helper) monitorConf.toAlg(helper)
# Loop over HLT jet chains # Loop over HLT jet chains
for chain,chainDict in Chain2JetCollDict[InputType].items(): for chain,chainDict in Chains2Monitor[InputType].items():
jetcoll = chainDict['HLTColl'] jetcoll = chainDict['HLTColl']
# kinematic plots # kinematic plots
if AthenaMT: if AthenaMT:
...@@ -597,7 +597,7 @@ if __name__=='__main__': ...@@ -597,7 +597,7 @@ if __name__=='__main__':
monitorConf.toAlg(helper) monitorConf.toAlg(helper)
# Loop over HLT jet chains # Loop over HLT jet chains
for chain,chainDict in Chain2JetCollDict[InputType].items(): for chain,chainDict in Chains2Monitor[InputType].items():
jetcoll = chainDict['HLTColl'] jetcoll = chainDict['HLTColl']
# kinematic plots # kinematic plots
if AthenaMT: if AthenaMT:
......
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