| Lanzhou heavy-ion accelerator Cooling Storage Ring(HIRFL-CSR) is the only large heavy-ion experiment device in China. After the CSR was built up, the first phase external target experiment device was built up, which was mainly used to carry out the research of nuclear matter. The main content of this paper is to target experimental data processing software framework for advanced research.Based on the research of the general software framework of high energy physics experiments at home and abroad, combined with the CSR external target experiment, the development of data processing software based on Gaudi software framework is selected. The data processing software development environment for Linux system, design process uses a lot of C++ object oriented language, also use configuration management tools(CMT) to manage the development process using the software package. In the experiment, the original data obtained by the detector is stored in the disk and other permanent media in the form of binary flow, which is used for data processing software. The main research work of this dissertation includes:CSR data processing software framework design. According to the experimental requirements of CSR, the basic framework of the data processing software is designed according to the Gaudi service and user mechanism.Data format design. Firstly, according to the structure of CSR experimental device and the scale of the detector, the original data storage format of the BESIII experiment is used for reference, and the data processing software is designed for the data processing software. Secondly, design the appropriate format for the data used in the process of data processing.Data conversion service design. Based on the data and algorithm of the idea of the separation of the design of the data conversion services, the main realization of the original data and transient data base in the cache data conversion. The data conversion service design includes the converter and conversion services two parts.Data processing algorithm design and job allocation. In order to verify the availability of data conversion services and the correctness of the experimental data, a simple correction algorithm is designed. At the same time, in order to better observe the velocity distribution of particles, using the physical analysis software ROOT to draw the distribution of the velocity of the incident particles. Finally, in order to complete the algorithm module of the data conversion service calls, completed the job file configuration and implementation of the software system.The test results show that the data processing software designed in this paper can ensure the correctness of the original data processing, and meet the design requirements. |