X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=MUON%2FAlirootRun_MUONtestlong.sh;h=be1ddb937947ba40cccefaad1a4711a91821fa95;hb=7ee3992ce705e7756367a340047907f4eacb7821;hp=334862de7ef8c06a236c1c9fb6faeb2d147941aa;hpb=e6a01e2058b3770e44cad2ca3921be2881ac70f7;p=u%2Fmrichter%2FAliRoot.git diff --git a/MUON/AlirootRun_MUONtestlong.sh b/MUON/AlirootRun_MUONtestlong.sh index 334862de7ef..be1ddb93794 100755 --- a/MUON/AlirootRun_MUONtestlong.sh +++ b/MUON/AlirootRun_MUONtestlong.sh @@ -9,10 +9,9 @@ mkdir $OUTDIR cp $ALICE_ROOT/MUON/.rootrc $ALICE_ROOT/MUON/rootlogon.C $OUTDIR cd $OUTDIR -FULLPATH="$CURDIR/$OUTDIR" # Minimum number of events to have enough stat. for invariant mass fit # 10000 is ok, 20000 is really fine -NEVENTS=10 +NEVENTS=10000 SEED=1234567 @@ -22,10 +21,10 @@ aliroot -b >& testSim.out << EOF // Uncoment following lines to run simulation with local residual mis-alignment // (generated via MUONGenerateGeometryData.C macro) // AliCDBManager* man = AliCDBManager::Instance(); -// man->SetDefaultStorage("local://$ALICE_ROOT"); -// man->SetSpecificStorage("MUON","local://$ALICE_ROOT/MUON/ResMisAlignCDB"); -gRandom->SetSeed($SEED); +// man->SetDefaultStorage("local://$ALICE_ROOT/OCDB"); +// man->SetSpecificStorage("MUON/Align/Data","local://$ALICE_ROOT/OCDB/MUON/ResMisAlignCDB"); AliSimulation MuonSim("$ALICE_ROOT/MUON/Config.C"); +MuonSim.SetSeed($SEED); MuonSim.SetMakeTrigger("MUON"); MuonSim.Run($NEVENTS); .q @@ -34,15 +33,17 @@ EOF echo "Running reconstruction ..." aliroot -b >& testReco.out << EOF +man->SetDefaultStorage("local://$ALICE_ROOT/OCDB"); gRandom->SetSeed($SEED); -AliMagFMaps* field = new AliMagFMaps("Maps","Maps", 1, 1., 10., AliMagFMaps::k4kG); +AliMagFMaps* field = new AliMagFMaps("Maps","Maps", 1, 1., 10., AliMagFMaps::k5kG); AliTracker::SetFieldMap(field, kFALSE); AliReconstruction MuonRec("galice.root"); -MuonRec.SetRunTracking(""); MuonRec.SetRunVertexFinder(kFALSE); MuonRec.SetRunLocalReconstruction("MUON"); +MuonRec.SetRunTracking("MUON"); MuonRec.SetFillESD("MUON"); -MuonRec.SetLoadAlignData("MUON") +MuonRec.SetLoadAlignData("MUON"); +MuonRec.SetNumberOfEventsPerFile($NEVENTS); MuonRec.Run(); .q EOF @@ -51,7 +52,7 @@ echo "Running Trigger efficiency ..." aliroot -b >& testTriggerResults.out << EOF .L $ALICE_ROOT/MUON/MUONTriggerEfficiency.C+ -MUONTriggerEfficiency(); +MUONTriggerEfficiency("galice.root", "galice.root",0); .q EOF @@ -60,14 +61,15 @@ echo "Running efficiency ..." aliroot -b >& testEfficiency.out << EOF .L $ALICE_ROOT/MUON/MUONefficiency.C+ // no argument assumes Upsilon but MUONefficiency(443) handles Jpsi -MUONefficiency(); +MUONefficiency("galice.root"); .q EOF aliroot -b >& testResults.out << EOF // no argument assumes Upsilon but MUONplotefficiency(443) handles Jpsi -.x $ALICE_ROOT/MUON/MUONplotefficiency.C +.L $ALICE_ROOT/MUON/MUONplotefficiency.C+ +MUONplotefficiency(); .q EOF