]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TPC/AliTPCCalibSignal.cxx
In AliMUONAlignment:
[u/mrichter/AliRoot.git] / TPC / AliTPCCalibSignal.cxx
index 233dee9da54dcde89aeb0fb4eed95ac42d8da6df..40ab3dd1bae2f217689edaac4a48a53f87c2ce1e 100644 (file)
@@ -445,8 +445,6 @@ Bool_t AliTPCCalibSignal::ProcessEvent(AliTPCRawStream *rawStream) /*FOLD00*/
   // Event Processing loop - AliTPCRawStream
   //
 
-  rawStream->SetOldRCUFormat(1);
-
   ResetEvent();
 
   Bool_t withInput = kFALSE;
@@ -510,8 +508,8 @@ TH2S* AliTPCCalibSignal::GetHisto(Int_t sector, TObjArray *arr, /*FOLD00*/
     // if we are forced and histogram doesn't yes exist create it
     Char_t name[255], title[255];
 
-    sprintf(name,"hCalib%s%.2d",type,sector);
-    sprintf(title,"%s calibration histogram sector %.2d",type,sector);
+    snprintf(name,255,"hCalib%s%.2d",type,sector);
+    snprintf(title,255,"%s calibration histogram sector %.2d",type,sector);
 
     // new histogram with Q calib information. One value for each pad!
     TH2S* hist = new TH2S(name,title,