From a675b8d6e4d875046946750ab129103310114951 Mon Sep 17 00:00:00 2001 From: kharlov Date: Fri, 16 Jul 2010 03:38:02 +0000 Subject: [PATCH] Compilation warnings fixed --- PHOS/AliPHOSAnalyze.cxx | 2 +- PHOS/AliPHOSClusterizerv1.cxx | 2 +- PHOS/AliPHOSEvalRecPoint.cxx | 6 +++--- PHOS/AliPHOSFastRecParticle.cxx | 2 +- PHOS/AliPHOSGridFile.cxx | 2 +- PHOS/AliPHOSPIDv1.cxx | 9 ++++----- PHOS/AliPHOSRecoParam.cxx | 2 +- PHOS/AliPHOSTrackSegment.cxx | 3 ++- 8 files changed, 14 insertions(+), 14 deletions(-) diff --git a/PHOS/AliPHOSAnalyze.cxx b/PHOS/AliPHOSAnalyze.cxx index 69c72ca7c8e..100d5119cb3 100644 --- a/PHOS/AliPHOSAnalyze.cxx +++ b/PHOS/AliPHOSAnalyze.cxx @@ -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 ; } diff --git a/PHOS/AliPHOSClusterizerv1.cxx b/PHOS/AliPHOSClusterizerv1.cxx index 485e47f399a..301f03900a1 100644 --- a/PHOS/AliPHOSClusterizerv1.cxx +++ b/PHOS/AliPHOSClusterizerv1.cxx @@ -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(), diff --git a/PHOS/AliPHOSEvalRecPoint.cxx b/PHOS/AliPHOSEvalRecPoint.cxx index f0e46c64260..aab901076c6 100644 --- a/PHOS/AliPHOSEvalRecPoint.cxx +++ b/PHOS/AliPHOSEvalRecPoint.cxx @@ -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(stepGetTrackIndex() ; //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); } diff --git a/PHOS/AliPHOSRecoParam.cxx b/PHOS/AliPHOSRecoParam.cxx index ce326e2719f..1d2ce10a67c 100644 --- a/PHOS/AliPHOSRecoParam.cxx +++ b/PHOS/AliPHOSRecoParam.cxx @@ -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, diff --git a/PHOS/AliPHOSTrackSegment.cxx b/PHOS/AliPHOSTrackSegment.cxx index 6d9707f9592..346f73d5a45 100644 --- a/PHOS/AliPHOSTrackSegment.cxx +++ b/PHOS/AliPHOSTrackSegment.cxx @@ -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) -- 2.43.0