X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=MUON%2FrunReconstruction.C;h=88069404b8d64e20c28a13ef81731f8787eb3b2a;hb=2a082c9660b46b9c6630883c30e47a6405a9fa28;hp=84ead158fa0699b6d47692ce131a50166f58d573;hpb=b1fea02e530a9bb2a0617e8ba8555154193cb52a;p=u%2Fmrichter%2FAliRoot.git diff --git a/MUON/runReconstruction.C b/MUON/runReconstruction.C index 84ead158fa0..88069404b8d 100644 --- a/MUON/runReconstruction.C +++ b/MUON/runReconstruction.C @@ -28,7 +28,6 @@ #include "AliMUONRecoParam.h" #include "AliRecoParam.h" #include "AliCDBManager.h" -#include "AliMagFMaps.h" #include "AliTracker.h" #include "AliReconstruction.h" #include @@ -38,35 +37,27 @@ void runReconstruction(int seed, const char* input, const char* recoptions) { AliCDBManager* man = AliCDBManager::Instance(); - man->SetDefaultStorage("local://$ALICE_ROOT"); + man->SetDefaultStorage("local://$ALICE_ROOT/OCDB"); gRandom->SetSeed(seed); - AliMagFMaps* field = new AliMagFMaps("Maps","Maps", 1, 1., 10., AliMagFMaps::k5kG); - AliTracker::SetFieldMap(field, kFALSE); - AliReconstruction* MuonRec = new AliReconstruction("galice.root"); MuonRec->SetInput(input); MuonRec->SetRunVertexFinder(kFALSE); MuonRec->SetRunLocalReconstruction("MUON"); MuonRec->SetRunTracking("MUON"); - MuonRec->SetFillESD(""); + MuonRec->SetFillESD("HLT"); + MuonRec->SetOption("HLT", "libAliHLTMUON.so"); MuonRec->SetLoadAlignData("MUON"); MuonRec->SetNumberOfEventsPerFile(1000); MuonRec->SetOption("MUON",recoptions); - // MuonRec->SetEventRange(319,319); - MuonRec->SetWriteAOD(); - - AliMUONRecoParam *muonRecoParam = AliMUONRecoParam::GetLowFluxParam(); - muonRecoParam->CombineClusterTrackReco(kFALSE); - //muonRecoParam->SaveFullClusterInESD(kTRUE,100.); - //muonRecoParam->SetClusteringMode("PEAKFIT"); - //muonRecoParam->SetClusteringMode("PEAKCOG"); - muonRecoParam->Print("FULL"); - - AliRecoParam::Instance()->RegisterRecoParam(muonRecoParam); - - MuonRec->SetRunQA(kFALSE); + MuonRec->SetRunQA("MUON:ALL"); + MuonRec->SetQAWriteExpert(AliQAv1::kMUON); + // uncomment the following lines if you want to set custom RecoParam + // instead of getting them from the OCDB + // AliMUONRecoParam *muonRecoParam = AliMUONRecoParam::GetLowFluxParam(); + // muonRecoParam->SaveFullClusterInESD(kTRUE,100.); + // MuonRec->SetRecoParam("MUON",muonRecoParam); MuonRec->Run();