Bug in choise of RawFitter version corrected
authorprsnko <prsnko@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 27 Nov 2011 20:39:18 +0000 (20:39 +0000)
committerprsnko <prsnko@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 27 Nov 2011 20:39:18 +0000 (20:39 +0000)
PHOS/AliPHOSReconstructor.cxx

index 058bc11..438c600 100644 (file)
@@ -380,7 +380,9 @@ void  AliPHOSReconstructor::ConvertDigits(AliRawReader* rawReader, TTree* digits
     mapping[i] = (AliAltroMapping*)maps->At(i);
   }
 
-  if      (strcmp(GetRecoParam()->EMCFitterVersion(),"v1")==0) 
+  if      (strcmp(GetRecoParam()->EMCFitterVersion(),"v0")==0) 
+    fitter=new AliPHOSRawFitterv0();
+  else if (strcmp(GetRecoParam()->EMCFitterVersion(),"v1")==0) 
     fitter=new AliPHOSRawFitterv1();
   else if (strcmp(GetRecoParam()->EMCFitterVersion(),"v2")==0) 
     fitter=new AliPHOSRawFitterv2();