def setupMenu(): from TriggerJobOpts.TriggerFlags import TriggerFlags TriggerFlags.Slices_all_setOff() TriggerFlags.TestSlice.signatures = [] TriggerFlags.MuonSlice.signatures = [ ChainProp(name='HLT_mu4_cosmic_L1MU4_EMPTY', l1SeedThresholds=['MU4'], stream=['CosmicMuons'], groups=['RATE:Cosmic_Muon', 'BW:Muon']), ChainProp(name='HLT_mu4_msonly_cosmic_L1MU4_EMPTY', l1SeedThresholds=['MU4'], stream=['CosmicMuons'], groups=['RATE:Cosmic_Muon', 'BW:Muon']), ] TriggerFlags.EgammaSlice.signatures = [ ChainProp(name='HLT_g3_etcut_LArPEB_L1EM3', stream=['LArCells'], groups=['RATE:SinglePhoton', 'BW:Egamma']) ] TriggerFlags.METSlice.signatures = [] TriggerFlags.JetSlice.signatures = [] TriggerFlags.BjetSlice.signatures = [] TriggerFlags.TauSlice.signatures = [] TriggerFlags.BphysicsSlice.signatures = [] TriggerFlags.CombinedSlice.signatures = [] TriggerFlags.HeavyIonSlice.signatures = [] TriggerFlags.BeamspotSlice.signatures = [] TriggerFlags.MinBiasSlice.signatures = [] TriggerFlags.CalibSlice.signatures = [] TriggerFlags.CosmicSlice.signatures = [] TriggerFlags.StreamingSlice.signatures = [ ChainProp(name='HLT_noalg_idcosmic_L1TRT_EMPTY', l1SeedThresholds=['FSNOSEED'], stream=['IDCosmic', 'express'], groups=['RATE:SeededStreamers', 'BW:Other']), ChainProp(name='HLT_noalg_idcosmic_L1TRT_FILLED', l1SeedThresholds=['FSNOSEED'], stream=['IDCosmic'], groups=['RATE:SeededStreamers', 'BW:Other']), ChainProp(name='HLT_noalg_cosmicmuons_L1MU4_EMPTY', stream=['CosmicMuons', 'express'], groups=['RATE:Cosmic_Muon', 'BW:Muon']), ChainProp(name='HLT_noalg_cosmiccalo_L1MU11_EMPTY', stream=['CosmicMuons', 'express'], groups=['RATE:Cosmic_Muon', 'BW:Muon']), ] TriggerFlags.MonitorSlice.signatures = [] # Random Seeded EB chains which select at the HLT based on L1 TBP bits TriggerFlags.EnhancedBiasSlice.signatures = [] # Add all standard monitoring chains from addP1Signatures function addP1Signatures() addSliceChainsToPrescales(TriggerFlags, Prescales.HLTPrescales_cosmics)
def setupMenu(): from TriggerJobOpts.TriggerFlags import TriggerFlags from AthenaCommon.Logging import logging log = logging.getLogger( 'TriggerMenuMT.HLTMenuConfig.Menu.PhysicsP1_pp_run3_v1.py' ) log.info('setupMenu ...') physics_menu.setupMenu() addP1Signatures() addSliceChainsToPrescales(TriggerFlags, Prescales.HLTPrescales_cosmics)
def setupMenu(): HIp1_menu.setupMenu() from TriggerJobOpts.TriggerFlags import TriggerFlags from AthenaCommon.Logging import logging log = logging.getLogger(__name__) log.info('setupMenu ...') TriggerFlags.TestSlice.signatures = TriggerFlags.TestSlice.signatures( ) + [] TriggerFlags.MuonSlice.signatures = TriggerFlags.MuonSlice.signatures( ) + [] TriggerFlags.EgammaSlice.signatures = TriggerFlags.EgammaSlice.signatures( ) + [] TriggerFlags.METSlice.signatures = TriggerFlags.METSlice.signatures() + [] TriggerFlags.JetSlice.signatures = TriggerFlags.JetSlice.signatures() + [] TriggerFlags.BjetSlice.signatures = TriggerFlags.BjetSlice.signatures( ) + [] TriggerFlags.TauSlice.signatures = TriggerFlags.TauSlice.signatures() + [] TriggerFlags.BphysicsSlice.signatures = TriggerFlags.BphysicsSlice.signatures( ) + [] TriggerFlags.CombinedSlice.signatures = TriggerFlags.CombinedSlice.signatures( ) + [] TriggerFlags.HeavyIonSlice.signatures = TriggerFlags.HeavyIonSlice.signatures( ) + [] TriggerFlags.BeamspotSlice.signatures = TriggerFlags.BeamspotSlice.signatures( ) + [] TriggerFlags.MinBiasSlice.signatures = TriggerFlags.MinBiasSlice.signatures( ) + [ ChainProp(name='HLT_mb_sptrk_L1RD0_FILLED', l1SeedThresholds=['FSNOSEED'], stream=['MinBias'], groups=MinBiasGroup), ] TriggerFlags.CalibSlice.signatures = TriggerFlags.CalibSlice.signatures( ) + [] TriggerFlags.CosmicSlice.signatures = TriggerFlags.CosmicSlice.signatures( ) + [] TriggerFlags.StreamingSlice.signatures = TriggerFlags.StreamingSlice.signatures( ) + [] TriggerFlags.MonitorSlice.signatures = TriggerFlags.MonitorSlice.signatures( ) + [] # Random Seeded EB chains which select at the HLT based on L1 TBP bits TriggerFlags.EnhancedBiasSlice.signatures = TriggerFlags.EnhancedBiasSlice.signatures( ) + [] addSliceChainsToPrescales(TriggerFlags, Prescales.HLTPrescales_cosmics)
def setupMenu(): from TriggerJobOpts.TriggerFlags import TriggerFlags from AthenaCommon.Logging import logging log = logging.getLogger( __name__ ) log.info('setupMenu ...') physics_menu.setupMenu() TriggerFlags.TestSlice.signatures = TriggerFlags.TestSlice.signatures() + [] TriggerFlags.MuonSlice.signatures = TriggerFlags.MuonSlice.signatures() + [ ] TriggerFlags.EgammaSlice.signatures = TriggerFlags.EgammaSlice.signatures() + [ ] TriggerFlags.METSlice.signatures = TriggerFlags.METSlice.signatures() + [ ] TriggerFlags.JetSlice.signatures = TriggerFlags.JetSlice.signatures() + [ ] TriggerFlags.BjetSlice.signatures = TriggerFlags.BjetSlice.signatures() + [ ] TriggerFlags.TauSlice.signatures = TriggerFlags.TauSlice.signatures() +[ ] TriggerFlags.BphysicsSlice.signatures = TriggerFlags.BphysicsSlice.signatures() + [ ] TriggerFlags.CombinedSlice.signatures = TriggerFlags.CombinedSlice.signatures() + [ ] TriggerFlags.HeavyIonSlice.signatures = TriggerFlags.HeavyIonSlice.signatures() + [] TriggerFlags.BeamspotSlice.signatures = TriggerFlags.BeamspotSlice.signatures() + [] TriggerFlags.MinBiasSlice.signatures = TriggerFlags.MinBiasSlice.signatures() + [] TriggerFlags.CalibSlice.signatures = TriggerFlags.CalibSlice.signatures() + [] TriggerFlags.CosmicSlice.signatures = TriggerFlags.CosmicSlice.signatures() + [] TriggerFlags.StreamingSlice.signatures = TriggerFlags.StreamingSlice.signatures() + [ ] TriggerFlags.MonitorSlice.signatures = TriggerFlags.MonitorSlice.signatures() + [ ] # Random Seeded EB chains which select at the HLT based on L1 TBP bits TriggerFlags.EnhancedBiasSlice.signatures = TriggerFlags.EnhancedBiasSlice.signatures() + [ ] addSliceChainsToPrescales(TriggerFlags, Prescales.HLTPrescales_cosmics)
def setupMenu(): mc_menu.setupMenu() p1_menu.addP1Signatures() from TriggerJobOpts.TriggerFlags import TriggerFlags from AthenaCommon.Logging import logging log = logging.getLogger(__name__) log.info('setupMenu ...') TriggerFlags.TestSlice.signatures = TriggerFlags.TestSlice.signatures( ) + [] TriggerFlags.MuonSlice.signatures = TriggerFlags.MuonSlice.signatures() + [ #ATR-19985 ChainProp(name='HLT_mu6_idperf_L1MU6', groups=SingleMuonGroup), ChainProp(name='HLT_mu24_idperf_L1MU20', groups=SingleMuonGroup), ChainProp(name='HLT_mu6_mu6noL1_L1MU6', l1SeedThresholds=['MU6', 'FSNOSEED'], mergingStrategy='serial', groups=MultiMuonGroup), #test chains ChainProp(name='HLT_mu6fast_L1MU6', groups=SingleMuonGroup), ChainProp(name='HLT_mu6Comb_L1MU6', groups=SingleMuonGroup), ChainProp(name='HLT_mu6_L1MU6', groups=SingleMuonGroup), ChainProp(name='HLT_mu20_ivar_L1MU6', groups=SingleMuonGroup), ChainProp(name='HLT_mu6_ivarmedium_L1MU6', groups=SingleMuonGroup), # commented because it is conflict with dimuon noL1 serial chain # ChainProp(name='HLT_mu6noL1_L1MU6', l1SeedThresholds=['FSNOSEED'], groups=SingleMuonGroup), ChainProp(name='HLT_mu6_msonly_L1MU6', groups=SingleMuonGroup), ChainProp(name='HLT_2mu6_10invm70_L1MU6', groups=SingleMuonGroup), ChainProp(name='HLT_mu10_lateMu_L1MU10', l1SeedThresholds=['FSNOSEED'], groups=SingleMuonGroup), # this is for test only ChainProp(name='HLT_2mu6_Dr_L12MU4', groups=MultiMuonGroup), # ChainProp(name='HLT_mu6_Dr_mu4_Dr_L12MU4', l1SeedThresholds=['MU4']*2, groups=MultiMuonGroup), # ATR-20049 ChainProp(name='HLT_mu6_mu4_L12MU4', l1SeedThresholds=['MU4'] * 2, groups=MultiMuonGroup), ChainProp(name='HLT_2mu6Comb_L12MU6', l1SeedThresholds=['MU6'], groups=MultiMuonGroup), # in planned primary as an option ChainProp(name='HLT_mu24_ivarmedium_L1MU20', groups=SingleMuonGroup), # Additional intermediate thresholds for validation comparisons to match with Physics_pp_v7_primaries menu ChainProp(name='HLT_mu28_ivarmedium_L1MU20', groups=SingleMuonGroup), ChainProp(name='HLT_mu35_ivarmedium_L1MU20', groups=SingleMuonGroup), ChainProp(name='HLT_2mu15_L12MU10', groups=SingleMuonGroup), ChainProp(name='HLT_3mu8_msonly_L13MU6', groups=SingleMuonGroup), ChainProp(name='HLT_mu80_L1MU20', groups=SingleMuonGroup), ChainProp(name='HLT_mu60_L1MU20', groups=SingleMuonGroup), ChainProp(name='HLT_mu24_mu10noL1_L1MU20', l1SeedThresholds=['MU20', 'FSNOSEED'], mergingStrategy='serial', groups=MultiMuonGroup), ChainProp(name='HLT_mu26_mu8noL1_L1MU20', l1SeedThresholds=['MU20', 'FSNOSEED'], mergingStrategy='serial', groups=MultiMuonGroup), ChainProp(name='HLT_mu26_mu10noL1_L1MU20', l1SeedThresholds=['MU20', 'FSNOSEED'], mergingStrategy='serial', groups=MultiMuonGroup), ChainProp(name='HLT_mu28_mu8noL1_L1MU20', l1SeedThresholds=['MU20', 'FSNOSEED'], mergingStrategy='serial', groups=MultiMuonGroup), ChainProp(name='HLT_mu22_2mu4noL1_L1MU20', l1SeedThresholds=['MU20', 'FSNOSEED'], mergingStrategy='serial', groups=MultiMuonGroup), ChainProp(name='HLT_mu24_2mu4noL1_L1MU20', l1SeedThresholds=['MU20', 'FSNOSEED'], mergingStrategy='serial', groups=MultiMuonGroup), ChainProp(name="HLT_mu10_L1MU10", groups=SingleMuonGroup), ChainProp(name='HLT_2mu4_L12MU4', groups=MultiMuonGroup), # ATR-19452 ChainProp(name='HLT_2mu4_muonqual_L12MU4', groups=MultiMuonGroup), ChainProp(name='HLT_2mu6_muonqual_L12MU6', groups=MultiMuonGroup), # ATR-20650 ChainProp(name='HLT_mu0_muoncalib_L1MU4_EMPTY', groups=SingleMuonGroup), ChainProp(name='HLT_mu0_muoncalib_L1MU20', groups=SingleMuonGroup), # Unisolated single muons for monitoring isolated muons ChainProp(name="HLT_mu8_L1MU6", groups=SingleMuonGroup), ChainProp(name="HLT_mu14_L1MU10", groups=SingleMuonGroup), ChainProp(name="HLT_mu24_L1MU20", groups=SingleMuonGroup), ChainProp(name="HLT_mu26_L1MU20", groups=SingleMuonGroup), ] TriggerFlags.EgammaSlice.signatures = TriggerFlags.EgammaSlice.signatures( ) + [ # ElectronChains---------- ChainProp(name='HLT_e3_etcut_L1EM3', groups=SingleElectronGroup), ChainProp(name='HLT_e5_etcut_L1EM3', groups=SingleElectronGroup), ChainProp(name='HLT_e7_etcut_L1EM3', stream=[PhysicsStream, 'express'], groups=SingleElectronGroup), ChainProp(name='HLT_2e3_etcut_L12EM3', stream=[PhysicsStream], groups=MultiElectronGroup), # low et threshold for debugging ChainProp(name='HLT_e5_lhloose_noringer_L1EM3', groups=SingleElectronGroup), ChainProp(name='HLT_e5_lhmedium_noringer_L1EM3', groups=SingleElectronGroup), ChainProp(name='HLT_e5_lhtight_noringer_L1EM3', groups=SingleElectronGroup), ChainProp(name='HLT_e5_lhtight_noringer_nod0_L1EM3', groups=SingleElectronGroup), # low et threshold chains using Ringer ChainProp(name='HLT_e5_lhloose_L1EM3', groups=SingleElectronGroup), ChainProp(name='HLT_e5_lhmedium_L1EM3', groups=SingleElectronGroup), ChainProp(name='HLT_e5_lhtight_L1EM3', groups=SingleElectronGroup), ChainProp(name='HLT_e5_lhtight_nod0_L1EM3', groups=SingleElectronGroup), # Primary ChainProp(name='HLT_e26_lhtight_L1EM22VHI', groups=SingleElectronGroup), ChainProp(name='HLT_e26_lhtight_nod0_L1EM22VHI', groups=SingleElectronGroup), ChainProp(name='HLT_e26_lhtight_nod0_L1EM24VHI', groups=SingleElectronGroup), ChainProp(name='HLT_e60_lhmedium_L1EM22VHI', groups=SingleElectronGroup), ChainProp(name='HLT_e60_lhmedium_nod0_L1EM22VHI', groups=SingleElectronGroup), ChainProp(name='HLT_e140_lhloose_L1EM22VHI', groups=SingleElectronGroup), ChainProp(name='HLT_e140_lhloose_nod0_L1EM22VHI', groups=SingleElectronGroup), ChainProp(name='HLT_e300_etcut_L1EM22VHI', groups=SingleElectronGroup), ChainProp(name='HLT_2e17_lhvloose_L12EM3', stream=[PhysicsStream], groups=MultiElectronGroup), ChainProp(name='HLT_2e17_lhvloose_L12EM15VH', stream=[PhysicsStream], groups=MultiElectronGroup), ChainProp(name='HLT_e17_lhvloose_nod0_L1EM15VH', stream=[PhysicsStream], groups=SingleElectronGroup), # TnP triggers ChainProp(name='HLT_e20_lhmedium_e15_lhmedium_Zee_L12EM3', groups=MultiElectronGroup), # for moving to PhysicsP1, ATR-21242 # ChainProp(name='HLT_2e17_etcut_L12EM15VHI', stream=[PhysicsStream], groups=MultiElectronGroup), # PhotonChains------------ # these are to debug photon working points should be removed in production ChainProp(name='HLT_g5_etcut_L1EM3', groups=SinglePhotonGroup), ChainProp(name='HLT_g5_loose_L1EM3', groups=SinglePhotonGroup), ChainProp(name='HLT_g5_medium_L1EM3', groups=SinglePhotonGroup), ChainProp(name='HLT_g5_tight_L1EM3', groups=SinglePhotonGroup), ChainProp(name='HLT_g25_etcut_L1EM20VH', groups=SinglePhotonGroup), ChainProp(name='HLT_g25_loose_L1EM20VH', groups=SinglePhotonGroup), ChainProp(name='HLT_g25_medium_L1EM20VH', groups=SinglePhotonGroup), ChainProp(name='HLT_g25_tight_L1EM20VH', groups=SinglePhotonGroup), # Primary photon chains ChainProp(name='HLT_g140_loose_L1EM22VHI', groups=SinglePhotonGroup), ChainProp(name='HLT_2g35_medium_L12EM20VH', groups=MultiPhotonGroup), ChainProp(name='HLT_g35_medium_g25_medium_L12EM20VH', groups=MultiPhotonGroup), ChainProp(name='HLT_2g20_tight_L12EM15VH', groups=MultiPhotonGroup), # ATR-19360 ChainProp(name='HLT_g5_etcut_LArPEB_L1EM3', stream=['LArCells'], groups=SinglePhotonGroup), # for moving to PhysicsP1, ATR-21242 ChainProp(name='HLT_g140_etcut_L1EM22VHI', groups=SinglePhotonGroup), ] TriggerFlags.METSlice.signatures = TriggerFlags.METSlice.signatures() + [ ChainProp(name='HLT_xe30_cell_L1XE10', groups=SingleMETGroup), ChainProp(name='HLT_xe30_mht_L1XE10', groups=SingleMETGroup), ChainProp(name='HLT_xe30_tcpufit_L1XE10', groups=SingleMETGroup), ChainProp(name='HLT_xe30_trkmht_L1XE10', groups=SingleMETGroup), ChainProp(name='HLT_xe30_pfsum_L1XE10', groups=SingleMETGroup), ChainProp(name='HLT_xe30_pfopufit_L1XE10', groups=SingleMETGroup), ChainProp(name='HLT_xe30_cvfpufit_L1XE10', groups=SingleMETGroup), ChainProp(name='HLT_xe30_mhtpufit_em_subjesgscIS_L1XE10', groups=SingleMETGroup), ChainProp(name='HLT_xe30_mhtpufit_pf_subjesgscIS_L1XE10', groups=SingleMETGroup), ChainProp(name='HLT_xe110_tc_em_L1XE50', groups=SingleMETGroup), ChainProp(name='HLT_xe110_mht_L1XE50', groups=SingleMETGroup), ChainProp(name='HLT_xe110_tcpufit_L1XE50', groups=SingleMETGroup), # MultiMET Chain ChainProp(name='HLT_xe30_cell_xe30_tcpufit_L1XE10', l1SeedThresholds=['XE10'] * 2, groups=MultiMETGroup), #must be FS seeded # ATR-21934 ChainProp(name='HLT_xe100_trkmht_xe85_tcpufit_xe65_cell_L1XE50', l1SeedThresholds=['XE50'] * 3, mergingStrategy='parallel', groups=MultiMETGroup), ChainProp(name='HLT_xe95_trkmht_xe90_tcpufit_xe75_cell_L1XE50', l1SeedThresholds=['XE50'] * 3, mergingStrategy='parallel', groups=MultiMETGroup), ] TriggerFlags.JetSlice.signatures = TriggerFlags.JetSlice.signatures() + [ ChainProp(name='HLT_j85_L1J20', groups=SingleJetGroup), ChainProp(name='HLT_j45_L1J15', groups=SingleJetGroup), ChainProp(name='HLT_j420_L1J20', groups=SingleJetGroup), ChainProp(name='HLT_j45_ftf_subjesgscIS_L1J15', groups=SingleJetGroup), ChainProp(name='HLT_j45_ftf_subresjesgscIS_L1J15', groups=SingleJetGroup), ChainProp(name='HLT_j45_ftf_subjesgscIS_011jvt_L1J15', groups=SingleJetGroup), ChainProp(name='HLT_j45_ftf_subjesgscIS_015jvt_L1J15', groups=SingleJetGroup), ChainProp(name='HLT_j45_ftf_subjesgscIS_059jvt_L1J15', groups=SingleJetGroup), ChainProp(name='HLT_j45_ftf_L1J15', groups=SingleJetGroup), ChainProp(name='HLT_j85_ftf_L1J20', groups=SingleJetGroup), ChainProp(name='HLT_j45_ftf_pf_L1J20', groups=SingleJetGroup), ChainProp(name='HLT_j45_ftf_subjesgscIS_pf_L1J20', groups=SingleJetGroup), ChainProp(name='HLT_j45_ftf_subresjesgscIS_pf_L1J20', groups=SingleJetGroup), ChainProp(name='HLT_j85_ftf_pf_L1J20', groups=SingleJetGroup), ChainProp(name='HLT_j420_ftf_subjesgscIS_L1J20', groups=SingleJetGroup), ChainProp(name='HLT_j45_nojcalib_L1J20', groups=SingleJetGroup), ChainProp(name='HLT_j45_sktc_nojcalib_L1J20', groups=SingleJetGroup), ChainProp(name='HLT_j45_cssktc_nojcalib_L1J20', groups=SingleJetGroup), ChainProp(name='HLT_j45_ftf_pf_nojcalib_L1J20', groups=SingleJetGroup), ChainProp(name='HLT_j45_ftf_csskpf_nojcalib_L1J20', groups=SingleJetGroup), ChainProp(name='HLT_j260_320eta490_L1J20', groups=SingleJetGroup), ChainProp(name='HLT_j460_a10_lcw_subjes_L1J20', groups=SingleJetGroup), ChainProp(name='HLT_j460_a10r_L1J20', groups=SingleJetGroup), ChainProp(name='HLT_3j200_L1J20', groups=MultiJetGroup), ChainProp(name='HLT_j0_vbenfSEP30etSEP34mass35SEP50fbet_L1J20', groups=SingleJetGroup), # ATR-20624 ChainProp(name='HLT_j0_perf_L1J12_EMPTY', stream=['Main'], groups=SingleJetGroup), ] TriggerFlags.BjetSlice.signatures = TriggerFlags.BjetSlice.signatures() + [ ChainProp(name="HLT_j45_ftf_subjesgscIS_boffperf_split_L1J20", groups=SingleBjetGroup), ChainProp(name="HLT_j45_ftf_subjesgscIS_bmv2c1070_split_L1J20", groups=SingleBjetGroup), ] TriggerFlags.TauSlice.signatures = TriggerFlags.TauSlice.signatures() + [ #ATR-20049 ChainProp(name="HLT_tau0_perf_ptonly_L1TAU12", groups=SingleTauGroup), ChainProp(name="HLT_tau0_perf_ptonly_L1TAU60", groups=SingleTauGroup), ChainProp(name="HLT_tau25_idperf_track_L1TAU12IM", groups=SingleTauGroup), ChainProp(name="HLT_tau25_idperf_tracktwo_L1TAU12IM", groups=SingleTauGroup), ChainProp(name="HLT_tau25_perf_tracktwo_L1TAU12IM", groups=SingleTauGroup), ChainProp(name="HLT_tau25_medium1_tracktwo_L1TAU12IM", groups=SingleTauGroup), ChainProp(name="HLT_tau25_idperf_tracktwoMVA_L1TAU12IM", groups=SingleTauGroup), ChainProp(name="HLT_tau25_perf_tracktwoMVA_L1TAU12IM", groups=SingleTauGroup), ChainProp(name="HLT_tau25_medium1_tracktwoMVA_L1TAU12IM", groups=SingleTauGroup), ChainProp(name="HLT_tau25_verylooseRNN_tracktwoMVA_L1TAU12IM", groups=SingleTauGroup), ChainProp(name="HLT_tau25_looseRNN_tracktwoMVA_L1TAU12IM", groups=SingleTauGroup), ChainProp(name="HLT_tau25_mediumRNN_tracktwoMVA_L1TAU12IM", groups=SingleTauGroup), ChainProp(name="HLT_tau25_tightRNN_tracktwoMVA_L1TAU12IM", groups=SingleTauGroup), ChainProp(name="HLT_tau25_verylooseRNN_tracktwo_L1TAU12IM", groups=SingleTauGroup), ChainProp(name="HLT_tau25_looseRNN_tracktwo_L1TAU12IM", groups=SingleTauGroup), ChainProp(name="HLT_tau25_mediumRNN_tracktwo_L1TAU12IM", groups=SingleTauGroup), ChainProp(name="HLT_tau25_tightRNN_tracktwo_L1TAU12IM", groups=SingleTauGroup), ChainProp(name="HLT_tau25_medium1_tracktwoEF_L1TAU12IM", groups=SingleTauGroup), ChainProp(name="HLT_tau35_mediumRNN_tracktwoMVA_L1TAU12IM", groups=SingleTauGroup), ChainProp(name="HLT_tau160_idperf_track_L1TAU100", groups=SingleTauGroup), ChainProp(name="HLT_tau0_perf_ptonly_L1TAU100", groups=SingleTauGroup), ChainProp(name="HLT_tau80_medium1_tracktwo_L1TAU60", groups=SingleTauGroup), ChainProp(name="HLT_tau160_idperf_tracktwo_L1TAU100", groups=SingleTauGroup), ChainProp(name="HLT_tau160_perf_tracktwo_L1TAU100", groups=SingleTauGroup), ChainProp(name="HLT_tau160_idperf_tracktwoMVA_L1TAU100", groups=SingleTauGroup), ChainProp(name="HLT_tau160_perf_tracktwoMVA_L1TAU100", groups=SingleTauGroup), ChainProp(name="HLT_tau160_medium1_tracktwo_L1TAU100", groups=SingleTauGroup), ChainProp(name="HLT_tau160_medium1_tracktwoEF_L1TAU100", groups=SingleTauGroup), ChainProp(name="HLT_tau200_medium1_tracktwoEF_L1TAU100", groups=SingleTauGroup), ChainProp(name="HLT_tau200_mediumRNN_tracktwoMVA_L1TAU100", groups=SingleTauGroup), # ATR-21797 # the following 3 chains were in serial mode in Run-2 ChainProp( name= "HLT_tau80_mediumRNN_tracktwoMVA_tau60_mediumRNN_tracktwoMVA_L1TAU60_2TAU40", l1SeedThresholds=['TAU60', 'TAU40'], mergingStrategy='parallel', groups=MultiTauGroup), ChainProp( name= "HLT_tau80_mediumRNN_tracktwoMVA_tau35_mediumRNN_tracktwoMVA_L1TAU60_DR-TAU20ITAU12I", l1SeedThresholds=['TAU60', 'TAU12IM'], mergingStrategy='parallel', groups=MultiTauGroup), ChainProp( name= "HLT_tau35_mediumRNN_tracktwoMVA_tau25_mediumRNN_tracktwoMVA_L1DR-TAU20ITAU12I-J25", l1SeedThresholds=['TAU20IM', 'TAU12IM'], mergingStrategy='parallel', groups=MultiTauGroup), ] TriggerFlags.BphysicsSlice.signatures = TriggerFlags.BphysicsSlice.signatures( ) + [ #ATR-20603 ChainProp(name='HLT_2mu4_bJpsimumu_L12MU4', groups=BphysicsGroup), ChainProp(name='HLT_2mu4_bUpsimumu_L12MU4', groups=BphysicsGroup), #ATR-20839 ChainProp(name='HLT_2mu4_bDimu_L12MU4', groups=BphysicsGroup), ] TriggerFlags.CombinedSlice.signatures = TriggerFlags.CombinedSlice.signatures( ) + [ # groups need to be properly assigned here later # Primary e-mu chains ChainProp(name='HLT_e17_lhloose_mu14_L1EM15VH_MU10', l1SeedThresholds=['EM15VH', 'MU10'], mergingStrategy='serial', stream=[PhysicsStream], groups=MultiElectronGroup), ChainProp(name='HLT_e7_lhmedium_mu24_L1MU20', l1SeedThresholds=['EM3', 'MU20'], mergingStrategy='serial', stream=[PhysicsStream], groups=MultiElectronGroup), # Test photon-muon chain (isolation is there to have different number of steps) ChainProp(name='HLT_g25_medium_mu24_ivarmedium_L1MU20', l1SeedThresholds=['EM15VH', 'MU20'], mergingStrategy='serial', stream=[PhysicsStream], groups=MultiElectronGroup), # electron + photon stay in the same step - these need to be parallel merged! ChainProp(name='HLT_e3_etcut1step_g5_etcut_L12EM3', l1SeedThresholds=['EM3', 'EM3'], mergingStrategy='parallel', stream=[PhysicsStream], groups=MultiElectronGroup), # Test chains for muon + jet/MET merging/aligning ChainProp(name='HLT_mu6fast_xe30_mht_L1XE10', l1SeedThresholds=['MU6', 'XE10'], mergingStrategy='serial', stream=[PhysicsStream], groups=SingleMETGroup), ChainProp(name='HLT_mu6fast_j45_nojcalib_L1J20', l1SeedThresholds=['MU6', 'J20'], mergingStrategy='serial', stream=[PhysicsStream], groups=SingleMETGroup), ] TriggerFlags.HeavyIonSlice.signatures = TriggerFlags.HeavyIonSlice.signatures( ) + [] TriggerFlags.BeamspotSlice.signatures = TriggerFlags.BeamspotSlice.signatures( ) + [ ChainProp(name='HLT_beamspot_allTE_trkfast_BeamSpotPEB_L1J15', l1SeedThresholds=['FSNOSEED'], stream=['BeamSpot'], groups=['RATE:BeamSpot', 'BW:BeamSpot']), ] TriggerFlags.MinBiasSlice.signatures = TriggerFlags.MinBiasSlice.signatures( ) + [ # ChainProp(name='HLT_mb_sp400_trk40_hmt_L1RD0_FILLED', l1SeedThresholds=['FSNOSEED'], stream=[PhysicsStream], groups=MinBiasGroup), # ChainProp(name='HLT_mb_sp600_trk45_hmt_L1RD0_FILLED', l1SeedThresholds=['FSNOSEED'], stream=[PhysicsStream], groups=MinBiasGroup), ] TriggerFlags.CalibSlice.signatures = TriggerFlags.CalibSlice.signatures( ) + [ ChainProp(name='HLT_alfacalib_AlfaPEB_L1ALFA_ANY', l1SeedThresholds=['FSNOSEED'], stream=['ALFACalib'], groups=['RATE:ALFACalibration', 'BW:Detector']) ] TriggerFlags.CosmicSlice.signatures = TriggerFlags.CosmicSlice.signatures( ) + [] TriggerFlags.StreamingSlice.signatures = TriggerFlags.StreamingSlice.signatures( ) + [ ChainProp(name='HLT_noalg_mb_L1RD2_EMPTY', l1SeedThresholds=['FSNOSEED'], stream=['MinBias'], groups=MinBiasGroup), ChainProp(name='HLT_noalg_zb_L1ZB', l1SeedThresholds=['FSNOSEED'], stream=['ZeroBias'], groups=ZeroBiasGroup), ChainProp(name='HLT_noalg_L1MBTS_1_EMPTY', l1SeedThresholds=['FSNOSEED'], stream=['MinBias'], groups=MinBiasGroup), #ATR-21740 ] TriggerFlags.MonitorSlice.signatures = TriggerFlags.MonitorSlice.signatures( ) + [] # Random Seeded EB chains which select at the HLT based on L1 TBP bits TriggerFlags.EnhancedBiasSlice.signatures = TriggerFlags.EnhancedBiasSlice.signatures( ) + [] # -------------------------------------------------- # ---- Defining specific prescales to this menu ---- # -------------------------------------------------- Prescales = mc_menu.Prescales ## Cosmics addSliceChainsToPrescales(TriggerFlags, Prescales.HLTPrescales_cosmics) ## Trigger Validation (disabling high CPU chains) Prescales.L1Prescales_trigvalid_mc_prescale = dict([ (ctpid, 1) for ctpid in Prescales.L1Prescales ]) # setting all L1 prescales to 1 Prescales.HLTPrescales_trigvalid_mc_prescale = {} disableChains(TriggerFlags, Prescales.HLTPrescales_trigvalid_mc_prescale, "Online") # -------------------------------------------------- return Prescales
def setupMenu(): from TriggerJobOpts.TriggerFlags import TriggerFlags from AthenaCommon.Logging import logging log = logging.getLogger(__name__) log.info('setupMenu ...') TriggerFlags.Slices_all_setOff() TriggerFlags.TestSlice.signatures = [] TriggerFlags.MuonSlice.signatures = [ ChainProp(name='HLT_mu4_L1MU4', stream=[HardProbesStream], groups=SingleMuonGroup), ] TriggerFlags.EgammaSlice.signatures = [ #Dectetor monitoring ChainProp(name='HLT_g20_etcut_LArPEB_L1EM15', stream=['LArCells'], groups=SinglePhotonGroup), ] TriggerFlags.METSlice.signatures = [] TriggerFlags.JetSlice.signatures = [] TriggerFlags.BjetSlice.signatures = [] TriggerFlags.TauSlice.signatures = [] TriggerFlags.BphysicsSlice.signatures = [] TriggerFlags.CombinedSlice.signatures = [] TriggerFlags.HeavyIonSlice.signatures = [] TriggerFlags.BeamspotSlice.signatures = [] TriggerFlags.MinBiasSlice.signatures = [] TriggerFlags.CalibSlice.signatures = [] TriggerFlags.CosmicSlice.signatures = [] TriggerFlags.StreamingSlice.signatures = [ ChainProp(name='HLT_noalg_mb_L1RD0_EMPTY', l1SeedThresholds=['FSNOSEED'], stream=[MinBiasStream], groups=MinBiasGroup), ChainProp(name='HLT_noalg_mb_L1RD0_FILLED', l1SeedThresholds=['FSNOSEED'], stream=[MinBiasStream], groups=MinBiasGroup), ] TriggerFlags.MonitorSlice.signatures = [ ChainProp(name='HLT_costmonitor_CostMonDS_L1All', l1SeedThresholds=['FSNOSEED'], stream=['CostMonitoring'], groups=['RATE:Monitoring', 'BW:Other']), ] # Random Seeded EB chains which select at the HLT based on L1 TBP bits TriggerFlags.EnhancedBiasSlice.signatures = [] addSliceChainsToPrescales(TriggerFlags, Prescales.HLTPrescales_cosmics)
def setupMenu(): from TriggerJobOpts.TriggerFlags import TriggerFlags from AthenaCommon.Logging import logging # IMPORTANT: Needs to be commented in again! #PhysicsStream = "Main" #--------------------------------------------------------------------- # INPUT FORMAT FOR CHAINS: # ['chainName', [L1 thresholds for chainParts], [stream], [groups]], # OPTIONAL: [mergingStrategy, offset,[merginOrder] ]], topoStartsFrom = False #--------------------------------------------------------------------- #--------------------------------------------------------------------- # if it's needed to temporary remove almost all the chains from the menu # be aware that it is necessary to leave at least one chain in the muon slice # otherwise athenaHLT will seg-fault #--------------------------------------------------------------------- log = logging.getLogger(__name__) log.info('Executing menu....') TriggerFlags.TestSlice.signatures = [ # muons ChainProp(name='HLT_TestChain8_muv1step_L1MU6', stream=['Main'], groups=['RATE:Test', 'BW:Other']), ChainProp(name='HLT_TestChain8_muv1_L1MU10', stream=['Main'], groups=['RATE:Test', 'BW:Other']), ChainProp(name='HLT_TestChain20_muv1_L1MU10', stream=['Main'], groups=['RATE:Test', 'BW:Other']), ChainProp(name='HLT_TestChain10_muv2_L1MU10', stream=['Main'], groups=['RATE:Test', 'BW:Other']), ChainProp(name='HLT_TestChain6_muEmpty2_L1MU6', stream=['Main'], groups=['RATE:Test', 'BW:Other']), # egamma ChainProp(name='HLT_TestChain5_ev1_L1EM3', stream=['Main'], groups=['RATE:Test', 'BW:Other']), ChainProp(name='HLT_TestChain8_ev1_L1EM5', stream=['Main'], groups=['RATE:Test', 'BW:Other']), ChainProp(name='HLT_TestChain5_ev2_L1EM7', stream=['Main'], groups=['RATE:Test', 'BW:Other']), ChainProp(name='HLT_TestChain5_ev3_L1EM7', stream=['Main'], groups=['RATE:Test', 'BW:Other']), ChainProp(name='HLT_TestChain5_gv1_L1EM7', stream=['Main'], groups=['RATE:Test', 'BW:Other']), # combined ChainProp(name='HLT_TestChain6_muv1_TestChain10_ev1_L1MU6_EM5', stream=['Main'], groups=['RATE:Test', 'BW:Other']), #serial ChainProp(name='HLT_TestChain6_muv2_TestChain8_ev2_L1MU6_EM5', stream=['Main'], groups=['RATE:Test', 'BW:Other']), ChainProp(name='HLT_TestChain5_ev1_TestChain8_ev1_L12EM3', stream=['Main'], groups=['RATE:Test', 'BW:Other']), # ChainProp(name='HLT_TestChain5_ev1_TestChain8_ev1_2TestChain6_muv1_L1EM3_L1EM5_L12MU6', stream=['Main'], groups=['RATE:Test','BW:Other'] ), ChainProp(name='HLT_2TestChain6_muv1_L12MU6', stream=['Main'], groups=['RATE:Test', 'BW:Other']), ChainProp(name='HLT_3TestChain6_muv1_L12MU6', stream=['Main'], groups=['RATE:Test', 'BW:Other']), ChainProp(name='HLT_TestChain6_muv1_TestChain10_muv1_L12MU6', stream=['Main'], groups=['RATE:Test', 'BW:Other']), ChainProp(name='HLT_2TestChain6_muEmpty1_L12MU6', stream=['Main'], groups=['RATE:Test', 'BW:Other']), #may differ from manual ChainProp(name='HLT_TestChain6_muv1_TestChain5_ev1dr_L1MU6_EM5', stream=['Main'], groups=['RATE:Test', 'BW:Other']), ChainProp(name='HLT_2TestChain4_muv1dr_L12MU6', stream=['Main'], groups=['RATE:Test', 'BW:Other']), # FSNOSEED not implemented in emulation ChainProp(name='HLT_TestChain10_muEmpty1_TestChain6_muEmpty1_L12MU6', l1SeedThresholds=['MU6', 'MU6'], stream=['Main'], groups=['RATE:Test', 'BW:Other']) ] TriggerFlags.EgammaSlice.signatures = [ # ElectronChains---------- # ChainProp(name='HLT_e3_etcut_L1EM3', stream=['Main'], groups=['RATE:Test','BW:Other']) ] TriggerFlags.MuonSlice.signatures = [] TriggerFlags.CombinedSlice.signatures = [] TriggerFlags.JetSlice.signatures = [] TriggerFlags.BjetSlice.signatures = [] TriggerFlags.METSlice.signatures = [] TriggerFlags.TauSlice.signatures = [] TriggerFlags.BphysicsSlice.signatures = [] TriggerFlags.HeavyIonSlice.signatures = [] TriggerFlags.BeamspotSlice.signatures = [] TriggerFlags.MinBiasSlice.signatures = [] TriggerFlags.CalibSlice.signatures = [] TriggerFlags.CosmicSlice.signatures = [] TriggerFlags.StreamingSlice.signatures = [] TriggerFlags.MonitorSlice.signatures = [] # Random Seeded EB chains which select at the HLT based on L1 TBP bits TriggerFlags.EnhancedBiasSlice.signatures = [] addSliceChainsToPrescales(TriggerFlags, Prescales.HLTPrescales_cosmics) return Prescales return Prescales
def setupMenu(): from TriggerJobOpts.TriggerFlags import TriggerFlags from AthenaCommon.Logging import logging log = logging.getLogger(__name__) log.info('setupMenu ...') TriggerFlags.Slices_all_setOff() TriggerFlags.TestSlice.signatures = [] TriggerFlags.MuonSlice.signatures = [ #ATR-20049 ChainProp(name='HLT_2mu6_L12MU6', l1SeedThresholds=['MU6'], groups=MultiMuonGroup), #Planned Primaries #-- 1 mu iso ChainProp(name='HLT_mu26_ivarmedium_L1MU20', groups=SingleMuonGroup), #-- 1 mu ChainProp(name='HLT_mu50_L1MU20', groups=SingleMuonGroup), ChainProp(name='HLT_mu60_0eta105_msonly_L1MU20', groups=SingleMuonGroup), ChainProp(name='HLT_mu80_msonly_3layersEC_L1MU20', groups=SingleMuonGroup), #-- 2 mu ChainProp(name='HLT_mu22_mu8noL1_L1MU20', l1SeedThresholds=['MU20', 'FSNOSEED'], mergingStrategy='serial', groups=MultiMuonGroup), ChainProp(name='HLT_2mu14_L12MU10', groups=MultiMuonGroup), #-- 2 mu iso invm ChainProp(name='HLT_mu10_ivarmedium_mu10_10invm70_L12MU10', groups=MultiMuonGroup), #-- 3 mu ChainProp(name='HLT_mu20_2mu4noL1_L1MU20', l1SeedThresholds=['MU20', 'FSNOSEED'], mergingStrategy='serial', groups=MultiMuonGroup), ChainProp(name='HLT_3mu6_L13MU6', l1SeedThresholds=['MU6'], groups=MultiMuonGroup), ChainProp(name='HLT_3mu6_msonly_L13MU6', l1SeedThresholds=['MU6'], groups=MultiMuonGroup), #-- 4 mu ChainProp(name='HLT_4mu4_L14MU4', l1SeedThresholds=['MU4'], groups=MultiMuonGroup), ] TriggerFlags.EgammaSlice.signatures = [ # ElectronChains---------- ChainProp(name='HLT_e26_etcut_L1EM22VHI', groups=SingleElectronGroup + BCIDmonGroup), ChainProp(name='HLT_2e17_etcut_L12EM15VH', stream=[PhysicsStream], groups=MultiElectronGroup), ChainProp(name='HLT_g140_etcut_L1EM24VHI', groups=SinglePhotonGroup), ChainProp(name='HLT_2g35_etcut_L12EM20VH', groups=MultiPhotonGroup), ] TriggerFlags.METSlice.signatures = [ ChainProp(name='HLT_xe65_cell_L1XE50', groups=SingleMETGroup + BCIDmonGroup), ChainProp(name='HLT_xe100_mht_L1XE50', groups=SingleMETGroup), ChainProp(name='HLT_xe100_tcpufit_L1XE50', groups=SingleMETGroup), ChainProp(name='HLT_xe100_trkmht_L1XE50', groups=SingleMETGroup), ChainProp(name='HLT_xe100_pfsum_L1XE50', groups=SingleMETGroup), # MultiMET Chain ChainProp(name='HLT_xe65_cell_xe110_tcpufit_L1XE50', l1SeedThresholds=['XE50'] * 2, groups=MultiMETGroup), #must be FS seeded ] TriggerFlags.JetSlice.signatures = [ # ATR-20049 ChainProp(name='HLT_j420_L1J100', groups=SingleJetGroup + BCIDmonGroup), ChainProp(name='HLT_j260_320eta490_L1J75_31ETA49', groups=SingleJetGroup), ChainProp(name='HLT_j460_a10r_L1J100', groups=SingleJetGroup), ChainProp(name='HLT_j460_a10_lcw_subjes_L1J100', groups=SingleJetGroup), ChainProp(name='HLT_j460_a10t_lcw_jes_L1J100', groups=SingleJetGroup), ChainProp(name='HLT_j460_a10t_lcw_jes_30smcINF_L1J100', groups=SingleJetGroup), ChainProp(name='HLT_2j330_a10t_lcw_jes_35smcINF_L1J100', groups=SingleJetGroup), ChainProp( name='HLT_5j70_0eta240_L14J20', groups=MultiJetGroup ), # this chain is supposed to be seeded off L1_4J15 in principle, needs CF fix ChainProp(name='HLT_3j200_L1J100', groups=MultiJetGroup), # FP: workaround tmp for l1SeedThresholds ChainProp(name='HLT_j80_L1J15', groups=SingleJetGroup), ChainProp(name='HLT_2j60_L1J15', groups=MultiJetGroup), ChainProp(name='HLT_j80_j60_L1J15', l1SeedThresholds=2 * ['FSNOSEED'], groups=MultiJetGroup), # FP: workaround tmp for l1SeedThresholds ChainProp( name= 'HLT_j80_0eta240_2j60_320eta490_j0_dijetSEP80j1etSEP0j1eta240SEP80j2etSEP0j2eta240SEP700djmass_L1J20', l1SeedThresholds=['FSNOSEED'] * 3, groups=MultiJetGroup), ] TriggerFlags.BjetSlice.signatures = [ ChainProp(name="HLT_j225_ftf_subjesgscIS_bmv2c1040_split_L1J100", groups=SingleBjetGroup), ChainProp(name="HLT_j275_ftf_subjesgscIS_bmv2c1060_split_L1J100", groups=SingleBjetGroup), ChainProp(name="HLT_j300_ftf_subjesgscIS_bmv2c1070_split_L1J100", groups=SingleBjetGroup), ChainProp(name="HLT_j360_ftf_subjesgscIS_bmv2c1077_split_L1J100", groups=SingleBjetGroup), ] TriggerFlags.TauSlice.signatures = [ #ATR-20049 ChainProp(name="HLT_tau160_mediumRNN_tracktwoMVA_L1TAU100", groups=SingleTauGroup), ] TriggerFlags.BphysicsSlice.signatures = [ #ATR-20049 ChainProp(name='HLT_2mu10_bJpsimumu_L12MU10', groups=BphysicsGroup), ChainProp(name='HLT_mu11_mu6_bJpsimumu_L1MU11_2MU6', groups=BphysicsGroup), ChainProp(name='HLT_2mu10_bUpsimumu_L12MU10', groups=BphysicsGroup), ChainProp(name='HLT_mu11_mu6_bUpsimumu_L1MU11_2MU6', groups=BphysicsGroup), ] TriggerFlags.CombinedSlice.signatures = [ # ChainProp(name='HLT_e3_etcut1step_mu6fast_L1EM8I_MU10', l1SeedThresholds=['EM8I', 'MU10'], mergingStrategy='serial',stream=[PhysicsStream], groups=MultiElectronGroup), #L1 item thresholds in wrong order (EM first, then MU) ] TriggerFlags.HeavyIonSlice.signatures = [] TriggerFlags.BeamspotSlice.signatures = [] TriggerFlags.MinBiasSlice.signatures = [] TriggerFlags.CalibSlice.signatures = [] TriggerFlags.CosmicSlice.signatures = [] TriggerFlags.StreamingSlice.signatures = [] TriggerFlags.MonitorSlice.signatures = [] # Random Seeded EB chains which select at the HLT based on L1 TBP bits TriggerFlags.EnhancedBiasSlice.signatures = [] addSliceChainsToPrescales(TriggerFlags, Prescales.HLTPrescales_cosmics)