Minutes of Trigger DB/L2 Software Working Group Meetings
Specifications Generated at DB Meetings
Mar 5, 2002
Attendees:
Jonathan, Alexei, Donatella,
Peter, Stephen (phone), Tom (phone), Peter Wittich, Masa, Luciano
GUI News (Donatella):
Feb 28, 2002
Attendees:
Bill Badgett, Peter,
Donatella, Peter, Kirsten
Special Meeting to discuss New DB change implementation:
Feb 19, 2002
Attendees:
GUI News (Donatella):
Feb 12, 2002
Attendees:
Jonathan, Alexei, Donatella,
Peter, Stephen (phone), Tom (phone), Peter Wittich, Masa, Luciano
GUI News (Donatella):
- Donatella has been working on problems that caused corruption of
an existing Physics table last week.
- Fixed the root cause which occured when creating a "new" object
for which there was already an existing version in the DB. This has
been fixed in the case of PHYSICS_TABLES. Will need to be propogated
to other objects.
- In the case of creating a "New" object where there is an existing
but retired one there is an ambiguity about what to do. The GUI
will give two options: 1) choose a new name and start over or 2)
edit the existing object with a new version number. It was noted
that option 2) can lead to real problems if elements of this
existing object (e.g. triggers within a path) are also retired.
There will be "User Beware" messages.
- The basic underlying problem is that the Oracle structure does not
prevent this sort of corruption intrinsicly. Donatella is working
out a procedure for the Insertions that will abort if an error
occurs on one of a series of insertions. This will not prevent a
more expert person from causing coruption using SQLPLUS commands
directly but should prevent the common GUI user from doing this.
Status of New L2 Options (Alexei):
- New Java code for eta and Pt conversion to integers for insertion into
the L2 Header file has been written. Will be reposited by Wednesday.
- New RECES conversion that passes threshold in MeV to SMXR boards is
complete inclduing RC (Bill B) and FER (Arnd) code.
- Discussion insued on how to make sure two RECES thresolhds are passed
to SMXRs regardless of how many different RECES options are selected:
- If 0 RECES options pass a default value for high thresh. and
low thresh.
- If 1 RECES threshold specified in the otions, then put that
in the low and pass the default for the high
- If 2 different RECES thresholds are specified, pass them sorted
low and high
Plans for L2 Tagset and Global Parameters
- The main topic of discussion for L2 tagsets was how to handle a
default value. It was decided to attempt to handle this in the
same way for L2 Tagset and Global parameters. The main idea is the
creation of a "GUI_DEFAULTS" table which is a standalone table in
the database which will only be used by the GUI. See description of
the Global Parameters below.
- One item left undecided was whether to provide a list of allowed
values for the CVS tags for use in the L2 Tagset. This might
also be useful for Generic Datasets. These would be distinct from
defaults.
- At the end of the meeting we had an extended discussion on the
GLOBAL Parameters. Peter Wilson agreed to write and circulate
a first pass specification.
Text of Peter's summary on Global Parameters.
Feb 5, 2002
Attendees:
Jonathan, Donatella,
Peter, Stephen (phone), Tom (phone), Peter Wittich, Masa, Karen
GUI News:
- Implemented check looking for paths with same L2 trigger but
different L1 triggers.
- Will work on problem with retired items next week
- Alexei's automatic html maker is taking up to 1 hour for the current
Physics table. It should be removed (done 13 Feb)
New L2 Electron/Photon/RECES options:
- Alexei finished code for pt, eta cuts
- Still need RECES option code
- Heather can do tests of new Pass0 firmware on Wednesday
Status of new L2 code (update from last week):
- Separating short/long XFT tracks: code exists but will not implement now
- New Rate/Prescale code: in CVS
- New Electron/Photon: in CVS
- New Jet code (Jets): in CVS
- Error handler with warnings: in CVS
- ClusterSum: in CVS
- XFTTrack: in CVS
- Tomorrow will test Jets vs Jet (New vs Old) and if possible
electron/tracks
L2 Tagset:
- There was an extended discussion of the L2 Tagset based on an email
that Peter Wittich circulated last week. Peter will send a revised
spec via email. Text of Peter's
summary on L2 Tagsets.
Jan 29, 2002
Attendees:
Alexei, Jonathan, Donatella,
Peter, Stephen (phone), Tom (phone), Peter Wittich, Masa, Karen
News:
- Next week will have a meeting on L2 Tagsets. Will probably be at an earlier time (11am?) so that Oxford group can join via video to give advice based on L3 tagset experience.
Status of GUI - Donatella
- There was bug in the check that looks for multiple versions of the smae
trigger in the table. The printout haad incorrect information on the path. This was fixed.
- Almost done with a check for different L1 triggers which feed the same L2 trigger. Expect to complete in next 1-2 days.
- Next will work on check to make sure there are no elements of the table which are Retired. Will be implemented at all levels (specific options to tables).
- Alexei brought up the idea of an Oracle trigger
- Jonathan repeated and earlier proposal for a process to search
through the database for objects that are not used by any Physics
Table. Maybe should also be able to select objects not used by any
dataset.
Electron and Photon Options and Code - Alexei + Masa
- The ShowerMax option is in the DB
- There are new CentralElectonReces and PhotonReces options for testing
the new code which uses Reces.
- New Java code will be written to convert the XFT_PT to an integer
value for insertion in the header file. The integer will be
the curvature bin.
- New Java code will be written to convert the MIN and MAX ETA
to an integer value for insertion in the header file.
The integer will be Trigger tower.
- Jonathan sent email with FORTRAN code fragments for both of these
they were included in emails from Stephen and Masa over the
past week.
- We may also want to change the ET cuts from the cluster finder to
do the same thing (ie require 0.125 GeV boundaries). Stephen
will make a list of all such conversions (or recruit someone
to do so)
- Masa will change the name of the variable in the L2 code from Pt to Curvature
- Name in code/header will be changed to CentralElectronReces and
PhotonReces from xxxxTest
Rate Limit and Prescale
- Agreed that Stephens new RateLimit + Prescale code will be attached
to two separate options in the DB:
- Prescale with one parameter that has a range from 1 to 500000
- RateLimit with one parameter Rate that has a range from
0.125 Hz to
1000 Hz. The Java code will convert this to a Prescale
value by: PRESCALE = 1/(Rate * 2E-9)
- A single PRESCALE parameter will be passed as a prescale value for
EVERY L2 trigger.
- If no Prescale or RateLimit option then PRESCALE =1
- If there is a Prescale option and value is less than 500000 then
it is passed and interpreted as a prescale.
- If there is a Ratelimit Option and the rate is in the allowed
range then this will be converted into "Prescale" using the
prescription above and passed.
- If both a Prescale and a Rate limit are specified or if the
values are out of the allowed ranges an error message expaling the
violation will be generated.
Plans for new L2 code
- This week a new set of L2 code will be cut for testing new algorithms.
This will be done in such a way to allow parallel work with old code version. The following will be implemented in this code (in order of approximately decreasing priority):
- New RateLimit/Prescale code (Stephen)
- New Photon and Electron code (Masa)
- New Jet algorithm (multi-jet) (Tom)
- New Error Handler with warning messages (Peter)
- XFTTrack (Tom)
- ClusterSum (Tom)
- The goal is to have this cut by Thursday Jan 31 to allow making tables
for test with Beam Friday
- The following test tables will be made:
- Jet table with direct comparison of old and new algorithms using Jet20 (no prescale), Jet70 and L1 Tower prescaled. Also iunclude a DiJet trigger and if ready a ClusterSum trigger. (Stephen?)
- Isolated Track test, XFTTrack (Peter Wittich)
- Electron/Photon test (Masa, Alexei)
AOB
- Peter Wilson will attempt to make a table to test new L1 Track
options and FE code.
Jan 22, 2002
Attendees:
Alexei, Jonathan,
Peter, Stephen (phone), Tom (phone), Peter Wittich, Masa, Karen, Nathan
Electron and Photon Options and Code
- Reces - make new ShowerMax option with ET as only parameter (Alexei)
- Java code to be compatible with old system using ADC value and new system with Et cut (Alexei)
- Conversion to ADC will be made in FE code using already existing
conversion factor from Calibration DB. (Masa)
- Because we do not have a L2 tagset allowing different code version will start by making Photon and electron code with new name.
- Peter will fix the Options spec for Phton and CentralElectron
L1 Track Trigger
- Alexei has finished options and Java code
- Bill has not checked in new code (done later in the week)
- Nathan is ready as soon as Bill checks in new message code
L2 Isolated Track Trigger Spec
- Option as defined by Peter and Jonathan See options spec.
- Will be named XFTTrack
- Tom will write this
ClusterSum Spec
- Parameters: N (Jets), ET (Jet), ET_TOTAL
- Add to spec after meeting by Peter See options spec.
- Tom has written this
Dec 11, 2001
Attendees:
Jonathan, Donatella,
Peter, Kirsten, Stephen (phone), Peter Wittich
News:
Status of GUI Merging:
- Donatella has moved up the versions of the DB Gui. Test now uses her versions of L1 and L2 Trigger and Specific options pages. Previous version of test has moved to devel.
- Peter has doen some testing prior to release to test. Testing after release has just started but so far looks good.
Status of New L1 Calorimeter Options:
- Alexei could not make it to the meeting. Earlier in the day he completed new Calorimeter options using new Cut and parameter names.
- Minutes not complete.
Dec 4, 2001
Attendees:
Jonathan, Donatella, Alexei,
Peter, Heather, Nathan
News:
Status of GUI Merging:
- Donatella reported that the new L1/L2 Specific options and Trigger pages are done.
- Peter and Donatella will work on testing the new pages by Friday.
Status of New L1 Calorimeter Options:
- Alexei has created "test" L1 calorimeter options by remving from the existing options the parameters that we do not plan to use. Once we have verified that these options and associated new code work correctly we can make new options with new standardized names.
- Peter will test the new options on Wednesday by creating a physics table with the new options that duplicates an existing one and make sure that the DIRAC memory files are identical.
- This was verified with TEST_ELECTRONS_PHOTONS_v3 and TEST_ELECTRONS_PHOTONS_v1 which have all the same triggers bu v3 was made with the truncated options. Needs one more cross-check to be sure.
- The discussion quickly led into standarized cuts and parameters names for new options. More detail below.
Plans for L1 Track Trigger Options/Code and new cuts and parameters:
- There was an extended discussion on how to handle the L1
track triggers which centered on a draft specification circulated in
email by Peter over the weekend. Draft L1 Track spec revised
on 5 Dec 2001. Most of the discussion focused on what gets passed from the
database to the XTRP on coldstart.
- There are three types of options specified: One Track, Two Track and Seven Track. We agreed that in terms of download, the One Track and Two Track will pass the same set of parameters. The ones that do not exist in the One Track option will be hard coded in the Java code to appropriate defaults (e.g. XFT_PT2 = 0, PT_SCALAR_SUM = 0).
- The seven track will pass only one parameter (XFT_PT) which will specify the minimum pt for tracks sent from XTRP data boards to the Two track board.
- There will always be 15 sets of Two Track parameters even if there is only one One or Two Track specific option. There will always be only one seven track.
- Nathan convinced us that the doing single track isolation with the two track board would not work because the outputs of all the RAMs are OR'd together.
- We then discussed standardizing the parameters sent to XTRP for Two Track,
Calorimeter and Muon triggers. The list is as follows:
- XFT_PT (can also appear as XFT_PT2 or XFT_CMX in some options)
- XFT_LAYERS
- XFT_CHARGE
- XFT_REQUIRE_ISO
- XFT_SPARE
- Many options will not specify all of parameters. Where they are not specified a hardcoded value will be sent instead.
- XFT_REQUIRE_ISO and XFT_SPARE will be implemented in the
database when (if) they are needed. But the interface will
have a location for them so that implementing them will only require
putting them in the DB and updating the Java code.
- There was extensive discussion about how to handle
the Pt bins for the XFT cuts. This carried over from last week. On
Wednesday, came up with the follwowing plan which we will try to
implement in the GUI code:
- User will enter a PT cut value
- GUI code will have access to the list of 48 Pt bins for
the 4 layer tracks. This will start hard coded but will come from the
Calibration DB when we get the Pt bins there.
- The GUI will take the value enetered by the user and
replace with the closest value LOWER from the lsit. If it is below
the lowest value then the lowest will be used. This will be entered
in the DB.
- XTRP FE code and L2 Java header file maker will also have
access to the list and choose the XFT bin based on this Pt value.
- For 3 layer tracks the XTRP FE and L2 Java code will assign
the Pt bin which has the next higher value from the 4 layer
(XFT_PT(3 layer)>XFT_PT(4 layer))
- Timescale for implmenting the GUI part of this is to be determine
- A list of new cut and parameter names and updated L1_Options will be
compiled by Peter by Friday. Cuts and parameters plus Trigger Options (L1/L2).
Nov 27, 2001
Attendees:
Jonathan, Donatella, Alexei,
Kirsten, Peter, Heather, Nathan, Stephen
News:
-
Donatella has a first version of the new L1/L2 trigger page and is well
along on the new Specific Options page for the GUI. There was a question
of whether she should create pages for Options and Cutsw and Parameters.
We asked Alexei to explain the steps taken to put new Options and Cuts
into the DB.
-
Kirsten added the planned columns to TRIGGER_NAMES and CUTS and PARAMETERS
(see 11/20)
Discussion of how to handle XFT pt values
-
Will put a set of Pt values in calibration database
-
48 values for 4 layer tracks
-
24? values for 3 layer tracks
-
Should this include a set of 1/pt for SVT?
-
These values in DB should be used wherever possible instead of hard
coded in many places.
-
Probably not ready before January
-
The TriggerDB GUI will not care what value is put into the DB unless
it is out of the allowable range.
-
Jonathan is concerned about edge effects where the code used to set up
XTRP maps rounds the cut and gets the wrong bit(s). Instead of putting
the actual XFT bin information into DB we will put in the value that
the user selects (e.g 8 GeV). In the Front-end code for XTRP
and Header file generator for L2, the Pt Cut from the DB will have 0.01
subtracted from it to prevent downloaded thresholds. This will ensure
that the trigger is slightly overefficient but prevent problems with picking
a threshold that pops to the next bin up.
-
Nathan told us what he needs to generate maps: A list of Pt, Sign,
Track ISO requirements and he can create an option.
-
Heather said that her electron code is currently setting the cut using
the nominal "edge" of the bin rather than the center. The XTRP uses
the center.
-
Specific decisions for L2 and XTRP tracks
-
Heather will change electron code to use bin centers rather than edges
-
Stephen will separate the tracks into 4 layer tracks and 3 layer tracks.
The etecron code will only use the 4 layer.
Nov 20, 2001
Attendees:
Jonathan, Donatella, Alexei,
Kirsten, Peter
News:
-
Donatella and Peter will get together before the next meetin to iron out
the details on the L1/L2 Trigger page and the L1/L2 Specific options pages
for the GUI
-
Kirsten will work on getting new columns in the DB
-
In TRIGGER_NAMES add
-
CROSS_SECTION_RATE
-
CROSS_SECTION_COMB
-
CROSS_SECTION_RANGE
-
All same type as CROSS_SECTION_NB (CHAR)
-
In CUTS and PARAMETERS
-
DEFAULT_VALUE
-
This will be the same type as SPECIFIED_VALUE
Discussion of Trigger Reports
-
Need Web page with instructions on how to get information on trigger tables
and links to various sources of information:
Donatella's summary in comma separated format (input to spreadsheet such
as EXCEL or Gnumeric) will be written to directory parallel to Alexeis.
Write this for all Validated tables.
Alexei's reports
Randy's DB browser
Run Summary page
Page with list of Physics Tables that were/will be used for Physics data
taking (not test tables or ones that were only used once). This will
have symbolic links to copies in Alexei's and Donatella's lists
Need to develop improved "standard" views for Randy's browser
Nov 13, 2001
Attendees:
Jonathan, Donatella, Alexei,
Heather, Peter
News:
-
No news discusison
-
We also postponed discussion of L1 Muon trigger options and Trigger reports
Changes to L1 and L2 Options
-
We discussed changes to L1 and L2 Trigger options in general and L1 Calorimeter
Trigger options in particular
-
The discusion included what Cuts and Parameters should appear for each
Option but also how these should work in the GUI
-
Some general comments:
-
Alexei told us that all the parameters in Cuts and Parameters table are
implemented as Float even if they are
logically INT
-
From now on would like the OPERATOR to default to
"="
-
Will add a "default value" column to cuts and
parameters
-
All paramters should come up with defaults in the
boxes
-
Kirsten thnks she can add this column this week
-
Would like to start using the range feature in the
DB to check that the values are within a specified range
-
There was extensive discussion on how to handle the
pt cut value. Jonathan pushed for the idea of having the user select
a pt value that corresponds to one the actual XFT pt bins. There
was extensive discussion over where to store the values, whether they should
be floats or charcter strings, whether the parameter stored in the DB should
be the pt bin (integer) or the pt value (float) etc.
-
Proposal is to have a list of 48 floats that is stored
in the DB or a flat file that can be accessed by frontend code (C ), online
code (Java) and offline code (C++)
-
The trigger DB would store the nominal Pt value
-
The user will enter a Pt value, the GUI will compare
this to the list of bins and redisplay as the nearest bin
-
This would be implemented using a single method for
all L1 and L2 options requiring an XFT track Pt (electron, tau, muon, track)
-
Initial implementation can use a hardcoded list in
Java
-
We made a Table of cuts and parameters to used for
new Electron, Photon, Jet and Tau options at L1. These are listed
along with options for Muon and Track trigger (discussed at the Trigger
Dataset working group a few weeks ago). The table has been updated (12/06)
to include L2 options and a new cut and parameter naming scheme: Trigger Options.
-
This is a first pass, we will discuss any changes at the Nov 20 meeting.
-
Note that the TYPE of all the parameters is in fact Float, this is column
is listed for illustration in how they are used
-
For questions like "Use HTDC": 0 = no or false and 1 = yes or true
-
Range and step size have been included for each parameter. We need
to check that the values chosen make sense.
-
A value of -1 in the step size means check a special list loaded from another
location (file or DB).
-
Note that for the Calorimeter triggers the main change is the removal of
HAD_EM_SEL and Tower Granularity parameters which will move to global parameters.
Currently these are hardwired.
Nov 6, 2001
Attendees:
Jonathan, Donatella, Kirsten,
Alexei, Dan (speakerphone), Peter
News:
-
Donatella plans to remove the database connection change from the "test"
version. This will make the test version work again. She and
Alexei have not managed to figure out why this did not work
-
We agreed to abandon work on the DB connection since we were doing this
as an interim solution. We will move directly to GUI merging.
-
Donatella reported that she has implemented converting entries into uppercase
on DB commit. However she hit a snag that all underlying parts must
exist in uppercase;
-
We agreed to start converting contents of the exiting Trigger table starting
at the Trigger level
-
L1 and L2 are already uppercase
-
Will ask Sarah to start converting L3 then paths and datasets later this
week
Plans for GUI Merging:
-
Step one will be for Donatella to make new first panel:
-
Since DB connection problems not resolved have the L1, L2 Trigger
and Specific Options buttons call Alexei's main panel
-
Once the L1 and L2 Triggers panels are ready she can point to the new pages
and leave the options point to Alexei's main panel
-
Then when Specific Options panels are ready drop Alexei's completely
-
Next work on L1 and L2 trigger panels:
-
Based on Dataset panel with Triggers replacing Datasets and Specific Options
replacing Paths
-
Need to following additiaonal items. They should all be opitional
and the code should impose the default which appears in parentheses:
-
Web Page ("None")
-
Physics Group ("CDF")
-
Rate (0.0) - this does not currently exist in DB
-
Cross-section (0.0)
-
Luminosity Dependent Cross-section (0.0) - this currently does not exist
in DB
-
Allowed limit in percent (50) - this currently does not exist in the DB
-
We agreed that the above parameters will be allowed to be changed via a
replace. We will want to make a tool to change them. This will
allow us to update numbers for monitoring.
-
Appearance of the Cross-section info will be: "sigma = ([ 0.0 ]/L
+ [ 0.0 ] + [ 0.0] * L) nb +/- [ 50 ] % " where the [ ] refer to a box
that allows entry and the default appears in the box.
Agenda for Next Week:
-
Specify new L1 Muon options
-
Define plan for trigger reports
Oct 30, 2001
Attendees:
Jonathan, Donatella, Kirsten,
Stephen, Heather, Peter W, Peter W,
Rick St Denis, Randy Herber,
Jack Cranshaw
News:
-
The test version of the DB GUI does not work for L1, L2 trigge creation
to "fix" to database connection problem. Alexei was not here
to report on this.
Problem of Mixed case information in database:
-
Randy explained that mixed (unknown) case of data in TriggerDB keys
makes searches in Oracle very slow.
-
We discussed adding a new column with an Uppercased version of the key
for any relevant table. This will take some work.
-
We dicussed which table sare an issue: looks like one needs to go down
to the level of specific option at L1 and L2.
-
Converting to uppercase everywhere is not a good option because L2 and
L3 have mixed case in the code the the DB must reflect that.
However, these are at a level below most peoples seacrhes.
-
Short term plan is to make all new trigger DB entries use uppercase (convert
on entring in DB) for the following items:
-
Trigger Names
-
Dataset names
-
Physics Table Name
-
Specific Option Names
-
Donatella will make this change in the Trigger Gui
-
Randy's DB browser will assume UPPERCASE as the default. A search
on mixed case will be an option
-
Trigger people will provide links that can be added to Randys page to help
people understand the
Specifcation of L2 Electron, Photon and Two-Track Code interfaces:
-
Heather, Stephen, Jonathan, Peter and Peter discussed what the interfaces
to the L2 code for electrons, photons and two track triggers should include.
-
For electron and Photon:
-
RECES thresholds and and clustering pass will appear in specific options
-
Electrons are implictly Central and therefor no Eta cut is required.
Plug electrons are defined by the Photon algorithm
-
All other parameters will come from the following table:
| Trigger |
Et |
Pt |
Had/EM |
ISO (%) |
ISO (GeV) |
Eta-min |
Eta-Max |
| Electron |
Req |
Req |
Y |
N/A |
N/A |
N/A |
N/A |
| Photon |
Req |
N/A |
Y |
Y |
Y |
Y |
Y |
-
N/A - does not apply for this trigger, Y - applies but not necessarily
required, if not supplied a default will apply, Req - must supply a value
-
For the two track triggers:
-
We defined three types: standard Two-SVT track triggers with corellations,
Simple two track triggers (counting only), SVT-XTRP triggers
-
Stephen already has code for the simple two-SVT type
-
Parameters will follow from the following table:
| Trigger |
Ntrack |
chi2 |
Pt |
dmin |
dmax |
Sum|pt| |
Opp Q |
dphimin |
dphimax |
|dB| |
Sum Pt.Xv |
| Simple Two-SVT |
Req |
Y |
Req |
Req |
Y |
N/A |
N/A |
N/A |
N/A |
N/A |
N/A |
| Two-SVT |
2 |
Y |
Req |
Req |
Y |
Y |
Y |
Y |
Y |
Y |
Y |
| XTRP-SVT |
2 |
Y |
Req |
Req |
Y |
N/A |
Y |
Y |
Y |
N/A |
N/A |
-
N/A - does not apply for this trigger, Y - applies but not necessarily
required, if not supplied a default will apply, Req - must supply a value
Oct 23, 2001
Attendees:
News:
-
Alexei reported on Error handling
-
Error logfile is now created in the common trigger files subdirectory during
validation
-
Need to make sure that output can be suppressed since same code is used
for RC with FRED
-
Alexei has new FRED code prototyped and has tested it on a table in the
Integration DB
Discussion of Global Parameters:
-
There was an extended discussion of Global parameters. Will try to
summarize later
-
The following was sent in email prior to the meeting to start the discussion:
Date: Mon, 22 Oct 2001 17:19:15 -0500
From: Peter Wilson <pjw@fnal.gov>
To: Trigger Database Working Group <amidei@umich.edu>,
Frank Chlebana <chlebana@fnal.gov>, demers@fnal.gov,
hray@fnal.gov,
jdl@fnal.gov, jsm@fnal.gov, kirsten@fnal.gov,
ksmcf@fnal.gov,
luciano@fnal.gov, meyera@fnal.gov, myron@umich.edu,
patrick@fnal.gov,
smaria@fnal.gov, torretta@fnal.gov, varganov@fnal.gov,
wittich@fnal.gov
Subject: Global parameters and a few other things to add to the Trigger
database
The general idea is to add a new table to the Trigger database that
would
contain a list of global parameters. The table that spaecifies
the
Physics table would have the version of the set of global parameters
added
to it. That way if we add a new global parameter we can be backwards
compatible.
Here is the list of global parameters that Jonathan and I came up with.
This will be a topic of discussion in tomorrows trigger database meeting.
Peter
1. L2 Code CVS Tag - this would be the tag for the code that L2 was
compiled against. In the GUI you would be able to select "Current"
or
specify a specific version for testing.
2. L1 Calorimeter/DIRAC Tower Granularity - currrently selected for
each
trigger. This would be a single value for HAD, EM, Plug and Central.
3. L1 Calorimeter/DIRAC HAD/EM granularity (aka HADEMsel) - again
this is currently selected per trigger. There would be a plug
and a
Central version (two parameters).
4. Set number for XFT Pt bins - this may be tied to the hardware DB.
5. Set number for SVT roads - similar to XFT bins. It is not clear
that
this is needed for the trigger table.
6. Firmware versions for Muon trigger cards:
a) Match cards
b) PreMatch cards
c) Muon Trigger Summary
7. Firmware version(s) for XTRP firmware?
8. CSX Trigger using MeanTimers or Single Counters
9. Association of Muon delta t with pt threshold. Muon Delta T
cuts?
These we think should go into or stay with the individual triggers:
1. DCAS seed and shoulder thresholds
Other items that should be added or start being used but not global
paramters:
1. For predicted trigger cross-section: add contant rate and non-linear
terms (1 parameter goes to 3)
2. Start filling information on valid rages for parameters in the datbase.
What needs to be done to implement this? Who can do it?
3. Implement rate limit option at L2?
4. Can the L1 prescale specific option be extended to a L1 Dynamic
prescale option with multiple parameters? Does this require a
schema
change?
Items that should go into the other databases that might not be there:
1. Calibration constants for RECES thresholds in calibration database.
This is similar to ADMEM getting calibration constants used for Trigger
Tower energies.
Oct 8, 2001
Attendees: Jonathan, Donatella, Kirsten, Peter, with Dan and
Stephen on speaker-phone
Status of Error handling: Alexei could not report as he was retrieving
his
car. We will discuss this further next week.
Donatella reported on what she see's as her current priorities:
1. Fixing DB connection issue with Alexei's DB - with Alexei
2. Merging calls to Alexei's L1, L2 pages directly from her page
3. Pop up window of validation errors from L1/L2 trigger validation
when
making tables
4. Check for duplicated L1, L2 or L3 triggers with different version
numbers before committing Physics table
5. Fixing ordering by version number in GUIs
We then discussed the overall priorities for DB work by Nov 17 (end
of
shutdown):
1. Make GUI/table making ready for less expert people to make tables
o Finish GUI merging
o Improved error reporting for L1/L2
o Written procedure on web for making tables
- Need to clarify Oxford
operations: need better contact such as a
single mobile phone number
to call or a clear shift rotation.
o Moving of TCL files to code browser needs to be automated
o Need to retire old Options, triggers, paths, datasets and
tables
2. L3 Filters moved to new Filter Package in offline. Under librarian(s)
in L3 group. This was later discussed in the TDWG meeting on
Thursday.
3. L2 code/executable versioning: Stephen said he and Peter Wittich
would
come up with a plan. This will be presented in 1-2 weeks.
4. Switch from TFRD to TL2D for the L3 prereq module.
After experience from the past few weeks it has become clear that we
do
not want to switch back and forth between TL2D and TFRD for cutting/tagging
runs.
The problem:
We definitely want to use TL2D for the rereq module when we
are cutting at L2. Otherwise there are volunteers at L3 that
increase
rates. They also make it difficult to understand the rates from
the
monitoring programs. However, with the current scheme of switching
from
cutting to tagging at L2 there is a problem with using TL2D in tagging
runs. The effect of doing tagging at L2 and using TL2D for the
prereq at
L3 is to make the L2 decision in L3 using the TL2D bits. This
defeats
the purpose of L2 Tagging. One option is to switch to TFRD for
the prereq
module if we are tagging at L2. This is was the proposal put
out by
Kirsten in early September including several options for implemenation.
The problem with using TFRD is that we get rates for the L3 triggers
that are very different in L2 tagging than L2 cutting so it is
difficult to validate the table.
The proposal:
1. Switch to using TL2D for any trigger table that has L2 triggers
(essentially all tables). L3 would only look at the TL2D bits
for
a given path. L3 will assume that L2 has already required the
correct L1
bit for that path. Making sure that that is done correctly will
be left
to monitoring (see L3 Filter for TLD errors in item 6 below).
2. Only special L1/L3 only tables would use TFRD. This would be
done by
using a manual switch by Kirsten/Sarah as to which TCL template to
use.
3. Add a L2 monitoring path to the physics tables:
Level 1 an OR of all the
L1 triggers in the table
Level 2 an auto-accept
Level 3 run all reconstruction
but no filter
For L2 cutting, L2 would
have prescales to make the
rate of the L2 Monitoring
path be on the order of 1% of the total
L2 output rate. There
would be two groups of triggers with
separate prescales: track
triggers and all others. The track
triggers would get a larger
prescale.
For L2 Tagging, the L2 prescales
would be set to 1.
Tagging vs cutting would
be set by RC. If in tagging mode RC
would send down prescales
of 1 instead of the prescales in the
TriggerDB.
These next items are not directly part of the switch to TL2D but are
related to the L2 monitoring path in their needs.
4. Add a L3 monitoring path to the physics tables:
Level 1 don't care
Level 2 an OR of all the
L2 triggers
Level 3 run all reconstruction
but no filter
L3 would have prescales to
make the
rate of the L3 monitoring
path be on the order of 1% of the total
L3 output rate.
5. Add a L2 Error trigger path to the physics tables
Level 1 an OR of all the
L1 triggers in the table
Level 2 would be controlled
by the L2 Error Handler
Level 3 run all reconstruction
but no filter
The L2 error handler would
set this trigger for events which have
problems that corrupt this
events data but not future events.
There would be a mechanism
to have an escalating prescale
(e.g. take first 10 events,
then take 1/10 for next 100, then
1/100 for next 1000 etc)
for each error type. Would include error
flag in data (TL2D or error
bank?).
6. Add a L3 Path (and filter) for TL2D errors to physics table
Level 1 don't care
Level 2 an OR of all the
L2 triggers
Level 3 do comparision of
TL2D with TFRD, TL1D, Clusters, XFLD,
SVTD to make sure that all
data got into processors corectly.
Accept events with corrupt
TL2D info
As with the Error handler
trigger at L2, there should be a
mechanism for an escalating
prescale so that the bandwidth is not
saturated by these errors.
Of course choking the system would be
one way of alarming the
shift crew that there is a problem with the
trigger.
7. For items 3, 4, 5, and 6 would like to have a monitoring stream out
of
Level 3. This should
be small for good running with L2 and L3
cutting. It would
get large if there were major problems with L2
or if we in L2 tagging run.
Oct 1, 2001
Attending: Alexei, Jonathan, Donatella, Peter Wilson, Dan (speakerphone)
Reports of on going work:
Alexei is working on several L2 issues: Error Handler and L2 SVT Trigger.
He expected to finish these on Monday. His next job is to work
on the
database connection to the L1/L2 GUI. We have several cases of
switching
back and forth between Alexei's L1/L2 GUI and Donatella's
Paths/Datsets/Tables GUIs causing problems with the database.
Alexei will
try to make a connection to the database handles that Donatellas GUI
opens
rather than opening a new one. This is critical to proceeding
with GUI
merging.
Donatella has made several improvements to the Physics Table GUI.
It now
looks for duplicated paths in the Physics table and issues a warning
before committing the information to the database. The user can
then
continue like you would want to do for paths appearing in Express as
well
as another dataset or return to the Table editor and fix the problem.
The
check issues a warning wether the paths have the same version number
or
not. She is looking into doing the same kind of check to require
that all
copies a a given trigger (at L1, L2 or L3) have the same version number.
Next on Donatellas list is merging the GUIs. She will start by
calling
Alexei's L1 and L2 panels directly from her panel instead of going
through
Alexei's intermediate panel.
We had a brief discussion on what issues to tackle next:
1. GUI merging. We will need to resolve several issues to make
significant progress:
- Need Alexei to fix DB
connection
- Need to decide on global
parameters
2. Error reporting for table validation (L1/L2)
3. Planning for what we want to have implemented before Nov 17 (end
of
shutdown)
- TL2D for l3 prerequiisties
- GUI Merging complete
- L2 Code management
- Global parameters
Last updated by Peter Wilson pjw@fnal.gov on 19 Nov 2001
Created by Peter Wilson pjw@fnal.gov on 6 Nov 2001