]> git.uio.no Git - u/mrichter/AliRoot.git/blob - test/vmctest/scripts/digits.sh
Fix in simrun.C macro; there was a { lost in prevoius commit.
[u/mrichter/AliRoot.git] / test / vmctest / scripts / digits.sh
1 #/bin/sh
2 #set -x
3
4 # Script for processing DETdigits.C (or digitITSDET.C) macros 
5 # and generating files with histograms.
6 # Generated histograms can be then plot with plotDigits2.C.
7 # Currently the macro has to be run in the directory
8 # with the aliroot output, and one has to specify the 
9 # number of events and the number of files in the chain
10 # to be prcessed.
11 #
12 # By E.Sicking, CERN; I. Hrivnacova, IPN Orsay
13
14
15 scriptdir=$ALICE_ROOT/test/vmctest/scripts
16
17 export NEVENTS=10
18 export NFILES=4
19
20 for DET in SDD SSD SPD TPC TRD TOF EMCAL HMPID PHOS; do
21   echo Processing $DET digits
22   aliroot -b -q $scriptdir/digits${DET}.C\($NEVENTS,$NFILES\)
23 done
24