CMS 3D CMS Logo

DTResidualFitter.h
Go to the documentation of this file.
1 #ifndef CalibMuon_DTCalibration_DTResidualFitter_h
2 #define CalibMuon_DTCalibration_DTResidualFitter_h
3 
4 /*
5  * \author A. Vilela Pereira
6  */
7 
8 class TH1F;
9 
11 public:
12  DTResidualFitResult(double mean, double meanErr, double sigma, double sigmaErr)
13  : fitMean(mean), fitMeanError(meanErr), fitSigma(sigma), fitSigmaError(sigmaErr) {}
14 
15  double fitMean;
16  double fitMeanError;
17  double fitSigma;
18  double fitSigmaError;
19 };
20 
22 public:
23  DTResidualFitter(bool debug = false);
25 
26  DTResidualFitResult fitResiduals(TH1F& histo, int nSigmas = 1);
27 
28 private:
29  bool debug_;
30 };
31 #endif
DTResidualFitResult(double mean, double meanErr, double sigma, double sigmaErr)
DTResidualFitResult fitResiduals(TH1F &histo, int nSigmas=1)
#define debug
Definition: HDRShower.cc:19
DTResidualFitter(bool debug=false)