]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Coding conventions
authordibari <dibari@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 17 Apr 2007 12:42:02 +0000 (12:42 +0000)
committerdibari <dibari@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 17 Apr 2007 12:42:02 +0000 (12:42 +0000)
HMPID/AliHMPIDCluster.cxx
HMPID/AliHMPIDCluster.h

index 519ff9f02cd32c7e512635c7853a1581b29adcd5..9f6066203265a5030a3158e32ddc93a28ed62dd7 100644 (file)
@@ -18,7 +18,7 @@
 #include <TClonesArray.h>    //Solve()
 #include <TMarker.h>         //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
index 8ad95e3e83eed054130c20fbca48d24573e1c72f..19f621b806f75d79150503dd0bb04075d85464f9 100644 (file)
@@ -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 <TObjArray.h>     //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