newRCU format used consistently in QA and reconstr.
authorprsnko <prsnko@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 5 Feb 2008 06:37:30 +0000 (06:37 +0000)
committerprsnko <prsnko@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 5 Feb 2008 06:37:30 +0000 (06:37 +0000)
PHOS/AliPHOSReconstructor.cxx

index 0b2f9c7..1c5074a 100644 (file)
@@ -361,11 +361,7 @@ void  AliPHOSReconstructor::ConvertDigits(AliRawReader* rawReader, TTree* digits
     else
       dc=new AliPHOSRawDecoder(rawReader,mapping);
 
-  TString option = GetOption();
-  if (option.Contains("OldRCUFormat"))
-    dc->SetOldRCUFormat(kTRUE);
-  else
-    dc->SetOldRCUFormat(kFALSE);
+  dc->SetOldRCUFormat(fgkRecoParamEmc->IsOldRCUFormat());
   
   dc->SubtractPedestals(fgkRecoParamEmc->SubtractPedestals());