9 cp .rootrc rootlogon.C $OUTDIR
14 echo "Running simulation ..."
16 aliroot -b >& testSim.out << EOF
18 MuonSim.SetConfigFile("$ALICE_ROOT/MUON/Config.C")
19 // Minimum number of events to have enough stat. for invariant mass fit
20 // 10000 is ok, 20000 is really fine
25 echo "Running reconstruction ..."
27 aliroot -b >& testReco.out << EOF
28 TPluginManager* pluginManager = gROOT->GetPluginManager();
29 pluginManager->AddHandler("AliReconstructor", "MUON","AliMUONReconstructor", "MUON","AliMUONReconstructor()")
30 AliReconstruction MuonRec("galice.root")
31 MuonRec.SetRunTracking("")
32 MuonRec.SetRunVertexFinder(kFALSE)
33 MuonRec.SetRunLocalReconstruction("MUON")
34 MuonRec.SetFillESD("MUON")
39 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 >& testEfficiency.out << EOF
50 .L $ALICE_ROOT/MUON/MUONefficiency.C++
51 // no argument assumes Upsilon but MUONefficiency(443) handles Jpsi
57 aliroot -b >& testResults.out << EOF
58 // no argument assumes Upsilon but MUONplotefficiency(443) handles Jpsi
59 .x $ALICE_ROOT/MUON/MUONplotefficiency.C
63 more testSim.out | grep 'RunSimulation: Execution time:' > testTime.out
64 more testSim.out | grep 'RunSDigitization: Execution time:' >> testTime.out
65 more testSim.out | grep 'RunDigitization: Execution time:' >> testTime.out
67 more testReco.out | grep 'RunLocalReconstruction: Execution time for MUON' >> testTime.out
68 more testReco.out | grep 'Execution time for filling ESD ' >> testTime.out
77 echo "... see results in testlong_out"