From: hristov Date: Fri, 7 Apr 2006 15:28:31 +0000 (+0000) Subject: Adding commented lines for setting local misalignment data X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=commitdiff_plain;h=f6d516e9fd438d373372375b184974959733c4cf Adding commented lines for setting local misalignment data in simulation (Ivana) --- diff --git a/MUON/AlirootRun_MUONtest.sh b/MUON/AlirootRun_MUONtest.sh index 24ecb7798ee..512684e5449 100755 --- a/MUON/AlirootRun_MUONtest.sh +++ b/MUON/AlirootRun_MUONtest.sh @@ -16,6 +16,11 @@ SEED=1234567 echo "Running simulation ..." 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); AliSimulation MuonSim("$ALICE_ROOT/MUON/Config.C"); MuonSim.SetWriteRawData("MUON"); diff --git a/MUON/AlirootRun_MUONtestlong.sh b/MUON/AlirootRun_MUONtestlong.sh index bd30cae49cc..f819d9ac6c2 100755 --- a/MUON/AlirootRun_MUONtestlong.sh +++ b/MUON/AlirootRun_MUONtestlong.sh @@ -38,6 +38,11 @@ fi echo "Running simulation ..." 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); AliCDBManager::Instance()->SetDefaultStorage("$CDB"); AliSimulation MuonSim("$ALICE_ROOT/MUON/Config.C");