Default wise using ClusterFinderAZ & Kalman filter for raw data reconstruction (Chris...
authormartinez <martinez@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 12 Feb 2006 20:37:38 +0000 (20:37 +0000)
committermartinez <martinez@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 12 Feb 2006 20:37:38 +0000 (20:37 +0000)
MUON/AliMUONReconstructor.cxx

index 46e06ab..f606d88 100644 (file)
@@ -245,7 +245,19 @@ void AliMUONReconstructor::Reconstruct(AliRunLoader* runLoader, AliRawReader* ra
   AliMUONRawReader* rawData = new AliMUONRawReader(loader, data);
 
   AliMUONClusterReconstructor* recoCluster = new AliMUONClusterReconstructor(loader, data);
+
+  if (strstr(GetOption(),"Original")) 
+    recoEvent->SetTrackMethod(1); // Original tracking
+//   else if (strstr(GetOption(),"Combi")) 
+//     recoEvent->SetTrackMethod(3); // Combined cluster / track
+  else
+    recoEvent->SetTrackMethod(2); // Kalman
+
   AliMUONClusterFinderVS *recModel = recoCluster->GetRecoModel();
+  if (!strstr(GetOption(),"VS")) {
+    recModel = (AliMUONClusterFinderVS*) new AliMUONClusterFinderAZ();
+    recoCluster->SetRecoModel(recModel);
+  }
   recModel->SetGhostChi2Cut(10);
 
   TTask* calibration = GetCalibrationTask(data);