]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EMCAL/AliCaloRawAnalyzerFitter.h
remove argument from method, pass the parameter via data member switchable
[u/mrichter/AliRoot.git] / EMCAL / AliCaloRawAnalyzerFitter.h
index 1a49f4c2347470d25d6eb85891f446c159600559..fafac0646b87d55c939a6a68252453477f6dd759 100644 (file)
 #include "AliCaloRawAnalyzer.h"
 #include "AliCaloConstants.h"
 
-
 using namespace ALTRO;
 using namespace EMCAL;
 
 class  TF1;
 class  TGraph;
 
-
 class  AliCaloRawAnalyzerFitter : public AliCaloRawAnalyzer
 {
 public:
+  
   AliCaloRawAnalyzerFitter( const char *name, const char *nameshort );
+
   virtual ~AliCaloRawAnalyzerFitter();
-  //  virtual void InitFormula( TF1*) = 0;
-  Bool_t GetFixTau() const { return fFixTau; }; 
-  void SetFixTau(Bool_t b) { fFixTau = b; };
+
   TF1 * GetFit() const { return fTf1; };
+  
   void PrintFitResult(const TF1 *f) const;
 
-protected: 
-  const double fkEulerSquared; //e^2 = 7.389056098930650227
-  TF1 *fTf1;  // Analytical formula of the Semi Gaussian to be fitted 
-  double fXaxis[ALTROMAXSAMPLES]; //Axis if time bins, ( used by TGraph )
-  Bool_t fFixTau; // flag if tau should be fix
+protected:
+  
+  const double fkEulerSquared;          // e^2 = 7.389056098930650227
+  TF1        * fTf1;                    // Analytical formula of the Semi Gaussian to be fitted
+  double       fXaxis[ALTROMAXSAMPLES]; // Axis if time bins, ( used by TGraph )
 
 private:
-  AliCaloRawAnalyzerFitter(const AliCaloRawAnalyzerFitter & );
-  AliCaloRawAnalyzerFitter  & operator = (const AliCaloRawAnalyzerFitter  &);
-
-  //  double fXaxis[ALTROMAXSAMPLES]; //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
-  //  Bool_t fFixTau; // flag if tau should be fix
-  AliCaloRawAnalyzerFitter();
   
-  //  ClassDef(AliCaloRawAnalyzerFitter, 1)
-
+  AliCaloRawAnalyzerFitter(               const AliCaloRawAnalyzerFitter & );
+  AliCaloRawAnalyzerFitter  & operator = (const AliCaloRawAnalyzerFitter & );
+  AliCaloRawAnalyzerFitter();
 };
 
 #endif