Commit 51049fb3 authored by Oana Vickey Boeriu's avatar Oana Vickey Boeriu
Browse files

Merge branch '21.2.HIGG4D5-2022-10-31' into '21.2'

Merge request to include missing triggers in skimming of HIGG4D5 derivation format

See merge request atlas/athena!58985
parents acd903d3 9c338f10
......@@ -79,13 +79,7 @@ def setup(HIGG4DxName, ToolSvc):
elif HIGG4DxName == 'HIGG4D5' :
tau = '(count('+tauTracks123+' && (TauJets.pt > 30.0*GeV || TauJets.ptFinalCalib > 30.0*GeV)) >= 1)'
trigger_main = '( HLT_xe70 || HLT_xe70_mht || HLT_xe90_L1XE50 || HLT_xe90_mht_L1XE50 || HLT_xe110_L1XE50 || HLT_xe110_mht_L1XE50 || HLT_j360 || HLT_j380 || HLT_tau80_medium1_tracktwo_L1TAU60 || HLT_tau125_medium1_tracktwo || HLT_tau160_medium1_tracktwo || HLT_noalg_L1J400 || HLT_xe110_pufit_L1XE55 || HLT_j400 || HLT_j420 || HLT_j450 || HLT_tau160_medium1_tracktwo_L1TAU100 || HLT_xe90_pufit_L1XE50 || HLT_xe100_pufit_L1XE55 || HLT_xe100_pufit_L1XE50 || HLT_xe110_pufit_L1XE50 || HLT_tau35_medium1_tracktwo_xe70_L1XE45 || HLT_mu50 || HLT_mu26_ivarmedium || HLT_xe110_pufit_xe65_L1XE50 || HLT_xe110_pufit_xe70_L1XE50 || HLT_xe120_pufit_L1XE50 || HLT_tau35_medium1_tracktwoEF_xe70_L1XE45 || HLT_tau35_mediumRNN_tracktwoMVA_xe70_L1XE45 || HLT_tau160_medium1_tracktwoEF_L1TAU100 || HLT_tau160_mediumRNN_tracktwoMVA_L1TAU100 || HLT_tau35_medium1_tracktwo_tau25_medium1_tracktwo_L1TAU20IM_2TAU12IM || HLT_tau35_medium1_tracktwo_tau25_medium1_tracktwo || HLT_tau35_medium1_tracktwo_tau25_medium1_tracktwo_L1TAU20IM_2TAU12IM_4J12 || HLT_tau35_medium1_tracktwoEF_tau25_medium1_tracktwoEF_L1TAU20IM_2TAU12IM_4J12.0ETA23 || HLT_tau35_mediumRNN_tracktwoMVA_tau25_mediumRNN_tracktwoMVA_L1TAU20IM_2TAU12IM_4J12.0ETA23 || HLT_tau35_medium1_tracktwo_tau25_medium1_tracktwo_L1DR-TAU20ITAU12I-J25 || HLT_tau35_medium1_tracktwoEF_tau25_medium1_tracktwoEF_L1DR-TAU20ITAU12I-J25 || HLT_tau35_mediumRNN_tracktwoMVA_tau25_mediumRNN_tracktwoMVA_L1DR-TAU20ITAU12I-J25 || HLT_2j35_bmv2c2060_split_2j35_L14J15.0ETA25 || HLT_j110_gsc150_boffperf_split_2j35_gsc55_bmv2c1070_split_L1J85_3J30 || HLT_2j35_gsc55_bmv2c1050_split_ht300_L1HT190-J15s5.ETA21 || HLT_j110_gsc150_boffperf_split_2j45_gsc55_bmv2c1070_split_L1J85_3J30 || HLT_2j35_bmv2c1060_split_2j35_L14J15.0ETA25 || HLT_xe100_mht_L1XE50 ) '
trigger_aux = '( HLT_j15 || HLT_j25 || HLT_j35 || HLT_j55 || HLT_j60 || HLT_j85 || HLT_j110 || HLT_j150 || HLT_j175 || HLT_j200 || HLT_j260 || HLT_j300 || HLT_j320 )'
DFisMC = (globalflags.DataSource()=='geant4')
if not DFisMC:
monotau = '('+tau+' && ('+trigger_main+' || '+trigger_aux+'))'
else:
monotau = '('+tau+' && '+trigger_main+')'
monotau = '('+tau+')'
skim_expression = monotau + "&&" + lepVeto
elif HIGG4DxName == 'HIGG4D6':
......@@ -135,6 +129,24 @@ def setup(HIGG4DxName, ToolSvc):
ToolSvc += HIGG4DxSkimmingTool
skimmingTools.append(HIGG4DxSkimmingTool)
if HIGG4DxName == 'HIGG4D5' :
DFisMC = (globalflags.DataSource()=='geant4')
trigSkimListOR = []
trigger_main_list = ["HLT_xe70", "HLT_xe70_mht", "HLT_xe90_L1XE50", "HLT_xe90_mht_L1XE50", "HLT_xe110_L1XE50", "HLT_xe110_mht_L1XE50", "HLT_j360", "HLT_j380", "HLT_tau80_medium1_tracktwo_L1TAU60", "HLT_tau125_medium1_tracktwo", "HLT_tau160_medium1_tracktwo", "HLT_noalg_L1J400", "HLT_xe110_pufit_L1XE55", "HLT_j400", "HLT_j420", "HLT_j450", "HLT_tau160_medium1_tracktwo_L1TAU100", "HLT_xe90_pufit_L1XE50", "HLT_xe100_pufit_L1XE55", "HLT_xe100_pufit_L1XE50", "HLT_xe110_pufit_L1XE50", "HLT_tau35_medium1_tracktwo_xe70_L1XE45", "HLT_mu50", "HLT_mu26_ivarmedium", "HLT_xe110_pufit_xe65_L1XE50", "HLT_xe110_pufit_xe70_L1XE50", "HLT_xe120_pufit_L1XE50", "HLT_tau35_medium1_tracktwoEF_xe70_L1XE45", "HLT_tau35_mediumRNN_tracktwoMVA_xe70_L1XE45", "HLT_tau160_medium1_tracktwoEF_L1TAU100", "HLT_tau160_mediumRNN_tracktwoMVA_L1TAU100",
"HLT_tau35_medium1_tracktwo_tau25_medium1_tracktwo_L1TAU20IM_2TAU12IM", "HLT_tau35_medium1_tracktwo_tau25_medium1_tracktwo", "HLT_tau35_medium1_tracktwo_tau25_medium1_tracktwo_L1TAU20IM_2TAU12IM_4J12", "HLT_tau35_medium1_tracktwoEF_tau25_medium1_tracktwoEF_L1TAU20IM_2TAU12IM_4J12.0ETA23", "HLT_tau35_mediumRNN_tracktwoMVA_tau25_mediumRNN_tracktwoMVA_L1TAU20IM_2TAU12IM_4J12.0ETA23", "HLT_tau35_medium1_tracktwo_tau25_medium1_tracktwo_L1DR-TAU20ITAU12I-J25", "HLT_tau35_medium1_tracktwoEF_tau25_medium1_tracktwoEF_L1DR-TAU20ITAU12I-J25", "HLT_tau35_mediumRNN_tracktwoMVA_tau25_mediumRNN_tracktwoMVA_L1DR-TAU20ITAU12I-J25", "HLT_2j35_bmv2c2060_split_2j35_L14J15.0ETA25", "HLT_j110_gsc150_boffperf_split_2j35_gsc55_bmv2c1070_split_L1J85_3J30", "HLT_2j35_gsc55_bmv2c1050_split_ht300_L1HT190-J15s5.ETA21", "HLT_j110_gsc150_boffperf_split_2j45_gsc55_bmv2c1070_split_L1J85_3J30", "HLT_2j35_bmv2c1060_split_2j35_L14J15.0ETA25", "HLT_xe100_mht_L1XE50"]
trigger_aux_list = ["HLT_j15", "HLT_j25", "HLT_j35", "HLT_j55", "HLT_j60", "HLT_j85", "HLT_j110", "HLT_j150", "HLT_j175", "HLT_j200", "HLT_j260", "HLT_j300", "HLT_j320"]
if not DFisMC:
trigSkimListOR = trigger_main_list + trigger_aux_list
else:
trigSkimListOR = trigger_main_list
from DerivationFrameworkTools.DerivationFrameworkToolsConf import DerivationFramework__TriggerSkimmingTool
TriggerSkimmingTool = DerivationFramework__TriggerSkimmingTool( name = HIGG4DxName+"TriggerSkimmingTool",
TriggerListOR = trigSkimListOR )
ToolSvc += TriggerSkimmingTool
skimmingTools.append(TriggerSkimmingTool)
return skimmingTools
## the following skiming tool is used by the HIGG4D6 skim. The provided skimming tool ought to be attached to the main DerivationKernel in HIGG4D6 JO.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment