CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ManipHist.h
Go to the documentation of this file.
1 #ifndef ManipHist_h
2 #define ManipHist_h
3 
5 
6 class ManipHist : public FitHist{
7 
8  public:
9 
10  ManipHist(){};
11  //~ManipHist(){ file_->Close(); };
12  virtual ~ManipHist(){};
13 
14  //extra members
15  void sumHistograms();
16  void divideAndDrawPs();
17  void divideAndDrawEps();
18 
19  protected:
20 
21  //specific configurables
24 
25  //extra members
26  TH1F& divideHistograms(TH1F&, TH1F&, int);
27  double ratioCorrelatedError(double&, double&, double&, double&);
28  double ratioUncorrelatedError(double&, double&, double&, double&);
29 
30  protected:
31 
32  //---------------------------------------------
33  // Interface
34  //---------------------------------------------
35 
36  //define histogram manipulations
37  int errorType_; // define histogram errors (uncorr/corr)
38  std::vector<double> weights_; // define weights
39 };
40 
41 #endif
void sumHistograms()
Definition: ManipHist.cc:42
double ratioCorrelatedError(double &, double &, double &, double &)
Definition: ManipHist.cc:222
void configBlockSum(ConfigFile &)
Definition: ManipHist.cc:8
virtual ~ManipHist()
Definition: ManipHist.h:12
Definition: FitHist.h:8
TH1F & divideHistograms(TH1F &, TH1F &, int)
Definition: ManipHist.cc:194
void divideAndDrawEps()
Definition: ManipHist.cc:141
std::vector< double > weights_
Definition: ManipHist.h:38
ManipHist()
Definition: ManipHist.h:10
int errorType_
Definition: ManipHist.h:37
void configBlockDivide(ConfigFile &)
Definition: ManipHist.cc:25
void divideAndDrawPs()
Definition: ManipHist.cc:86
double ratioUncorrelatedError(double &, double &, double &, double &)
Definition: ManipHist.cc:239