CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
DTResidualFitter.h
Go to the documentation of this file.
1 #ifndef CalibMuon_DTCalibration_DTResidualFitter_h
2 #define CalibMuon_DTCalibration_DTResidualFitter_h
3 
4 /*
5  * $Date: 2010/11/19 14:02:08 $
6  * $Revision: 1.3 $
7  * \author A. Vilela Pereira
8  */
9 
10 class TH1F;
11 
13 public:
14  DTResidualFitResult(double mean, double meanErr, double sigma, double sigmaErr): fitMean(mean),
15  fitMeanError(meanErr),
16  fitSigma(sigma),
17  fitSigmaError(sigmaErr) {}
18 
19  double fitMean;
20  double fitMeanError;
21  double fitSigma;
22  double fitSigmaError;
23 };
24 
26 public:
27  DTResidualFitter(bool debug = false);
29 
30  DTResidualFitResult fitResiduals(TH1F& histo, int nSigmas = 1);
31 
32 private:
33  bool debug_;
34 };
35 #endif
DTResidualFitResult(double mean, double meanErr, double sigma, double sigmaErr)
DTResidualFitResult fitResiduals(TH1F &histo, int nSigmas=1)
DTResidualFitter(bool debug=false)
#define debug
Definition: MEtoEDMFormat.h:34