]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TPC/macros/clusterMacros/run.sh
store ntuple in same file as histos (Renu)
[u/mrichter/AliRoot.git] / TPC / macros / clusterMacros / run.sh
1 #!/bin/bash
2
3 folder="/lustre/alice/jthaeder/data/compressionSGE/data_2011-08-06"
4 version=20a
5
6
7 #  -----------------------------------------------------------
8 #  -- make results
9 #  -----------------------------------------------------------
10
11 if [ ! -d results ] ; then 
12     mkdir -p results
13 fi
14
15 for useFriends in 0 1 ; do
16     aliroot -b -l -q readClusters.C'("'${folder}'_Pythia","Pythia","'${version}'",30000, 30020,'${useFriends}')'
17 done
18
19 exit
20
21 #  -----------------------------------------------------------
22 #  -- draw results
23 #  -----------------------------------------------------------
24
25 for scale in 1 0 ; do 
26     for pad in -1 0 1 2; do     
27         aliroot -b -l -q drawClusters.C'("results_friends_Pythia_'${version}'.root","Pythia","'${version}'",'${pad}','${scale}')'
28
29     done
30 done