]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/AliPHOSRawFitterv1.h
Updated version for TPConly tracks
[u/mrichter/AliRoot.git] / PHOS / AliPHOSRawFitterv1.h
index e25f82298e065b5b9492aaea7dfbc6b2678bb584..b0db4f2b5ac770ade9e650ef6eaa0db33e14c9a0 100644 (file)
@@ -21,21 +21,29 @@ public:
   AliPHOSRawFitterv1(const AliPHOSRawFitterv1& rawFitter);
   AliPHOSRawFitterv1& operator = (const AliPHOSRawFitterv1& rawFitter);
   virtual ~AliPHOSRawFitterv1();
-
+  
   virtual Bool_t Eval(const UShort_t *signal, Int_t sigStart, Int_t sigLength);
-
+  
   static Double_t Gamma2(Double_t dt,Double_t en,Double_t b,TArrayD * fitparams) ; // Shape of correct sample
-                                                 //class member function (not object member function)
-  static void UnfoldingChiSquare(Int_t & nPar, Double_t * Grad, Double_t & fret, Double_t * x, Int_t iflag)  ;
-                                            // Chi^2 of the fit. Should be static to be passed to MINUIT
+  //class member function (not object member function)
   void SetLowGainParams(Int_t n, Double_t * params){fSampleParamsLow->Set(n,params) ;}  //fixed parameters of fit function
   void SetHighGainParams(Int_t n,Double_t * params){fSampleParamsHigh->Set(n,params) ;} //fixed parameters of fit function
 
-private:
+
+protected:   
+  static void UnfoldingChiSquare(Int_t & nPar, Double_t * Grad, Double_t & fret, Double_t * x, Int_t iflag)  ;
+                                            // Chi^2 of the fit. Should be static to be passed to MINUIT
+
+
+  
+protected:  
   TArrayD *fSampleParamsLow ;   //Fixed params of sample parameterization for Low gain 
   TArrayD *fSampleParamsHigh;   //Fixed params of sample parameterization for High gain
   TList   *fToFit ;             //! container to transfer parameters and data to fit
-  
+
+
+
+private:
   ClassDef(AliPHOSRawFitterv1,1)
 };