ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/HbbAnalysis/interface/HistosBase.hh
Revision: 1.5
Committed: Mon Jun 1 13:57:47 2009 UTC (15 years, 11 months ago) by amagnan
Content type: text/plain
Branch: MAIN
CVS Tags: v00-03-00, v00-02-01, v00-02-00, v00-01-00
Changes since 1.4: +2 -1 lines
Log Message:
add histos for elecs+MET selection

File Contents

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