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 AliMagFMaps* field = new AliMagFMaps("Maps","Maps", 1, 1., 10., AliMagFMaps::k5kG);
37 AliTracker::SetFieldMap(field, kFALSE);
38 AliReconstruction MuonRec("galice.root");
39 MuonRec.SetInput("$FULLPATH/");
40 MuonRec.SetRunTracking("");
41 MuonRec.SetRunVertexFinder(kFALSE);
42 MuonRec.SetRunLocalReconstruction("MUON");
43 MuonRec.SetFillESD("MUON");
44 MuonRec.SetLoadAlignData("MUON");
45 // Uncoment following line to run reconstruction with the orginal tracking method
46 // instead of the kalman one (default)
47 // MuonRec.SetOption("MUON","Original");
48 // Use the following to change clustering method
49 //MuonRec.SetOption("MUON","MLEM"); // new scheme AZ's clustering
50 //MuonRec.SetOption("MUON","SIMPLEFIT"); // new scheme simple fitting
51 //MuonRec.SetOption("MUON","COG"); // new scheme basic center-of-gravity only
56 echo "Running Trigger efficiency ..."
57 aliroot -b >& testTriggerResults.out << EOF
58 .L $ALICE_ROOT/MUON/MUONTriggerEfficiency.C+
59 MUONTriggerEfficiency();
63 echo "Running efficiency ..."
65 aliroot -b >& testResults.out << EOF
66 .L $ALICE_ROOT/MUON/MUONefficiency.C+
67 // no argument assumes Upsilon but MUONefficiency(443) works on Jpsi
72 if [ "$NEVENTS" -le 20 ]; then
74 echo "Running dumps ..."
77 .L $ALICE_ROOT/MUON/MUONCheck.C+
78 MUONdigits(); > check.digits
79 MUONrecpoints(); > check.recpoints
80 MUONrectracks(); > check.rectracks
81 MUONrectrigger(); > check.rectrigger
88 echo "... see results in test_out"