WIP: ATR-23160 - Check consistency between L1 thresholds and HLT signatures
To check that always right L1 is used
Merge request reports
Activity
523 523 for part in chainDict['chainParts']: 524 524 l1Thresholds.append(part['L1threshold']) 525 525 526 if 'noL1' in chainDict['chainName']: 527 if 'FSNOSEED' not in l1Thresholds: 528 log.error("Muon noL1 chain should be seeded from FSNOSEED...") 529 raise Exception("Muon noL1 chain should be seeded from FSNOSEED...") 530 531 if 'noL1' not in chainDict['chainName']: I guess this can just be an
else
. Also the 2nd exception has the same message as the upper one. Should maybe say "Standard muon chain", something like that. That aside I think this is indeed what was intended. So from my side, happy if you go ahead, then we can iterate with signature coords and menu experts to see if all the cases are covered.changed this line in version 3 of the diff
Hi @khoo
I am failing one ctest, unitTestRun_generateMenuMT_newJO, but, others, including unitTestRun_generateMenuMT are passing, which is strange. I put some printouts in error message, and I am not sure why am I failing:
Py:TriggerMenuMT.HLTMenuConfig.Muon.generateMuon ERROR Standard muon chain should be seeded from L1_MU. Check HLT_mu20_L1MU20, l1 threshold ['MU20']
Whole traceback is below.
Lidija
Traceback (most recent call last): File "/cvmfs/atlas-nightlies.cern.ch/repo/sw/master_Athena_x86_64-centos7-gcc8-opt/sw/lcg/releases/LCG_98python3_ATLAS_8/Python/3.7.6/x86_64-centos7-gcc8-opt/lib/python3.7/runpy.py", line 193, in _run_module_as_main "__main__", mod_spec) File "/cvmfs/atlas-nightlies.cern.ch/repo/sw/master_Athena_x86_64-centos7-gcc8-opt/sw/lcg/releases/LCG_98python3_ATLAS_8/Python/3.7.6/x86_64-centos7-gcc8-opt/lib/python3.7/runpy.py", line 85, in _run_code exec(code, run_globals) File "/afs/cern.ch/user/l/lidiaz/workspace/xAODTriggerWork/FulGitNew/build/x86_64-centos7-gcc8-opt/python/TriggerMenuMT/HLTMenuConfig/Menu/LS2_v1_newJO.py", line 127, in <module> menu = generateMenu( ConfigFlags) File "/afs/cern.ch/user/l/lidiaz/workspace/xAODTriggerWork/FulGitNew/build/x86_64-centos7-gcc8-opt/python/TriggerMenuMT/HLTMenuConfig/Menu/GenerateMenuMT_newJO.py", line 166, in generateMenu loadChains(flags) File "/afs/cern.ch/user/l/lidiaz/workspace/xAODTriggerWork/FulGitNew/build/x86_64-centos7-gcc8-opt/python/TriggerMenuMT/HLTMenuConfig/Menu/GenerateMenuMT_newJO.py", line 156, in loadChains listDictsAndConfigs.append(generateChainConfig(flags, chain, sigGenMap)) File "/afs/cern.ch/user/l/lidiaz/workspace/xAODTriggerWork/FulGitNew/build/x86_64-centos7-gcc8-opt/python/TriggerMenuMT/HLTMenuConfig/Menu/GenerateMenuMT_newJO.py", line 84, in generateChainConfig chainConfig = sigGenMap[signature](flags, chainDict) File "/afs/cern.ch/user/l/lidiaz/workspace/xAODTriggerWork/FulGitNew/build/x86_64-centos7-gcc8-opt/python/TriggerMenuMT/HLTMenuConfig/Muon/generateMuon.py", line 534, in generateChains raise Exception("Standrad muon chain should be seeded from L1_MU...") Exception: Standrad muon chain should be seeded from L1_MU...
added 152 commits
-
93e373bd...a0e53be6 - 151 commits from branch
atlas:master
- 116ac8bd - Merge remote-tracking branch 'upstream/master' into TM_ATR-23160
-
93e373bd...a0e53be6 - 151 commits from branch
added 673 commits
-
1031b3a8...04d79634 - 666 commits from branch
atlas:master
- 8bde1d94 - Merge remote-tracking branch 'upstream/master' into TM_ATR-23160
- d90c1d3d - Merge remote-tracking branch 'upstream/master' into TM_ATR-23160
- 397b82f5 - Merge remote-tracking branch 'upstream/master' into TM_ATR-23160
- 9afc1bd4 - Merge remote-tracking branch 'upstream/master' into TM_ATR-23160
- 7f050a90 - New development in DictFromChanName.py
- da73a4f4 - New development in DictFromChanName.py
- de100ec2 - New development in DictFromChanName.py
Toggle commit list-
1031b3a8...04d79634 - 666 commits from branch
So it is working. I added this chains in separate trials: ChainProp(name='HLT_mu8_mu8noL1_L1MU6', l1SeedThresholds=['FSNOSEED','FSNOSEED'], groups=MultiMuonGroup), ChainProp(name='HLT_mu8_mu8noL1_L1MU6', l1SeedThresholds=['MU6','MU6'], groups=MultiMuonGroup), ChainProp(name='HLT_mu10_lateMu_L1LATE-MU10_XE50', l1SeedThresholds=['MU6'], groups=SingleMuonGroup),
and each of them crashed graciously.
I will proceed with other signatures and let you know once I am ready.
Lidija
- Resolved by Lidija Zivkovic
added 196 commits
-
27ee5176...f987b4a4 - 194 commits from branch
atlas:master
- cb63290e - Merge remote-tracking branch 'upstream/master' into TM_ATR-23160
- e097b85e - Updates
-
27ee5176...f987b4a4 - 194 commits from branch
63 63 l1seedlist = getSpecificL1Seeds(l1seed, itemsDict) 64 64 return l1seedlist 65 65 66 log.info("Lidija je ovde: chain %s, l1seed %s", chainName, l1seed ) remember to remove this before merging and switch back from info to debug for the other messages
Edited by Daniele Zanzi
559 if thisSignature in ['Electron','Photon']: 560 if 'EM' not in thisL1: 561 log.error("Standard egamma chains should be seeded from L1_EM. Check %s, l1 threshold %s",chainDict['chainName'],l1Thresholds) 562 raise Exception("Standrad egamma chain should be seeded from L1_EM...") 563 564 if thisSignature in 'Tau': 565 if 'TAU' not in thisL1: 566 log.error("Standard tau chains should be seeded from L1_TAU. Check %s, l1 threshold %s",chainDict['chainName'],l1Thresholds) 567 raise Exception("Standrad tau chain should be seeded from L1_TAU...") 568 569 if thisSignature in ['Jet','Bjet','MET','UnconventionalTracking']: 570 if 'FSNOSEED' not in thisL1: 571 log.error("Jet, b-jet, MET chains should be seeded from FSNOSEED. Check %s, l1 threshold %s",chainDict['chainName'],l1Thresholds) 572 # raise Exception("Jet, b-jet, MET chain should be seeded from FSNOSEED...") 573 574 if thisSignature in ['Beamspot','Streaming','EnhancedBias','Monitor','Calib','MinBias']: changed this line in version 8 of the diff
added 1866 commits
-
e097b85e...43c9feac - 1864 commits from branch
atlas:master
- c7988887 - Merge remote-tracking branch 'upstream/master' into TM_ATR-23160
- 2595c240 - Update
-
e097b85e...43c9feac - 1864 commits from branch
added 1657 commits
-
2595c240...c816fe0d - 1650 commits from branch
atlas:master
- ab2e2fb3 - Merge remote-tracking branch 'upstream/master' into TM_ATR-23160
- a5926348 - Merge remote-tracking branch 'upstream/master' into TM_ATR-23160
- b215c95e - Merge remote-tracking branch 'upstream/master' into TM_ATR-23160
- 566908cb - Merge remote-tracking branch 'upstream/master' into TM_ATR-23160
- 173b1e96 - Merge remote-tracking branch 'upstream/master' into TM_ATR-23160
- 16b41e50 - Small modifications
- bb4a8874 - Merge remote-tracking branch 'upstream/master' into TM_ATR-23160
Toggle commit list-
2595c240...c816fe0d - 1650 commits from branch
added 3 commits
- 9cf0dced - Merge remote-tracking branch 'upstream/master' into TM_ATR-23160
- 43c6061b - Updates
- c9ef0b72 - Merge branch 'TM_ATR-23160' of https://gitlab.cern.ch:8443/lidiaz/athena into TM_ATR-23160
added 823 commits
-
91803683...4a22cb60 - 820 commits from branch
atlas:master
- 3cbd96be - Merge remote-tracking branch 'upstream/master' into TM_ATR-23160
- 4b9c441c - Merge remote-tracking branch 'upstream/master' into TM_ATR-23160
- 681d4f6e - Updates
Toggle commit list-
91803683...4a22cb60 - 820 commits from branch
@lidiaz can you make a new MR?
@dzanzi I will when I have some progress.