]>
Commit | Line | Data |
---|---|---|
f78666e7 | 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 | ||
78641ea9 | 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 | |
f78666e7 | 16 | export PATTERN=Run |
78641ea9 | 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 | |
f78666e7 | 25 | alienroot -b <<EOF |
d92b41ad | 26 | .L ana.C |
27 | ana($MODE) | |
f78666e7 | 28 | EOF |