# Presentation: 511254

## Status of  the Trigger Database  

**Elizabeth Gallas, Rich Wellner, **
**Jeremy Simmons, Matt Vranicar, Vicky White**
**(Fermilab - Computing Division)**
***See my Trigger Working Page***
**http://www-d0.fnal.gov/~gallas/trig/trigger.html**
*** ***

- Database meeting
- Oct 29, 2001

- E. Gallas/Trigger Database

- Oct 29, 2001

## Progress, Status

- Jeremy:
- cut new version of server and client code with changes mentioned in last report
- L1 Dialogs menu page modified to use roles as prototype for other clients (phase 2 goal)
- functionality to enter L1_dialogs not done yet (phase 1 goal).
- Working on luminosity database and other projects
- Elizabeth:
- Entering the simulation ‘p09’ trigger list
- interface testing -- client fixes for next cut
- Muon filters have been added at L2
- MarkAndPass added to all scripts at L3.
- some progress on L1 NEOTERMS, but not complete yet  (phase 1 goal) -- this piece of client code enters data into 5 tables (most complex client)
- proposal tying TL to L2, L3 Releases
- finding/removing junk records created by running clientDemo in production (the Demo should remove all records it creates for testing but it does not).
- many changes to xml generator for L3 (next slide)
- thanks for help from Volker, Jon Hays, Moacyr (for helping to iterate through this painful process - bugs were also found in the parser itself and in the tools and filter.rcp files)

- E. Gallas/Trigger Database

- Oct 29, 2001

## Xml generator changes for L3

- All filter keys are unique in this version using the trigger name rather than "key_*”.  These keys were previously reported to be internal to L3 but appear in L3 monitoring so the names are important after all.   The program now uses the trigger name to construct the key (it used to start  with key_ and now it will start with the trigger name).  This will be modified for MarkAndPass and PreScale filters as discussed with Moacyr, which he confirmed with the L3 group.
- all keys for all filters in the configuration will be guaranteed to be unique even if they are the 'same’ except for mark and pass and prescale, which will have the same key name if they have the same parameters
- The order of parameters fixed in all sections of L3script
- state L2trig directive for every trigger
- because of mixed case sensitivity or typos:
- L3TsmtCluster (not L3TSmtCluster)
- L3tMuoCentralMatch (not MuoCentralMatch)
- L3TMuon parameter muocalmatchrefset (not muoncaltrackrefset)
- will use "daq_test" rather than "all" when using OneStream (Stream='all' was not valid at some point but it was used for online lists).
- put double quotes around all strings (except useL1=yes directive because I am  unsure if this is a real parameter?)
- Add double pipe at end, not including pipe at last filter.
- double quotes around Stream name.
- A new generator is released.  Waiting for next round ...

- E. Gallas/Trigger Database

- Oct 29, 2001

## TO DO Summary

- Phase 1 (both in progress)
- J: L1 reference set (L1 Dialog)
- E:  Neoterms
- Phase 2 (client)
- Implement User dependent actions
- give different roles different buttons
- allow users to update, delete their ‘own’ elements
- L2 Preprocessor
- association with L2 global terms
- Devices, Device Groups for Exposure and TL
- Phase 3 (client)
- NTY Simulations
- Prescales
- Phase 4 (since design is incomplete)
- Streams
- L1 Simulation to Firmware
- L1 board registry (no server methods exist)

- E. Gallas/Trigger Database

- Oct 29, 2001

## TO DO Summary

- Client Web Entry Interface
- Phase 1
- Current Status Entry
- L1 reference set (L1 Dialog)
- Neoterms
- Phase 2
- Implement User dependent actions
- L2 Preprocessor
- association with L2 global terms
- Devices
- Device Groups for EGroups
- Devices directly in a config
- Prescales
- Streams
- Phase 3
- L1 Simulation to Firmware
- L1 board registry

- TriggerDbServer
- 11 method sets tested
- get,
- insert,
- update,
- delete
- safe update
- 12 new method sets need to be tested (exist) but the following methods are not in clientDemo:
- GetNeoTerms,
-  SafeUTLPrescales,
- All NTYSimulations,
- All L2PreProcessor methods: Get, Update, Delete, SafeU
- One set of methods remaining
- L1 board registry

- E. Gallas/Trigger Database

- Oct 29, 2001