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 // Uncoment following lines to run simulation with local residual mis-alignment
20 // (generated via MUONGenerateGeometryData.C macro)
21 // AliCDBManager* man = AliCDBManager::Instance();
22 // man->SetDefaultStorage("local://$ALICE_ROOT");
23 // man->SetSpecificStorage("MUON","local://$ALICE_ROOT/MUON/ResMisAlignCDB");
24 gRandom->SetSeed($SEED);
25 AliSimulation MuonSim("$ALICE_ROOT/MUON/Config.C");
26 MuonSim.SetMakeTrigger("MUON");
27 MuonSim.SetWriteRawData("MUON");
28 MuonSim.Run($NEVENTS);
32 echo "Running reconstruction ..."
34 aliroot -b >& testReco.out << EOF
35 gRandom->SetSeed($SEED);
36 AliReconstruction MuonRec("galice.root");
37 MuonRec.SetInput("$FULLPATH/");
38 MuonRec.SetRunTracking("");
39 MuonRec.SetRunVertexFinder(kFALSE);
40 MuonRec.SetRunLocalReconstruction("MUON");
41 MuonRec.SetFillESD("MUON");
46 echo "Running Trigger efficiency ..."
47 aliroot -b >& testTriggerResults.out << EOF
48 .L $ALICE_ROOT/MUON/MUONTriggerEfficiency.C+
49 MUONTriggerEfficiency();
53 echo "Running efficiency ..."
55 aliroot -b >& testResults.out << EOF
56 .L $ALICE_ROOT/MUON/MUONefficiency.C+
57 // no argument assumes Upsilon but MUONefficiency(443) works on Jpsi
62 if [ "$NEVENTS" -le 20 ]; then
64 echo "Running dumps ..."
67 .L $ALICE_ROOT/MUON/MUONCheck.C+
68 MUONdigits(); > check.digits
69 MUONrecpoints(); > check.recpoints
70 MUONrectracks(); > check.rectracks
71 MUONrectrigger(); > check.rectrigger
78 echo "... see results in test_out"