]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TPC/AliTPCPRF2D.h
Bug fix (Marian)
[u/mrichter/AliRoot.git] / TPC / AliTPCPRF2D.h
index 5fcb0840d881656f15c322d111dbf94ab08be1e1..3d4a22f3c8b1496226a4ff65a5d4a5a0ff930928 100644 (file)
@@ -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);
@@ -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) 
 };