]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Cosmetics
authorphille <phille@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 29 Mar 2011 16:40:30 +0000 (16:40 +0000)
committerphille <phille@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 29 Mar 2011 16:40:30 +0000 (16:40 +0000)
EMCAL/AliCaloRawAnalyzerFitter.cxx
EMCAL/AliCaloRawAnalyzerFitter.h

index 9684fd7032bc49ac2c462d2f5d7eb20334cb8f2d..b7db51be314e70e92297ea8b03b7858308fefe6e 100644 (file)
  * about the suitability of this software for any purpose. It is          *
  * provided "as is" without express or implied warranty.                  *
  **************************************************************************/
+
 #include "AliCaloRawAnalyzerFitter.h"
 #include "TF1.h"
-
 #include <iostream>
+
 using std::cout;
 using std::endl;
 
-//ClassImp( AliCaloRawAnalyzerFitter)
 
 AliCaloRawAnalyzerFitter::AliCaloRawAnalyzerFitter(const char *name, const char *nameshort ) :AliCaloRawAnalyzer( name, nameshort), 
                                                                                              fkEulerSquared(7.389056098930650227),
@@ -36,7 +36,6 @@ AliCaloRawAnalyzerFitter::AliCaloRawAnalyzerFitter(const char *name, const char
       fXaxis[i] = i;
     }
 
-  // InitFormula(fTf1);
   fTf1 = new TF1( "myformula", "[0]*((x - [1])/[2])^2*exp(-2*(x -[1])/[2])",  0, 30 ); 
  
   if (fFixTau) 
@@ -60,13 +59,11 @@ AliCaloRawAnalyzerFitter::~AliCaloRawAnalyzerFitter()
 void 
 AliCaloRawAnalyzerFitter::PrintFitResult(const TF1 *f) const
 {
-  //comment
   cout << endl;
   cout << __FILE__ << __LINE__ << "Using this samplerange we get" << endl;
   cout << __FILE__ << __LINE__ << "AMPLITUDE = " << f->GetParameter(0)/fkEulerSquared << ",.. !!!!" << endl;
   cout << __FILE__ << __LINE__ << "TOF = " << f->GetParameter(1) << ",.. !!!!" << endl;
   cout << __FILE__ << __LINE__ << "NDF = " << f->GetNDF() << ",.. !!!!" << endl;
-  //  cout << __FILE__ << __LINE__ << "STATUS = " << f->GetStatus()  << ",.. !!!!" << endl << endl;
   cout << endl << endl;
 }
 
index 1a49f4c2347470d25d6eb85891f446c159600559..4adc3bf3b439fe64a5fa377cfaf366c9a9c7342b 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; };
@@ -51,15 +48,7 @@ protected:
 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)
-
 };
 
 #endif