X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=TPC%2FAliTPCPRF2D.h;h=74396ab10a74eda09971da0dfe8ef9975488a86c;hb=0a2dcc8368445a5e46ccb091bb84a673734bb129;hp=5fcb0840d881656f15c322d111dbf94ab08be1e1;hpb=6e7b5431a3521ca73d3eccd2b9fe46e01e95d2d0;p=u%2Fmrichter%2FAliRoot.git diff --git a/TPC/AliTPCPRF2D.h b/TPC/AliTPCPRF2D.h index 5fcb0840d88..74396ab10a7 100644 --- a/TPC/AliTPCPRF2D.h +++ b/TPC/AliTPCPRF2D.h @@ -4,11 +4,12 @@ * See cxx source for full Copyright notice */ /* $Id$ */ -//////////////////////////////////////////////// -// Manager class for AliTPCPRF2D // -//////////////////////////////////////////////// +////////////////////////////////////////////////////////////////// +// Manager class for AliTPCPRF2D // +// This is to generate the 2-dimensional pad-response function // +////////////////////////////////////////////////////////////////// #include "TObject.h" -#include "TMath.h" + class TF2; class TArrayF; class TH1F; @@ -49,7 +50,7 @@ public : virtual void SetY(Float_t y1, Float_t y2, Int_t nYdiv) ; virtual void SetChargeAngle(Float_t angle){fChargeAngle = angle;} //set angle of pad and charge distribution //axes - virtual void SetCurrentAngle(Float_t angle){return;} + virtual void SetCurrentAngle(Float_t /*angle*/){return;} virtual void SetPadAngle(Float_t angle){fPadAngle = angle;} //set pad angle void SetInterpolationType(Int_t interx, Int_t intery) {fInterX=interx; fInterY =intery;} virtual void SetGauss(Float_t sigmaX,Float_t sigmaY , Float_t kNorm=1); @@ -60,7 +61,7 @@ public : virtual void SetGati(Float_t K3X, Float_t K3Y, Float_t padDistance, Float_t kNorm=1); - void SetParam(TF2 * GRF,Float_t kNorm, + void SetParam(TF2 *const GRF,Float_t kNorm, Float_t sigmaX=0, Float_t sigmaY=0); void SetNdiv(Int_t Ndiv){fNdiv=Ndiv;} virtual Float_t GetSigmaX() const {return fSigmaX;} @@ -71,12 +72,12 @@ protected: void Update1(); virtual void UpdateSigma(); //recalculate sigma of PRF Float_t GetPRFActiv(Float_t xin); //return PRF in point xin and actual y - Float_t * fcharge; //field with PRF + Float_t * fcharge; //!field with PRF Float_t fY1; //position of first "virtual" vire Float_t fY2; //position of last virtual vire Int_t fNYdiv; //number of wires - Float_t * fChargeArray; //pointer to array of arrays Int_t fNChargeArray; //number of charge interpolation points + Float_t * fChargeArray; //[fNChargeArray]pointer to array of arrays void DrawComment(TPaveText * comment); //draw comments to picture //chevron parameters @@ -122,8 +123,8 @@ protected: static const Int_t fgkNPRF; //default number of division private: - AliTPCPRF2D(const AliTPCPRF2D &prf) {;} - AliTPCPRF2D &operator = (const AliTPCPRF2D &prf) {return *this;} + AliTPCPRF2D(const AliTPCPRF2D &prf); + AliTPCPRF2D &operator = (const AliTPCPRF2D &/*prf*/) {return *this;} ClassDef(AliTPCPRF2D,1) };