]> git.uio.no Git - u/mrichter/AliRoot.git/blame - test/vmctest/scripts/digits.sh
Compilation warning fixed.
[u/mrichter/AliRoot.git] / test / vmctest / scripts / digits.sh
CommitLineData
0866e534 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
15scriptdir=$ALICE_ROOT/test/vmctest/scripts
16
17export NEVENTS=10
18export NFILES=4
19
20for 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\)
23done
24