- man->SetDefaultStorage(ocdbPath.Data());
- //man->SetSpecificStorage("MUON/Calib/Mapping","local://$ALICE_ROOT");
- //man->SetSpecificStorage("MUON/Calib/DDLStore","local://$ALICE_ROOT");
- //man->SetSpecificStorage("MUON/Calib/Gains","local://$ALICE_ROOT");
-
- gRandom->SetSeed(seed);
-
- // no magnetic field --> factor (4th parameter) = 0
- AliMagFMaps* field = new AliMagFMaps("Maps","Maps", 1, 0., 10., AliMagFMaps::k5kG);
- AliTracker::SetFieldMap(field, kFALSE);
- AliReconstruction *MuonRec = new AliReconstruction();
-
-
- MuonRec->SetInput(input.Data());
- MuonRec->SetRunVertexFinder(kFALSE);
- MuonRec->SetRunLocalReconstruction("MUON");
- MuonRec->SetRunTracking("MUON");
- MuonRec->SetFillESD(" ");
- MuonRec->SetLoadAlignData("MUON");
- MuonRec->SetNumberOfEventsPerFile(1000);
- MuonRec->SetOption("MUON",recoptions.Data());
- // MuonRec->SetEventRange(319,319);
- MuonRec->SetWriteAOD();
- //MuonRec.SetEventRange(0,100);
- AliMUONRecoParam *muonRecoParam = AliMUONRecoParam::GetCosmicParam();
- muonRecoParam->BypassSt45(kTRUE);
- muonRecoParam->RequestStation(2,kFALSE);
- TString caliboption = caliboption1;
- if ( calib == 2 ) caliboption = caliboption2;
- muonRecoParam->SetCalibrationMode(caliboption.Data());
- //muonRecoParam->SetClusteringMode("PEAKFIT");
- //muonRecoParam->SetClusteringMode("PEAKCOG");
- muonRecoParam->Print("FULL");
- AliRecoParam::Instance()->RegisterRecoParam(muonRecoParam);
-
- MuonRec->Run();