]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/runReconstruction.C
Moving the FMD offline trigger to its own class, AliFMDOfflineTrigger
[u/mrichter/AliRoot.git] / MUON / runReconstruction.C
index e7cec7c5fe310e4922321ff89781ecde041a14a4..d413462cb608d45d10db3961f8f89a11822910ad 100644 (file)
@@ -28,7 +28,6 @@
 #include "AliMUONRecoParam.h"
 #include "AliRecoParam.h"
 #include "AliCDBManager.h"
-#include "AliMagFMaps.h"
 #include "AliTracker.h"
 #include "AliReconstruction.h"
 #include <TRandom.h>
 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);
@@ -55,7 +51,7 @@ void runReconstruction(int seed, const char* input, const char* recoptions)
   MuonRec->SetNumberOfEventsPerFile(1000);
   MuonRec->SetOption("MUON",recoptions);
   MuonRec->SetRunQA("MUON:ALL");
-  MuonRec->SetQAWriteExpert(AliQA::kMUON);
+  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();