Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:18:58

0001 #ifndef COMP1D_HH
0002 #define COMP1D_HH
0003 
0004 class CompHisto1D {
0005 public:
0006   CompHisto1D(TH1D* histo1_v, TH1D* histo2_v);
0007   ~CompHisto1D(){};
0008 
0009   double Compare();
0010   void SaveAsEps();
0011   void SetLabel1(string l1) {label1 = l1;}
0012   void SetLabel2(string l2) {label2 = l2;}
0013   double myChisq();  
0014 
0015 private:
0016   TH1D* histo1;
0017   TH1D* histo2;
0018   string title;
0019   string label1;
0020   string label2;
0021   TCanvas* compCanvas;
0022 
0023 };
0024 
0025 #endif