ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/HbbAnalysis/interface/HistosBase.hh
Revision: 1.8
Committed: Wed Jun 9 14:34:15 2010 UTC (14 years, 10 months ago) by amagnan
Content type: text/plain
Branch: MAIN
CVS Tags: HEAD
Changes since 1.7: +0 -0 lines
State: FILE REMOVED
Log Message:
clean up histogram code, moved to analysis in UserCode/amagnan

File Contents

# Content
1 #ifndef HbbAnalysis_HistosBase_hh
2 #define HbbAnalysis_HistosBase_hh
3
4
5 #include <vector>
6 #include <string>
7
8 #include "CommonTools/UtilAlgos/interface/TFileService.h"
9
10 #ifdef _FLAGANALYSIS_
11 #include "UserCode/HbbAnalysis/interface/TFileDirectory.hh"
12 #endif
13
14 #include "TH1F.h"
15 #include "TH2F.h"
16
17
18 namespace HbbAnalysis {//namespace
19
20
21 class HistosBase {
22
23 public:
24
25 HistosBase();
26 ~HistosBase(){};
27
28 void CreateHistos(std::string & aObj, TFileDirectory & aDir, unsigned short aDebug=0);
29
30 void FillBaseHistograms(double aPT, double aEta, double aPhi, double aCharge);
31
32 protected:
33 //propagate the debug flag from main analyser....
34 unsigned short debug_;
35
36 private:
37
38 TH1F *p_pT;
39 TH1F *p_eta;
40 TH1F *p_phi;
41 TH1F *p_charge;
42
43 TH2F *p_pTvseta;
44 TH2F *p_pTvsphi;
45 TH2F *p_etavsphi;
46
47
48
49
50 };
51
52 }//namespace
53
54
55
56 #endif