Fix for #95217: changes in TPC/AliTPCCorrectionFit.cxx (trunk revision 56958) let...
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 8 Jun 2012 09:35:57 +0000 (09:35 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 8 Jun 2012 09:35:57 +0000 (09:35 +0000)
TPC/AliTPCCorrectionFit.cxx

index 990014d..e1c159e 100644 (file)
@@ -76,6 +76,7 @@
 #include "AliTPCLaserTrack.h"
 #include "TDatabasePDG.h"
 #include "AliTPCcalibAlign.h"
+#include "AliLog.h"
 
 ClassImp(AliTPCCorrectionFit)
 
@@ -156,12 +157,12 @@ void AliTPCCorrectionFit::CreateAlignMaps(Double_t bz, Int_t run){
   TFile *falign = TFile::Open("CalibObjects.root");
   TObjArray * arrayAlign = (TObjArray *)falign->Get("TPCAlign");
   if (!arrayAlign) {
-    AliWarning("Alignment was not included in the calibration task");
+    AliWarningGeneral("AliTPCCorrectionFit::CreateAlignMaps","Alignment was not included in the calibration task");
     return;
   }
   AliTPCcalibAlign * align =  (AliTPCcalibAlign *)arrayAlign->FindObject("alignTPC");
   if (!align) {
-      AliWarning("Alignment was not included in the calibration task");
+      AliWarningGeneral("AliTPCCorrectionFit::CreateAlignMaps","Alignment was not included in the calibration task");
     return;
   }
   TTreeSRedirector * pcstream = new TTreeSRedirector("TPCAlign.root");