DØ "How To" Guide to
How To Run RECO

Page updated July 13, 2002

This document describes how to a) run the default version of the DØ reconstruction program (RECO), b) customize your own version of RECO to run a subset of the standard algorithms and c) build and run a RECO that includes your own version of some existing algorithm.

Introduction

The DØ Offline Reconstruction Program (RECO) is responsible for reconstructing objects that are used to perform all DØ physics analyses. It is a CPU intensive program that processes either collider events recorded during online data taking or simulated events produced with the DØ Monte Carlo (MC) program. The executable is run on the offline production farms and the results are placed into the central data storage system for further analysis. The program uses the DØ Event Data Model (EDM) to organize the results within each event. EDM manages information within the event in the form of chunks. The Raw Data Chunk (RDC), created either by the Level 3 trigger system or the MC, contains the raw detector signals and is the primary input to RECO. The output from RECO is many additional chunks associated with each type of reconstructed object. RECO is designed to produce two output formats which can be used for physics analyses, and which are optimized for size. The Data Summary Tape (DST) contains all information necessary to perform any physics analysis, and is designed to be 150 Kb per event. The Thumbnail (TMB) contains a summary of the DST, and is designed to be 15 Kb per event. The TMB can be used directly to perform many useful analyses. In addition, it allows the rapid development of event selection criteria that will be subsequently applied to the DST sample.

RECO is structured to reconstruct events in several hierarchical steps. The first involves detector-specific processing. Detector unpackers process the RDC by unpacking individual detector data blocks. They decode the raw information, associate electronics channels with physical detector elements and apply detector specific calibration constants. For many of the detectors, this information is then used to reconstruct cluster (for example, from the calorimeter and preshower detectors) or hit (from the tracking detectors) objects. These objects use geometry constants to associate detector elements with physical positions in space. The second step in RECO focuses on the output of the tracking detectors. Hits in the silicon (SMT) and fiber tracker (CFT) detectors are used to reconstruct global tracks. This is one of the most CPU-intensive activities of RECO, and involves running several algorithms. The results are stored in corresponding track chunks, which are used as input to the third step of RECO, vertexing. First, primary vertex candidates are searched for. These vertices indicate the locations of ppbar interactions and are used in the calculation of various kinematical quantities (e.g. transverse energy). Next, displaced secondary vertex candidates are identified. Such vertices are associated with the decays of long-lived particles. The results of the above algorithms are stored in vertex chunks, and are then available for the final step of RECO - particle identification. This step produces the objects most associated with physics analyses and is essential for successful physics results. Using a wide variety of sophisticated algorithms, information from each of the preceding reconstruction steps are combined and standard physics object candidates are created. RECO first finds electron, photon, muon, neutrino (missing ET) and jet candidates, which are based on detector, track and vertex objects. Next, using all previous results, candidates for heavy-quark and tau decays are identified. Additional physics object identification is planned (e.g. Ks, Lambda, J/psi, W, Z, etc.) and will be added as the reconstruction algorithms become available.

RECO is developed and maintained by the DØ Algorithms group, which is composed of the detector, tracking, vertexing and Object ID sub-groups. The program is currently organized into 36 sub-systems, which reside in about 180 individual software packages.

Running the default version

If you would like to process a sample of events through the default version of RECO, you can do the following:

Customize RECO by turning off a step

Many users want to run the standard RECO executable, turning off some algorithms that they are not interested in. To do this, you will need to check out the d0reco package from CVS and modify the appropriate reco framework rcp file.

Build and run your own version of RECO

Some users may wish to test modifications to existing RECO algorithms. The following steps show how to build a local version of RECO that includes such modifications.


This page maintained by Harry Melanson