]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PHOS/macros/pi0Calib/README
Toolkit for pi0 calibration.
[u/mrichter/AliRoot.git] / PHOS / macros / pi0Calib / README
1 How to run one iteration of the pi0 calibration in the GRID:
2 ============================================================
3
4 Step 1 (aliensh)
5
6 - copy the whole content of this directory (don't forget .roorc!) to your alien directory;
7 - put pi0Select.sh to your ~/bin alien directory;
8 - submit jobs from alien shell: submit Pi0Select.jdl
9   This will launch the analysis of ~2*10**6 pp min bias events from the 
10 minbias_LHC09a4_81040_81050.xml collection. To analyze your own collection, update Pi0Select.jdl
11 and AnaPi0Select.C accordingly.
12
13
14 Step 2 (local directory)
15
16 - Copy PHOS.tgz in this directory to your local directory;
17 - Run   tar xzf PHOS.tgz
18
19         WARNING: Run this after the _first_ iteration only!!
20
21 - merge the outputs of the analysis jobs (files histos.root) to the file Sum_All_Emc.root
22  (use macro addhistoEmc.C if needed) and copy this file to your local directory;
23 - Run pi0Calib.C script to calculate the corrections to the calibration coefficients:
24         root -b -q pi0Calib.C
25 - directory PHOS/Calib/EmcGainPedestals/ will contain the corrections to the calibration 
26 coefficients to run the next iteration;
27 - Run   tar czf PHOS.tgz PHOS   and copy PHOS.tgz to your alien directory.
28
29                 For next iteration go to Step 1.
30                 --------------------------------
31
32
33 Useful files:
34 =============
35
36 - use anaTask.C to run analysis locally. The list of ESD files to analyze is: list.txt.
37 - for algorithm description and feasibility studies look at the presentation:
38         http://indico.cern.ch/conferenceDisplay.py?confId=36806