]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Compilation warnings fixed
authorkharlov <kharlov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 16 Jul 2010 03:38:02 +0000 (03:38 +0000)
committerkharlov <kharlov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 16 Jul 2010 03:38:02 +0000 (03:38 +0000)
PHOS/AliPHOSAnalyze.cxx
PHOS/AliPHOSClusterizerv1.cxx
PHOS/AliPHOSEvalRecPoint.cxx
PHOS/AliPHOSFastRecParticle.cxx
PHOS/AliPHOSGridFile.cxx
PHOS/AliPHOSPIDv1.cxx
PHOS/AliPHOSRecoParam.cxx
PHOS/AliPHOSTrackSegment.cxx

index 69c72ca7c8edf8400a2bc7a08d0b73228d5359c7..100d5119cb3977256e1f7f2aceeb570c85aabf56 100644 (file)
@@ -708,7 +708,7 @@ void AliPHOSAnalyze::Ls(){
     }
     TObjArray * emcrp = gime->EmcRecPoints() ;
     if(!emcrp){
-      AliError(Form("Event %d,  Can't find EmcRecPoints")) ; 
+      AliError(Form("Event %d,  Can't find EmcRecPoints", ievent)) ; 
       return ;
     }
       
index 485e47f399a0ef92344b2f8103670b5f033e81b7..301f03900a14554dc152c9541b697480da6cefeb 100644 (file)
@@ -979,7 +979,7 @@ void AliPHOSClusterizerv1::Print(const Option_t *)const
   else 
     message = " AliPHOSClusterizerv1 not initialized " ;
   
-  AliInfo(Form("%s, %s %s %s %s %s %s %s %s %s %s", message.Data(),  
+  AliInfo(Form("%s, %s %s %s %s %f %f %f %f %f %f", message.Data(),  
        taskName.Data(), 
        GetTitle(),
        taskName.Data(), 
index f0e46c64260b2a21a1bbfcd81112db33decdf7e4..aab901076c60f88c7f6fa020d2a273dd8946ce5c 100644 (file)
@@ -529,7 +529,7 @@ void AliPHOSEvalRecPoint::TwoGam(Float_t* gamma1, Float_t* gamma2)
     loop20: ;
       Float_t step = st*gr;
 
-      AliInfo(Form("Iteration %d dof %d chisq/dof %f chstop/dof %f step %d stpmin %d",
+      AliInfo(Form("Iteration %d dof %d chisq/dof %f chstop/dof %f step %f stpmin %f",
           iter, dof, ch/dof, chstop/dof, step, stpmin)) ;
 
       
@@ -782,8 +782,8 @@ void AliPHOSEvalRecPoint::EvaluatePosition()
     loop20: ;
       Float_t step = st*gr;
 
-      AliInfo(Form(" Iteration %d dof %d chisq/dof %f chstop/dof %f step %d stpMin %d",
-          iter, dof, chisq/dof, chisq/dof, chstop/dof, step, stpMin)) ;
+      AliInfo(Form(" Iteration %d dof %d chisq/dof %f chstop/dof %f step %f stpMin %f",
+          iter, dof, chisq/dof, chstop/dof, step, stpMin)) ;
        
 
       if(step<stpMin)
index 6c39d45aff83a1a9ba0dc61ec73e13d4ed0ea4d6..de5610288d7663ab4c3a5a0cd84fbef50380c5bd 100644 (file)
@@ -505,7 +505,7 @@ void AliPHOSFastRecParticle::Print(const Option_t *)const
 {
   // Print the type, energy and momentum of the reconstructed particle
 
-  AliInfo(Form("Print", "-----------------------------")) ;  
+  AliInfo(Form("Print  -----------------------------")) ;  
   printf("PID bits are %d%d%d %d%d%d %d%d%d %d%d%d",  
         TestPIDBit(0),TestPIDBit(1),
         TestPIDBit(2),TestPIDBit(3),
index 0c59223ada9418c4230a94864b0755ab022a07f4..135b9cf72810c1f6381b8067a5a6b045f6289ae1 100644 (file)
@@ -140,7 +140,7 @@ void AliPHOSGridFile::Help()
 {
   // Prints information on available lfn's
 
-  AliInfo(Form("")) ;
+  AliInfo(Form(" ")) ;
 
 }
 
index 3c4819c99e6175c7c4274249650a5ade8522abe2..d89245ad64811b6bafaa25fe35dbe638c25dd87d 100644 (file)
@@ -834,8 +834,7 @@ Int_t  AliPHOSPIDv1::GetHardPhotonBit(AliPHOSEmcRecPoint * emc) const
     TMath::Exp(-TMath::Power(e-GetParameterPhotonBoundary(1),2)/2.0/
                TMath::Power(GetParameterPhotonBoundary(2),2)) +
     GetParameterPhotonBoundary(3);
-  AliDebug(1, Form("GetHardPhotonBit","E=%f, m2x=%f, boundary=%f",
-                      e,m2x,m2xBoundary));
+  AliDebug(1, Form("E=%f, m2x=%f, boundary=%f", e,m2x,m2xBoundary));
   if (m2x < m2xBoundary)
     return 1;// A hard photon
   else
@@ -1035,7 +1034,7 @@ void  AliPHOSPIDv1::MakePID()
 ////     track = ts->GetTrackIndex() ; //TPC tracks ?
     
     if (!emc) {
-      AliFatal(Form("-> emc(%d) = %d", ts->GetEmcIndex(), emc )) ;
+      AliFatal(Form("-> emc(%d)", ts->GetEmcIndex())) ;
     }
 
 
@@ -1364,7 +1363,7 @@ void  AliPHOSPIDv1::MakeRecParticles()
     // Choose the cluster energy range
     
     if (!emc) {
-      AliFatal(Form("-> emc(%d) = %d", ts->GetEmcIndex(), emc )) ;
+      AliFatal(Form("-> emc(%d)", ts->GetEmcIndex())) ;
     }
 
     Float_t e = emc->GetEnergy() ;   
@@ -1567,7 +1566,7 @@ void  AliPHOSPIDv1::SetParameters()
           &(*fParameters)(i,0), &(*fParameters)(i,1), 
           &(*fParameters)(i,2), &(*fParameters)(i,3));
     i++;
-    AliDebug(1, Form("SetParameters", "line %d: %s",i,string));
+    AliDebug(1, Form("Line %d: %s",i,string));
   }
   fclose(fd);
 }
index ce326e2719f82d6c6ad1fcf98d0962cafd6f94a9..1d2ce10a67cae6920d3c6463fa6d45fc9545775d 100644 (file)
@@ -127,7 +127,7 @@ void AliPHOSRecoParam::Print(Option_t * /*option*/) const
                  "\tEMCUnfold              = %d\n"
                  "\tEMCEnergyCorrectionOn  = %d\n"
                  "\tEMCFitterVersion       = \"%s\"\n"
-                 "\tGlobalAltroOffset      = %d",
+                 "\tGlobalAltroOffset      = %d\n"
                  "\tGlobalAltroThreshold   = %d",
                  fEMCClusteringThreshold,
                  fEMCLocMaxCut,
index 6d9707f95924c216f6274e1c7da01ed5e97db3df..346f73d5a4521f0e5e4300740e62cb5167bc145d 100644 (file)
@@ -42,6 +42,7 @@
 #include "AliPHOSEmcRecPoint.h" 
 #include "AliPHOSTrackSegment.h" 
 #include "AliESDtrack.h" 
+#include "AliLog.h" 
 
 ClassImp(AliPHOSTrackSegment)
 
@@ -176,7 +177,7 @@ void AliPHOSTrackSegment::Print(const Option_t *) const
   // Print all information on this track Segment
   
 
-  Info("Print", "");
+  AliInfo("Track segment");
   printf("Stored at position %d\n", fIndexInList) ;
   printf(" Emc RecPoint #     %d\n", fEmcRecPoint) ;
   if(fCpvRecPoint >= 0)