]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EMCAL/AliCaloRawAnalyzerFakeALTRO.h
add possibility to access AliEMCALRecParam parameters from OCDB instead of manual...
[u/mrichter/AliRoot.git] / EMCAL / AliCaloRawAnalyzerFakeALTRO.h
index c7ecc540c8641d715c67806e3238db854a1ae96b..55d58367b86f916ce16b657195c184b0fbb9e82a 100644 (file)
@@ -3,48 +3,26 @@
 
 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
  * See cxx source for full Copyright notice                               */
-
 /*
 
  
 Author: R. GUERNANE LPSC Grenoble CNRS/IN2P3
 */
 
-#include "AliCaloRawAnalyzer.h"
-
-
-class  TF1;
-class  TGraph;
+#include "AliCaloRawAnalyzerFitter.h"
 
-class  AliCaloRawAnalyzerFakeALTRO : public AliCaloRawAnalyzer
+class  AliCaloRawAnalyzerFakeALTRO : public AliCaloRawAnalyzerFitter
 {
+  friend class AliCaloRawAnalyzerFactory;
+
  public:
-           AliCaloRawAnalyzerFakeALTRO();
   virtual ~AliCaloRawAnalyzerFakeALTRO();
-       
   virtual AliCaloFitResults  Evaluate( const std::vector<AliCaloBunchInfo> &bunchvector, const UInt_t altrocfg1,  const UInt_t altrocfg2 );
-  void PrintFitResult(const TF1 *f) const;
   
-  // shaper tau value, in time-bins, and flag for keeping tau fixed
-  Float_t GetTau() const { return fTau;};
-  void SetTau(Float_t f) { fTau = f; }; 
-  Bool_t GetFixTau() const { return fFixTau; }; 
-  void SetFixTau(Bool_t b) { fFixTau = b; }; 
-
-  // extra interfaces
-  TF1 * GetFit() const { return fTf1; };
-
  private:
+  AliCaloRawAnalyzerFakeALTRO();
   AliCaloRawAnalyzerFakeALTRO(const AliCaloRawAnalyzerFakeALTRO & );
   AliCaloRawAnalyzerFakeALTRO  & operator = (const AliCaloRawAnalyzerFakeALTRO  &);
-  double fXaxis[MAXSAMPLES]; //Axis if time bins, ( used by TGraph )
-  const double fkEulerSquared; //e^2 = 7.389056098930650227
-  TF1 *fTf1;     // Analytical formula of the Semi Gaussian to be fitted
-
-  Float_t fTau; // shaper tau, in time bins
-  Bool_t fFixTau; // flag if tau should be fix
-
   ClassDef(AliCaloRawAnalyzerFakeALTRO,1)
 
 };