Data Handling and Transfer in the LHCb Experiment

This paper focuses on the management of raw event data files containing the electronic response to particle collisions in the LHCb detector at the LHC storage ring at CERN. The typical file life cycle is presented, starting from writing of raw event streams into files to transfer to the CERN tape storage system and to the offline GRID distributed processing infrastructure. A distributed solution centered on a dedicated database is implemented to address the raw event data management needs. The solution is integrated with the data acquisition system software chain and with the experiment control system. The software architecture and hardware configurations are explained together with the testing methods, current development status and future plans.