Single-Particle Embedding in EMCal (HOWTO)

This page describes the steps and tools needed to embed simulated single particles into real DSTs for EMCal efficiency calculation. It basically applies to Run-1 data but with minor modifications will be also perfectly usable for Run-2 data. It supersedes the older Run-1 HOWTO.
In a general way, the embedding process includes the following steps described below:

  1. SIMULATED DST PRODUCTION:
    1. EXODUS: Generation of the PISA (ascii)  input file
    2. PISA: Generation of (ROOT) PISA hits file
    3. Response (camresp.* chain): Generation of simulated PRDF
    4. Reconstruction (preco): Generation of simulated DST

  2. MERGING OF SIMULATED AND REAL DSTs:
    1. Embedding and Evaluation (pdst-based code)

  3. EFFICIENCY CALCULATION

Running interactively the whole chain described here in a RCF Pentium III biprocessor (1 GHz CPU), takes 1:30 per run (1600 events). The most time-consuming processes are by-far the generation of the PISA hits file (~30 min.) and the response (~30 min., without MVD very-slow response).

The process described here is roughly a written transcription of the following C-shell scripts:
1. Whole merging chain: merge_chain.sh
2. Needed directory/files installation: merge_install.sh
3. EXODUS file generation: merge_exodus.sh
4. PISA hits file generation (B field on/off): merge_pisa_on.sh, merge_pisa_off.sh
5. Simul. PRDF generation: merge_respo.sh
6. Simul. DST generation: merge_reco.sh
7. QA of simul. DST: merge_qa.sh
8. Simul. + Real DST merging: merge_embedding.sh


1. SIMULATED DST PRODUCTION:

The current plans for last year data full efficiency calculations are to produce a unique simulated DST per real DST (containing roughly the same number of events, i.e. ~1600 evts/run) and for 3 different species: photon, pi0 and eta (pbar and nbar would be potentially next in the list). The list of total valid runs can be found here. This makes more or less 3 x [1600 evts/real-run x 4300 real-runs] = 3 x 7.0E+06 single-particle events.
 

1.1. EXODUS: Generation of PISA single-particle input file:

1.2. PISA: Generation of PISA hits file:

1.3. Response (campresp.* chain): Generation of simulated PRDF:

1.4. Reconstruction (preco): Generation of simulated DST:


2. MERGING AND EVALUATION:


EMCal embedding practical details:


Back to my home page
/WWW/p/draft/enterria/ 
/WWW/publish/enterria/


enterria@in2p3.fr, denterri@bnl.gov

Last modified: Tue Jul 6 16:50:00 EDT 2004