From 69ed32de8ea54872b24467d15b5fd5e1426616b8 Mon Sep 17 00:00:00 2001 From: dibari Date: Tue, 17 Apr 2007 12:42:02 +0000 Subject: [PATCH] Coding conventions --- HMPID/AliHMPIDCluster.cxx | 6 +++--- HMPID/AliHMPIDCluster.h | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/HMPID/AliHMPIDCluster.cxx b/HMPID/AliHMPIDCluster.cxx index 519ff9f02cd..9f606620326 100644 --- a/HMPID/AliHMPIDCluster.cxx +++ b/HMPID/AliHMPIDCluster.cxx @@ -18,7 +18,7 @@ #include //Solve() #include //Draw() -Bool_t AliHMPIDCluster::fDoCorrSin=kTRUE; +Bool_t AliHMPIDCluster::fgDoCorrSin=kTRUE; ClassImp(AliHMPIDCluster) //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ @@ -50,7 +50,7 @@ void AliHMPIDCluster::CoG() if ( fQRaw != 0 ) fX/=fQRaw;fY/=fQRaw; //final center of gravity - if(fDigs->GetEntriesFast()>1&&fDoCorrSin)CorrSin(); //correct it by sinoid + if(fDigs->GetEntriesFast()>1&&fgDoCorrSin)CorrSin(); //correct it by sinoid fQ = fQRaw; // Before starting fit procedure, Q and QRaw must be equal fCh=pDig->Ch(); //initialize chamber number @@ -76,7 +76,7 @@ void AliHMPIDCluster::Draw(Option_t*) TMarker *pMark=new TMarker(X(),Y(),5); pMark->SetUniqueID(fSt);pMark->SetMarkerColor(kBlue); pMark->Draw(); } //++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -void AliHMPIDCluster::FitFunc(Int_t &iNpars, Double_t *, Double_t &chi2, Double_t *par, Int_t ) +void AliHMPIDCluster::FitFunc(Int_t &iNpars, Double_t* /*deriv*/, Double_t &chi2, Double_t *par, Int_t ) { // Cluster fit function // par[0]=x par[1]=y par[2]=q for the first Mathieson shape diff --git a/HMPID/AliHMPIDCluster.h b/HMPID/AliHMPIDCluster.h index 8ad95e3e83e..19f621b806f 100644 --- a/HMPID/AliHMPIDCluster.h +++ b/HMPID/AliHMPIDCluster.h @@ -2,7 +2,7 @@ #define AliHMPIDCluster_h /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * * See cxx source for full Copyright notice */ - +// #include "AliHMPIDDigit.h" //DigAdd() #include //DigAdd() class TClonesArray; //Solve() @@ -49,7 +49,7 @@ public: Double_t Y ( )const{return fY; } //cluster y position in LRS Double_t Ye ( )const{return fErrY; } //cluster charge in QDC channels Double_t Chi2 ( )const{return fChi2; } //chi2 of the fit - void DoCorrSin(Bool_t doCorrSin ){fDoCorrSin=doCorrSin;} // Set sinoidal correction + void DoCorrSin(Bool_t doCorrSin ){fgDoCorrSin=doCorrSin;} // Set sinoidal correction void SetX (Double_t x ){fX=x;} // Setter void SetY (Double_t y ){fY=y;} // Setter protected: @@ -69,7 +69,7 @@ protected: Double_t fErrY; //error on y postion, [cm] Double_t fChi2; //some estimator of the fit quality TObjArray *fDigs; //! list of digits forming this cluster - static Bool_t fDoCorrSin; // + static Bool_t fgDoCorrSin; //flag to switch on/off correction for Sinusoidal to cluster reco ClassDef(AliHMPIDCluster,6) //HMPID cluster class };//class AliHMPIDCluster -- 2.43.0