ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/Common/CEffUser2D.hh
Revision: 1.2
Committed: Tue Jul 26 07:18:45 2011 UTC (13 years, 9 months ago) by dkralph
Content type: text/plain
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +7 -7 lines
Error occurred while calculating annotation data.
Log Message:
*** empty log message ***

File Contents

# Content
1 #ifndef CEFFUSER2D_HH
2 #define CEFFUSER2D_HH
3
4 #include <TH2D.h>
5 #include <iostream>
6
7 class CEffUser2D
8 {
9 public:
10 CEffUser2D();
11 ~CEffUser2D();
12
13 void loadEff(TH2D* eff, TH2D* errl, TH2D* errh);
14 Float_t getEff(const Double_t x, const Double_t y);
15 Float_t getErrLow(const Double_t x, const Double_t y);
16 Float_t getErrHigh(const Double_t x, const Double_t y);
17 void printEff(std::ostream& os);
18 void printErrLow(std::ostream& os);
19 void printErrHigh(std::ostream& os);
20
21 protected:
22 void printHist2D(const TH2D* h,std::ostream& os);
23 Float_t getValue(const TH2D* h, const Double_t x, const Double_t y);
24
25 TH2D *hEff;
26 TH2D *hErrl;
27 TH2D *hErrh;
28 };
29
30 #endif