]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG4/macros/ana.sh
New more general analysis implemention for particle identification and correlation...
[u/mrichter/AliRoot.git] / PWG4 / macros / ana.sh
1 #!/bin/bash
2
3 # ana.sh
4
5 #
6 # Created by schutz on 09.04.08.
7 # Copyright 2008 ALICE. All rights reserved.
8
9 #Analysis mode, 0 local, 1 localCAF, 2 PROOF, 3 GRID
10 export MODE=$1
11
12 #Local mode parameters
13 #Data root directory
14 export INDIR=$2
15 #Pattern of data directory name
16 export PATTERN=Run
17 #Number of files to analyze
18 export NEVENT=$3
19
20 #GRID mode parameters
21 #name of xml file
22 export XML=$2
23
24 #Do the analysis
25 alienroot -b  <<EOF
26 .L ana.C
27 ana($MODE)
28 EOF