This tutorial will show how to modify/extend an existing L1 menu with your own custom L1 seeds using the Trigger Menu Editor (TME).
First, the TME setup procedure is explained.
Then, two exercises exemplify the addition of custom L1 seeds to an existing L1 menu. The first exercise involves a rather simple modification of an existing seed. The second one requires the treatment of a seed that is a bit more complicated.
Finally, a short third exercise demonstrates the steps necessary to finalize a L1 menu XML file and make it ready for handing it over to the relevant trigger experts.
Please follow the below tutorial steps in the given order.
The following describes the TME setup steps as of July 2021. Please refer to the TME website for the latest setup instructions.
The setup instructions assume a bare CC7 Lxplus environment. The TME can be installed locally on some systems (e.g., Ubuntu, MacOS 10.13+), which is more convenient in many cases.
Log in to Lxplus with your username and enable X11 forwarding (with the option -X
).
ssh -X <username>@lxplus.cern.ch
Clone this repository and navigate to the relevant subfolder:
git clone https://github.com/cms-l1-dpg/L1Tutorials.git
cd L1Tutorials/tutorials/tme-seed-development/
Install the package tm-editor
in a virtual environment:
python3 -m venv tme
. tme/bin/activate
pip install --upgrade pip
pip install git+https://github.com/cms-l1-globaltrigger/[email protected]
If the last command returns an error, it might be necessary to downgrade PyQt5 to <5.15. Run
pip install "PyQt5<5.15"
and repeat the last "pip install" command.
That's it. You can now start the TME with
tm-editor
When starting a new terminal sessions, you do not need to re-install tm-editor
from scratch. Simply activate the tme
virtual environment again using . tme/bin/activate
at the corresponding path.
In this exercise, you will develop two custom L1 seeds.
The first seed is a modification of an existing "DoubleEG" seed and should be a rather straightforward exercise. The second seed is an alteration of a "DoubleMuon" seed and involves a couple of simultaneous seed modifications.
It is recommended to follow the two exercises in order. But don't worry if you get stuck at one step. The full solutions will be provided at the end, so you will be able to proceed with the tutorial regardless.
→ Click here for instructions.