next up previous contents
Next: Useful Offline Computing and Up: Overview Previous: Other Software Tools

STAR Simulations, Reconstruction and Calibration Software

  The Simulations and Analysis Software (SAS) group in STAR provides ongoing service and support for the STAR project. This includes contributions to the detector design by way of simulation studies and helping to understand the performance of the detector hardware and electronics by providing analysis software and manpower for analyzing test data. Starting in 1999 SAS will be responsible for analyzing the first ion-ion collision data and for carrying out large scale simulations to determine detector acceptances, reconstruction efficiencies and backgrounds. This section provides a brief summary of the mission, requirements and general design plan for the offline simulations and analysis software. Several useful programming guides are listed for those interested in developing new code or improving existing modules.



PURPOSE:


The purposes of the STAR offline simulations, reconstruction and calibration software are:

1.
To simulate the particle production from nucleus + nucleus, proton + nucleus, and proton + proton collisions, as well as that from background sources and from special calibration procedures.
2.
To simulate the propagation, scattering, energy deposition, decay and secondary particle production throughout the detector from all the preceding sources of particle production, in both the active and inactive parts of the detector.
3.
To simulate the physical (ionization, charge drift and collection, light production and propagation, photo-electron production, etc.) and electronic (pre-amp, shaper, analog-to-digital conversion (ADC), time sampling, etc.) response of each detector to the passage of ionizing particles and energy deposition in the active portions of the detectors.
4.
To realistically simulate fluctuations and non-uniformities in order to facilitate the development of calibration and correction procedures and software.
5.
To reconstruct the collision event from either the simulated or real data to a sufficient extent that the physics goals of STAR and the physics capabilities of the subdetectors can be realized.
6.
To analyze calibration and correction data, both simulated and real, in order to provide corrections which remove the effects of instrumental fluctuations and non-uniformities from the data.
7.
To sufficiently evaluate and visualize the results to determine the adequacy and correctness of the simulation, event reconstruction, calibration and physics analysis software.
8.
To simulate, analyze, evaluate and develop trigger algorithms which can be used in the on-line trigger system.
9.
To generate acceptance and reconstruction efficiency tables and to facilitate studies of backgrounds for the full range of physics observables for STAR.



REQUIREMENTS:


The requirements of the offline software are driven by the physics goals of STAR and by the performance capabilities of the various detectors. However, detailed specification of the required performance of a given software component is quite difficult. For example, the performance of the TPC event reconstruction software can be measured in terms of track finding efficiency, tracking purity, momentum resolution, impact parameter resolution, particle identification accuracy and efficiency, two-track resolution, etc. For each performance criteria the requirements vary considerably depending on the physics issue being considered. Temperature and mean transverse momentum determination, for example, is not particularly demanding of the tracking software whereas strange particle reconstruction (V0 decays) and Hanbury-Brown and Twiss (HBT) interferometry analyses are very demanding of the software and place high performance criteria on most aspects of TPC tracking. The varied physics goals of STAR impose a wide range of performance requirements on the software.



FUNCTIONALITY:


The essential functionality includes:

The list of SAS deliverables to the project include analysis modules, data structures or tables, linked STAF executables, run time procedural control scripts for running STAF which presently are KUIP macro (kumac) files, event generator codes and event files, Geant implementation for STAR or GSTAR as well as output files, detector geometry files, event reconstruction output files including DSTs, first pass physics analysis results and web based documentation.



GENERAL DESIGN:


Beginning in late 1995 selected members of SAS conducted an intensive design effort for the offline simulations, reconstruction and calibration software for STAR. The first version of the STAR Offline Simulations and Analysis Software Design Document was completed in early 1997 and was released both as a STARNOTE (#281) and as an html document. See the URL:


http://www.rhic.bnl.gov/STAR/html/sas_l/design/sas_main_html.html

The purpose of this design work was to specify the basic requirements, the essential functionality, and the general content of the major data structure interfaces for the offline software. Additional functionality and data information will inevitably be required as the software continues to develop and this design framework is intended to be flexible and amenable to change. While the document outlines the required functionality of the software it does not fully described the actual algorithms, data objects or runtime control scripts which constitute the actual implementation of this design plan. Plenty of opportunities for original contributions remain. It is intended that this document evolve in parallel with the actual software, both guiding its development and documenting its overall structure. Upon completion, this document will provide an overview and top-level description of the actual offline software for STAR.

The scope of the initial version 1.0 includes simulations, event reconstruction and calibrations. The document specifies, in a general way, the necessary computational processes (to be implemented in PAMs and kumac files) and data structure interfaces which are implemented as STAF tables.

The document presents the offline software in a convenient, hierarchical organization. It is important for those new to STAR offline computing to realize that the actual software library is not organized in this way. Later STAR libraries (e.g. SL98a) are reorganized to be more like the design document but still differ from it. Each section in the report contains the following: (1) description of the purpose, requirements and essential functionality of the specific subsection, (2) functional model or data flow diagrams, (3) execution flow charts for a few cases, (4) glossary defining, in a general way, the computational processes and data structures, and (5) a brief status of software update.

The STAR Note version is available on the web starting from the STAR Home page, selecting ``general documents,'' then ``STAR Notes,'' then ``Keyword Search,'' and by entering SN0281 in the dialog box. A convenient, html version is also available HERE or directly at the preceding listed URL.



STAF PROGRAMMING GUIDES


Several useful STAF PAM programming guides are available:


next up previous contents
Next: Useful Offline Computing and Up: Overview Previous: Other Software Tools
Lanny Ray
2/20/1998