X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=MUON%2FAlirootRun_MUONtestlong.sh;h=e9169763d0afe81afbe855b7239cb36dc7bfc692;hb=a4f1da468d1e87c27c55d09c3816e336f5517ae3;hp=5535c25433bed9559f9b08f1b55883a30e62cc71;hpb=5d150022e28a8a05820fe85c0cff519b3744d6b9;p=u%2Fmrichter%2FAliRoot.git diff --git a/MUON/AlirootRun_MUONtestlong.sh b/MUON/AlirootRun_MUONtestlong.sh index 5535c25433b..e9169763d0a 100755 --- a/MUON/AlirootRun_MUONtestlong.sh +++ b/MUON/AlirootRun_MUONtestlong.sh @@ -9,7 +9,7 @@ mkdir $OUTDIR cp $ALICE_ROOT/MUON/.rootrc $ALICE_ROOT/MUON/rootlogon.C $OUTDIR cd $OUTDIR -FULLPATH="$CURDIR/$OUTDIR" +RUN=0 # Minimum number of events to have enough stat. for invariant mass fit # 10000 is ok, 20000 is really fine NEVENTS=10000 @@ -23,8 +23,9 @@ aliroot -b >& testSim.out << EOF // (generated via MUONGenerateGeometryData.C macro) // AliCDBManager* man = AliCDBManager::Instance(); // man->SetDefaultStorage("local://$ALICE_ROOT"); -// man->SetSpecificStorage("MUON","local://$ALICE_ROOT/MUON/ResMisAlignCDB"); +// man->SetSpecificStorage("MUON/Align/Data","local://$ALICE_ROOT/MUON/ResMisAlignCDB"); gRandom->SetSeed($SEED); +AliCDBManager::Instance()->SetRun($RUN); AliSimulation MuonSim("$ALICE_ROOT/MUON/Config.C"); MuonSim.SetMakeTrigger("MUON"); MuonSim.Run($NEVENTS); @@ -34,12 +35,17 @@ EOF echo "Running reconstruction ..." aliroot -b >& testReco.out << EOF +AliCDBManager::Instance()->SetRun($RUN); gRandom->SetSeed($SEED); +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.SetNumberOfEventsPerFile($NEVENTS); MuonRec.Run(); .q EOF @@ -48,7 +54,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 @@ -57,14 +63,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 @@ -75,11 +82,11 @@ more testSim.out | grep 'RunDigitization: Execution time:' >> testTime.out more testReco.out | grep 'RunLocalReconstruction: Execution time for MUON' >> testTime.out more testReco.out | grep 'Execution time for filling ESD ' >> testTime.out -rm gphysi.dat -rm *.root -rm testSim.out -rm testReco.out -rm *.eps +#rm gphysi.dat +#rm *.root +#rm testSim.out +#rm testReco.out +#rm *.eps echo "Finished" echo "... see results in testlong_out"