From 858e5b75cfb55263ccc21db5ed014717569259b2 Mon Sep 17 00:00:00 2001 From: pcrochet Date: Wed, 18 Jan 2006 17:01:46 +0000 Subject: [PATCH] add dimuon trigger efficiency --- MUON/AlirootRun_MUONtest.sh | 14 +++++++++++++- MUON/AlirootRun_MUONtestlong.sh | 12 +++++++++++- 2 files changed, 24 insertions(+), 2 deletions(-) diff --git a/MUON/AlirootRun_MUONtest.sh b/MUON/AlirootRun_MUONtest.sh index b5ff24908f2..5c215716f7c 100755 --- a/MUON/AlirootRun_MUONtest.sh +++ b/MUON/AlirootRun_MUONtest.sh @@ -13,7 +13,7 @@ echo "Running simulation ..." aliroot -b >& testSim.out << EOF AliSimulation MuonSim("$ALICE_ROOT/MUON/Config.C") -MuonSim.Run(10) +MuonSim.Run(100) .q EOF @@ -31,6 +31,16 @@ MuonRec.Run() .q EOF +echo "Running Trigger efficiency ..." + +aliroot -b >& testTriggerResults.out << EOF +.includepath $ALICE_ROOT/STEER +.includepath $ALICE_ROOT/MUON +.L $ALICE_ROOT/MUON/MUONTriggerEfficiency.C++ +MUONTriggerEfficiency(); +.q +EOF + echo "Running efficiency ..." aliroot -b >& testResults.out << EOF @@ -42,6 +52,8 @@ MUONefficiency(); .q EOF + + echo "Finished" echo "... see results in test_out" diff --git a/MUON/AlirootRun_MUONtestlong.sh b/MUON/AlirootRun_MUONtestlong.sh index 64e1e788289..d408293e779 100755 --- a/MUON/AlirootRun_MUONtestlong.sh +++ b/MUON/AlirootRun_MUONtestlong.sh @@ -16,7 +16,7 @@ AliSimulation MuonSim MuonSim.SetConfigFile("$ALICE_ROOT/MUON/Config.C") // Minimum number of events to have enough stat. for invariant mass fit // 10000 is ok, 20000 is really fine -MuonSim.Run(10000) +MuonSim.Run(1000) .q EOF @@ -34,6 +34,16 @@ MuonRec.Run() .q EOF +echo "Running Trigger efficiency ..." + +aliroot -b >& testTriggerResults.out << EOF +.includepath $ALICE_ROOT/STEER +.includepath $ALICE_ROOT/MUON +.L $ALICE_ROOT/MUON/MUONTriggerEfficiency.C++ +MUONTriggerEfficiency(); +.q +EOF + echo "Running efficiency ..." aliroot -b >& testEfficiency.out << EOF -- 2.43.0