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
DTResidualFitter::debug_
bool debug_
Definition: DTResidualFitter.h:29
SiStripPI::mean
Definition: SiStripPayloadInspectorHelper.h:169
DTResidualFitter::~DTResidualFitter
~DTResidualFitter()
Definition: DTResidualFitter.cc:17
timingPdfMaker.histo
histo
Definition: timingPdfMaker.py:279
DTResidualFitter::fitResiduals
DTResidualFitResult fitResiduals(TH1F &histo, int nSigmas=1)
Definition: DTResidualFitter.cc:19
debug
#define debug
Definition: HDRShower.cc:19
DTResidualFitResult::fitSigma
double fitSigma
Definition: DTResidualFitter.h:17
DTResidualFitter::DTResidualFitter
DTResidualFitter(bool debug=false)
Definition: DTResidualFitter.cc:15
DTResidualFitResult
Definition: DTResidualFitter.h:10
DTResidualFitResult::fitSigmaError
double fitSigmaError
Definition: DTResidualFitter.h:18
DTResidualFitter
Definition: DTResidualFitter.h:21
DTResidualFitResult::DTResidualFitResult
DTResidualFitResult(double mean, double meanErr, double sigma, double sigmaErr)
Definition: DTResidualFitter.h:12
DTResidualFitResult::fitMeanError
double fitMeanError
Definition: DTResidualFitter.h:16
DTResidualFitResult::fitMean
double fitMean
Definition: DTResidualFitter.h:15