]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWG4/macros/ana.sh
New more general analysis implemention for particle identification and correlation...
[u/mrichter/AliRoot.git] / PWG4 / macros / ana.sh
CommitLineData
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
10export MODE=$1
11
12#Local mode parameters
13#Data root directory
14export INDIR=$2
15#Pattern of data directory name
f78666e7 16export PATTERN=Run
78641ea9 17#Number of files to analyze
18export NEVENT=$3
19
20#GRID mode parameters
21#name of xml file
22export XML=$2
23
24#Do the analysis
f78666e7 25alienroot -b <<EOF
d92b41ad 26.L ana.C
27ana($MODE)
f78666e7 28EOF