]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TPC/fastSimul/simul.sh
AliCaloTrackReader, AliAnaCalorimterQA, AliAnaPi0: Leak with PHOS rotation matrices...
[u/mrichter/AliRoot.git] / TPC / fastSimul / simul.sh
CommitLineData
46a0eaea 1#!/bin/sh
2
3# 1 argument - the path to the environment setup
4# 2 argument - the job ID
5# 3 argument - number of events in the file
6# 4 argument - output path
7
8# Example
9# myvar=0
10# $ALICE_ROOT/TPC/fastSimul/simul.sh /u/miranov/.balice64HEAD0108 $myvar 1000 `pwd`
c9e8d4ec 11# while [ $myvar -ne 100 ] ; do bsub do something ; myvar=$(( $myvar + 1 )) ; echo $myvar ; done
46a0eaea 12#
13# 1 SETUP given ROOT and ALIROOT
14#
15echo $1
16source $1
17echo $ROOTSYS
18which root.exe
19which aliroot
20#
21# make directory
22#
23
24cd $4
25mkdir $2
26cd $2
27cp ~/rootlogon.C .
28echo Job ID $2
29echo
30echo PWD `pwd`
31
32command aliroot -q -b "$ALICE_ROOT/TPC/fastSimul/simul.C($3)"