XFTSim


Introduction:

The main objective of XFTSim is to emulate XFT Finder and Linker algorithm. XFTSim finds Finder track segment and Linker track information from XTC prompt, delayed COT hit information. It also provides monitoring tool to compare simulated XFT data to data from real hardware XFT.

Its simluated data can be provided to TrigMon to be compared with real data as well as used for stand-alone monitoring purpose.

Using the ability to access database, it can adjust itself to accomodate different run environments such as different beam positions, different finder designs. All these adjustment can be controlled by modifying .tcl file to operate XFTSim.


Code

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

In the class XFTSim, there are several methods implementing the various steps of the simulation. The most important are: In the file XFTMonitor.cc, there are several methods implementing the various steps of comparison for monitoring. The most important are: XFTSim talk-to

If you want XFTSim to read configuration info from database, remember to include following talk-to to "CalibrationManager" section of .tcl file.

An example of talk-to for "CalibrationManager" is in here.
Always look in run_XFT.tcl for the latest on XFTSim talk-to's.

Following is description for talk-to variable for XFTSim section.

XFTSim input and output

XFTSim reads input from XFFD and XFLD. XFFD bank has XTC prompt, delayed hit information and Finder pixel information. XFLD bank has Finder pixel information and Linker track information.

XFTSim reads XTC hit information from XFFD bank, and simulates Finder algorithm and write Finder pixel information into XFFD bank. (with description "Simulated Trigger Bank" to tell from real data bank)

XFTSim Linker section reads XFLD pixel information and simluates Linker algorithm and write Linker track information into XFLD (with description "Simulated Trigger Bank" to tell from real data bank)

Finder simlution also can read XTC data simluated from COTD (if you set talk-to differently). Linker simulation also can read pixel information from Finder simluation instead of reading XFLD pixel data. (if you set talk-to differently) As a results, XFTSim produces two set of XFFD and XFLD bank with different "description".

More detailed description for XFFD and XFLD bank can be found in here

Here is a short description of how to write AC++ code to read XFFD and XFLD bank


Questions? Send e-mail to XFTSim people

Last updated  Oct. 19. 2001; Jong-young Chung