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): fitMean(mean),
13  fitMeanError(meanErr),
14  fitSigma(sigma),
15  fitSigmaError(sigmaErr) {}
16 
17  double fitMean;
18  double fitMeanError;
19  double fitSigma;
20  double fitSigmaError;
21 };
22 
24 public:
25  DTResidualFitter(bool debug = false);
27 
28  DTResidualFitResult fitResiduals(TH1F& histo, int nSigmas = 1);
29 
30 private:
31  bool debug_;
32 };
33 #endif
DTResidualFitResult(double mean, double meanErr, double sigma, double sigmaErr)
#define debug
Definition: HDRShower.cc:19