XTRPSim

Introduction:

As can be seen from the figure below, the focal point for much of the Level 1 trigger information is the XTRP module. The purpose of the XTRP is to receive tracking information from the XFT and distribute the tracks and/or information derived from the tracks to the Level 1 and Level 2 trigger subsystems. After receiving the tracks from the XFT, signals are sent to the Level-1 Muon system (L1MUON), the Level 1 Calorimeter trigger (L1CAL), and the Level 1 Track Trigger (L1TRACK). The tracks are also put into a pipeline and upon receiving a Level 1 accept are sent to the Level 2 processor. The tracks then sent to the Level 2 processor and the silicon vertex trigger (SVT).

The purpose of the XTRPSim package is to exactly duplicate the functionality of the XTRP module at the hardware level. Data is inserted into the XTRPSim in the same format as the XTRP module and clocked through an exact replication of the XTRP boards. Output banks are then created (with description "Simulated Trigger Bank") which should exactly match the real banks.

Code

The following classes have been designed and coded (package XTRPSim):

Input and Output

The XTRPSim package inputs track data either from XFLD or XTRD D-banks. The parameter "readinXFLD" in the talk-to determines which bank is read in: XFLD data, readinXFLD = 1; XTRD, readinXFLD = 0. Normally XTRPSim should be run in the default mode and pull input from the XFLD D-banks. For diagnostic purposes, it is sometimes useful to pull input from the XTRD D-bank. The parameter "standalone" in the talk-to determines if real (standalone = 1) or simulated (standalone = 0) XFLD is read in. Normally XTRPSim should be run in the default mode and pull input from real XFLD D-banks.

XTRPSim produces in output the following bank and storable_object:

tcl file to run XTRPSim

In general look at the script simpleRun for an example of accessing the talk-to menu. The options are:

Future plans for XTRPSim involve pulling many of these options from database entries.


Questions? Send e-mail to XTRPSim team or TRGSim team

Last updated  Sept 04 2001; Simona Rolli