From d30aa17777f051a9466cd6d22bea68d2cf12e33a Mon Sep 17 00:00:00 2001 From: marian Date: Mon, 18 Jan 2010 16:08:53 +0000 Subject: [PATCH 1/1] Removing part of the coding violation. Easy one. The problems with recomended const can not be fixed. Problem to be investigated with author of rule checker. (Marian) --- TPC/AliTPCcalibDButil.cxx | 4 ++-- TPC/AliTPCcalibDButil.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/TPC/AliTPCcalibDButil.cxx b/TPC/AliTPCcalibDButil.cxx index 843c2ea856f..80050f8536c 100644 --- a/TPC/AliTPCcalibDButil.cxx +++ b/TPC/AliTPCcalibDButil.cxx @@ -731,7 +731,7 @@ void AliTPCcalibDButil::ProcessPulserVariations(TVectorF &pulserQdeviations, Flo AliTPCCalROC *mROC=fALTROMasked->GetCalROC(isec); AliTPCCalROC *mRefROC=fRefALTROMasked->GetCalROC(isec); AliTPCCalROC *oROC=fPulserOutlier->GetCalROC(isec); - Float_t pt_mean=ptROC->GetMean(oROC); + Float_t ptmean=ptROC->GetMean(oROC); UInt_t nrows=mROC->GetNrows(); for (UInt_t irow=0;irowGetNPads(irow); @@ -755,7 +755,7 @@ void AliTPCcalibDButil::ProcessPulserVariations(TVectorF &pulserQdeviations, Flo if (pqRef>11&&pq<11) ++npadsOffAdd; varQMean+=pq-pqRef; //comparisons t - if (TMath::Abs(pt-pt_mean)>1) ++npadsOutOneTB; + if (TMath::Abs(pt-ptmean)>1) ++npadsOutOneTB; ++nActive; }//end ipad }//ind irow diff --git a/TPC/AliTPCcalibDButil.h b/TPC/AliTPCcalibDButil.h index cb7ee3b2abd..0f843254292 100644 --- a/TPC/AliTPCcalibDButil.h +++ b/TPC/AliTPCcalibDButil.h @@ -1,5 +1,5 @@ -#ifndef AliTPCcalibDButil_H -#define AliTPCcalibDButil_H +#ifndef AliTPCCALIBDBUTIL_H +#define AliTPCCALIBDBUTIL_H /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * See cxx source for full Copyright notice */ -- 2.39.3