CMS 3D CMS Logo

FitSlicesYTool.h
Go to the documentation of this file.
1 #ifndef FitSlicesYTool_h
2 #define FitSlicesYTool_h
3 
10 #include <TH2F.h>
11 #include <TH1F.h>
13 #include <string>
14 
16 public:
18  FitSlicesYTool(MonitorElement*);
20  /* FitSlicesYTool(TH2F*); */
24  void getFittedMean(MonitorElement*);
26  void getFittedSigma(MonitorElement*);
28  void getFittedMeanWithError(MonitorElement*);
30  void getFittedSigmaWithError(MonitorElement*);
31 
32 private:
33  TH1* h0;
34  TH1* h1;
35  TH1* h2;
36  TH1* h3;
37 };
38 
39 #endif
~FitSlicesYTool()
Constructor: needs a TH2F.
void getFittedSigmaWithError(MonitorElement *)
Fill the ME with the sigma value (with error) of the gaussian fit in each slice.
void getFittedSigma(MonitorElement *)
Fill the ME with the sigma value of the gaussian fit in each slice.
void getFittedMean(MonitorElement *)
Fill the ME with the mean value of the gaussian fit in each slice.
void getFittedMeanWithError(MonitorElement *)
Fill the ME with the mean value (with error) of the gaussian fit in each slice.
dqm::harvesting::MonitorElement MonitorElement
FitSlicesYTool(MonitorElement *)