4 """getMenu returns a L1Menu accessor object"""
6 from TrigConfigSvc.TriggerConfigAccess
import getL1MenuAccess
10 if __name__ ==
'__main__':
13 from pprint
import pprint
14 from AthenaConfiguration.AllConfigFlags
import initConfigFlags
17 flags.Input.Files = [
'/cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/CampaignInputs/data23/RAW/data23_13p6TeV.00452463.physics_Main.daq.RAW/540events.data23_13p6TeV.00452463.physics_Main.daq.RAW._lb0514._SFO-16._0004.data']
25 d_algs = menu.topoAlgorithms(
'TOPO')[
'decisionAlgorithms']
26 print(
"====== Decision Algs =======")
27 alg_klasses = (
'DeltaRSqrIncl2',)
29 for alg_name
in d_algs:
30 if d_algs[alg_name][
'klass']
in alg_klasses:
32 pprint(d_algs[alg_name])
36 s_algs = menu.topoAlgorithms(
'TOPO')[
'sortingAlgorithms']
37 print(
"====== SORT Algs =======")
38 alg_klasses = (
'jJetSelect',)
39 for alg_name
in s_algs:
40 if s_algs[alg_name][
'klass']
in alg_klasses:
42 pprint(s_algs[alg_name])
46 c_algs = menu.topoAlgorithms(
'MULTTOPO')[
'multiplicityAlgorithms']
48 print(
"====== COUNT Algs =======")
49 alg_klasses = (
'cTauMultiplicity',)
50 for alg_name
in c_algs:
51 if c_algs[alg_name][
'klass']
in alg_klasses:
53 pprint(c_algs[alg_name])
54 algname = c_algs[alg_name]
55 threshold = c_algs[alg_name][
'threshold']
56 pprint(menu.thresholds()[threshold])