3 # first declare default values
4 NEVENTS=10 # Number of events to be simulated
5 SIMCONFIG="Config.C" # default simulation configuration file
11 RUN=130850 # run number for OCDB access
12 SEED=12345 # random number generator seed should be used
13 SIMDIR="generated" # sub-directory where to move simulated files prior to reco
14 # Copy *ALL* the macros we need in the output directory, not to mess
15 # with our source dir in any way.
16 cp $ALICE_ROOT/MFT/.rootrc \
17 $ALICE_ROOT/MFT/Config.C \
18 $ALICE_ROOT/MFT/rootlogon.C \
19 $ALICE_ROOT/MFT/runReconstruction.C \
20 $ALICE_ROOT/MFT/runSimulation.C \
21 $ALICE_ROOT/MFT/AliMuonForwardTrackFinder.C \
22 $ALICE_ROOT/MFT/AliMFTClusterQA.C \
23 $ALICE_ROOT/MFT/AliMFTGeometry.root \
26 ###############################################################################
28 # Performing SIMULATION
30 ###############################################################################
31 echo "Running simulation ..."
32 aliroot -l -b -q runSimulation.C\($SEED,$NEVENTS,\""$SIMCONFIG"\",$RUN\) >$OUTDIR/testSim.out 2>$OUTDIR/testSim.err
34 echo "Copying generated files to $SIMDIR"
35 cp $OUTDIR/Kinematics*.root $OUTDIR/galice.root $OUTDIR/TrackRefs*.root $OUTDIR/$SIMDIR
36 ###############################################################################
38 # Performing RECONSTRUCTION
40 ###############################################################################
41 rm -f AliESD*.root *QA*.root
42 echo "Running reconstruction ..."
44 aliroot -l -b -q runReconstruction.C\($SEED,\""SAVEDIGITS"\"\) >$OUTDIR/testReco.out 2>$OUTDIR/testReco.err
45 aliroot -l -b -q AliMuonForwardTrackFinder.C\(\) >$OUTDIR/globalTracking.out 2>$OUTDIR/globalTracking.err
46 aliroot -l -b -q AliMFTClusterQA.C\(\) >$OUTDIR/mftClusterQA.out 2>$OUTDIR/mftClusterQA.err
48 echo "... see results in $OUTDIR"
50 tar czf out.tar.gz *.out