]>
Commit | Line | Data |
---|---|---|
fa701981 | 1 | #!/bin/sh |
2 | # $Id$ | |
3 | ||
4 | CURDIR=`pwd` | |
5 | OUTDIR=test_out | |
6 | ||
7 | rm -fr $OUTDIR | |
8 | mkdir $OUTDIR | |
9 | cp .rootrc $OUTDIR | |
10 | cd $OUTDIR | |
11 | ||
12 | echo "Running simulation ..." | |
13 | ||
14 | aliroot -b >& testSim.out << EOF | |
15 | AliSimulation MuonSim("$ALICE_ROOT/MUON/Config.C") | |
16 | MuonSim.Run(10) | |
17 | .q | |
18 | EOF | |
19 | ||
20 | echo "Running reconstruction ..." | |
21 | ||
22 | aliroot -b >& testReco.out << EOF | |
23 | TPluginManager* pluginManager = gROOT->GetPluginManager(); | |
24 | pluginManager->AddHandler("AliReconstructor", "MUON","AliMUONReconstructor", "MUON","AliMUONReconstructor()") | |
25 | AliReconstruction MuonRec("galice.root") | |
26 | MuonRec.SetRunTracking("") | |
27 | MuonRec.SetRunVertexFinder(kFALSE) | |
28 | MuonRec.SetRunLocalReconstruction("MUON") | |
29 | MuonRec.SetFillESD("MUON") | |
30 | MuonRec.Run() | |
31 | .q | |
32 | EOF | |
33 | ||
34 | echo "Running mass plot ..." | |
35 | ||
36 | aliroot -b >& testResults.out << EOF | |
37 | .includepath $ALICE_ROOT/STEER | |
38 | .includepath $ALICE_ROOT/MUON | |
39 | .L $ALICE_ROOT/MUON/MUONmassPlot_ESD.C++ | |
40 | MUONmassPlot("galice.root",0,24999); | |
41 | .q | |
42 | EOF | |
43 | ||
44 | echo "Finished" | |
45 | echo "... see results in test_out" | |
46 | ||
47 | cd $CURDIR |