12 echo "Running simulation ..."
14 aliroot -b >& testSim.out << EOF
15 AliSimulation MuonSim("$ALICE_ROOT/MUON/Config.C")
20 echo "Running reconstruction ..."
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")
34 echo "Running efficiency ..."
36 aliroot -b >& testResults.out << EOF
37 .includepath $ALICE_ROOT/STEER
38 .includepath $ALICE_ROOT/MUON
39 .L $ALICE_ROOT/MUON/MUONefficiency.C++
40 // no argument assumes Upsilon but MUONefficiency(443) works on Jpsi
46 echo "... see results in test_out"