X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=MUON%2FrunReconstruction.C;h=13ee5dcbb84456c213d79ac50d11f028569a0bb7;hb=e39ae6fbf1b9c4b763bc23be00bb4ff8cc958547;hp=e4bc2847e905875c618bb47db46d94c8a27ec15b;hpb=3304fa09cf69d8b335181a6fcffb65a25bc44cee;p=u%2Fmrichter%2FAliRoot.git diff --git a/MUON/runReconstruction.C b/MUON/runReconstruction.C index e4bc2847e90..13ee5dcbb84 100644 --- a/MUON/runReconstruction.C +++ b/MUON/runReconstruction.C @@ -15,12 +15,18 @@ /* $Id$ */ -// Macro extracted from MUON test script -// By Laurent Aphecetche +/// \ingroup macros +/// \file runReconstruction.C +/// \brief Macro for running reconstruction +/// +/// Macro extracted from the MUON test script +/// +/// \author Laurent Aphecetche #if !defined(__CINT__) || defined(__MAKECINT__) #include "AliMUONReconstructor.h" #include "AliMUONRecoParam.h" +#include "AliRecoParam.h" #include "AliCDBManager.h" #include "AliMagFMaps.h" #include "AliTracker.h" @@ -29,9 +35,10 @@ //#include #endif -void runReconstruction(int run, int seed, const char* input, const char* recoptions) +void runReconstruction(int seed, const char* input, const char* recoptions) { - AliCDBManager::Instance()->SetRun(run); + AliCDBManager* man = AliCDBManager::Instance(); + man->SetDefaultStorage("local://$ALICE_ROOT"); gRandom->SetSeed(seed); @@ -51,8 +58,12 @@ void runReconstruction(int run, int seed, const char* input, const char* recopti MuonRec->SetWriteAOD(); AliMUONRecoParam *muonRecoParam = AliMUONRecoParam::GetLowFluxParam(); - AliMUONReconstructor::SetRecoParam(muonRecoParam); + muonRecoParam->CombineClusterTrackReco(kFALSE); + //muonRecoParam->SetClusteringMode("PEAKFIT"); + //muonRecoParam->SetClusteringMode("PEAKCOG"); muonRecoParam->Print("FULL"); + + AliRecoParam::Instance()->RegisterRecoParam(muonRecoParam); MuonRec->Run(); @@ -60,4 +71,3 @@ void runReconstruction(int run, int seed, const char* input, const char* recopti //gObjectTable->Print(); } -