9 cp $ALICE_ROOT/MUON/.rootrc $ALICE_ROOT/MUON/rootlogon.C $OUTDIR
12 FULLPATH="$CURDIR/$OUTDIR"
16 echo "Running simulation ..."
18 aliroot -b >& testSim.out << EOF
19 gRandom->SetSeed($SEED);
20 AliSimulation MuonSim("$ALICE_ROOT/MUON/Config.C");
21 MuonSim.SetWriteRawData("MUON");
22 MuonSim.Run($NEVENTS);
26 echo "Running reconstruction ..."
28 aliroot -b >& testReco.out << EOF
29 gRandom->SetSeed($SEED);
30 AliReconstruction MuonRec("galice.root");
31 MuonRec.SetInput("$FULLPATH/");
32 MuonRec.SetRunTracking("");
33 MuonRec.SetRunVertexFinder(kFALSE);
34 MuonRec.SetRunLocalReconstruction("MUON");
35 MuonRec.SetFillESD("MUON");
40 echo "Running Trigger efficiency ..."
41 aliroot -b >& testTriggerResults.out << EOF
42 .L $ALICE_ROOT/MUON/MUONTriggerEfficiency.C+
43 MUONTriggerEfficiency();
47 echo "Running efficiency ..."
49 aliroot -b >& testResults.out << EOF
50 .L $ALICE_ROOT/MUON/MUONefficiency.C+
51 // no argument assumes Upsilon but MUONefficiency(443) works on Jpsi
56 if [ "$NEVENTS" -le 20 ]; then
58 echo "Running dumps ..."
61 .L $ALICE_ROOT/MUON/MUONCheck.C+
62 MUONdigits(); > check.digits
63 MUONrecpoints(); > check.recpoints
64 MUONrectracks(); > check.rectracks
65 MUONrectrigger(); > check.rectrigger
72 echo "... see results in test_out"