]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/runReconstruction.C
macro and flowevent maker to run part of the code in root
[u/mrichter/AliRoot.git] / MUON / runReconstruction.C
index 84ead158fa0699b6d47692ce131a50166f58d573..e7cec7c5fe310e4922321ff89781ecde041a14a4 100644 (file)
@@ -54,19 +54,13 @@ void runReconstruction(int seed, const char* input, const char* recoptions)
   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(AliQA::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();