Subject: trigger spec

From: "Robert Lindenbusch" <[email-masked]>
Date: Sun, 6 Feb 1994 12:27:31 -0500

Here is a first draft of the spec. for the trigger software.  I would
like to get this out to the rest of the collab. this week, so please take a lookat it and make suggestions/comments. This is VERY rough!

*** Draft of trigger programming software spec ***

        The trigger programming software will be built using OSF/Motif. Each
module will have a seperate window in which you can edit it's programming as
follows :

        1) Modules performing standard logic functions :

                The module will be represented graphically, and the user will
        be able to define each of it's outputs using an english/FORTRAN
        expression such as .NOT.S1.AND.S2.AND.S3.AND.NOT.S4.  Each output will
        also have an alias attached to it, which will be used to refer to the
        given signal at later times (i.e. beam, pre-trigger, etc.).

        2) Multiplicity modules :

                The module will be represented graphically, and the user will
        able to define each of it's outputs through a series of toggle buttons.
        Each chamber will have a series of toggle buttons representing it's
        possible multiplicities. The output will be automatically aliased to
        the conventional term (i.e. 1-5-5, 0-2-2, etc...)

        The inputs to the modules will be defined seperatly, in order to avoid
confusion.  The user will be able to change these inputs.  When the output of
a module changes, these changes will be propogated to all other modules that
take that signal as an input.
        When the trigger is changed, the arrays defining the logic, as well as
the expresions that defined them, will be saved to a mapmanager database.  At
the beginning of each run, the trigger logic will be read out and saved on the
data tape.  Thus, at a later time, the trigger can be reconstructed simply by
reading the data tape and searching the map for the matching array, which will
then also give the "english" expressions for the logic.

                                Rob

-- 
******************************************************************************
Rob Lindenbusch                       * Indiana University High Energy Physics
[email-masked]               * Currently at Brookhaven National Lab
(516)282-4821                         * Worthless graduate student slime
******************************************************************************