#include <TClonesArray.h> //Solve()
#include <TMarker.h> //Draw()
-Bool_t AliHMPIDCluster::fDoCorrSin=kTRUE;
+Bool_t AliHMPIDCluster::fgDoCorrSin=kTRUE;
ClassImp(AliHMPIDCluster)
//++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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
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
#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()
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:
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