]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - PHOS/AliPHOSRawDecoderv1.h
Signal parameterization changed to pol*(exp+exp)
[u/mrichter/AliRoot.git] / PHOS / AliPHOSRawDecoderv1.h
index db17b2603d53d9c13656edaaf8948c4c51a55b24..8d3bd6a4606e47d5ac8f32fa89ebedbd4924cca4 100644 (file)
@@ -12,7 +12,8 @@
 #include "AliRawReader.h"
 #include "AliCaloRawStream.h"
 #include "AliPHOSRawDecoder.h"
-
+#include "TArrayD.h"
+class TList;
 
 class AliPHOSRawDecoderv1 : public AliPHOSRawDecoder {
 
@@ -26,11 +27,17 @@ public:
 
   virtual Bool_t NextDigit();
 
-  static Double_t Gamma2(Double_t dt,Double_t p,Double_t en,Double_t a) ; // Shape of correct sample
+  static Double_t Gamma2(Double_t dt,Double_t en,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
+  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:
+  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
   
   ClassDef(AliPHOSRawDecoderv1,1)
 };