/* $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"
//#include <TObjectTable.h>
#endif
-void runReconstruction(int run, int seed, const char* input, const char* recoptions)
+void runReconstruction(int seed, const char* input, const char* recoptions)
{
AliCDBManager* man = AliCDBManager::Instance();
man->SetDefaultStorage("local://$ALICE_ROOT");
- AliCDBManager::Instance()->SetRun(run);
gRandom->SetSeed(seed);
MuonRec->SetWriteAOD();
AliMUONRecoParam *muonRecoParam = AliMUONRecoParam::GetLowFluxParam();
- AliMUONReconstructor::SetRecoParam(muonRecoParam);
+ muonRecoParam->CombineClusterTrackReco(kTRUE);
+ //muonRecoParam->SetClusteringMode("PEAKFIT");
+ //muonRecoParam->SetClusteringMode("PEAKCOG");
muonRecoParam->Print("FULL");
+ AliRecoParam::Instance()->RegisterRecoParam(muonRecoParam);
MuonRec->Run();