ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/HbbAnalysis/interface/HistosBase.hh
Revision: 1.7
Committed: Thu Mar 4 15:17:41 2010 UTC (15 years, 2 months ago) by amagnan
Content type: text/plain
Branch: MAIN
CVS Tags: v00-05-00, HbbAnaFor35X, v00-04-02, v00-04-01, v00-04-00
Changes since 1.6: +1 -1 lines
Log Message:
update beginJob and TFileService from CommonTools

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