ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/HbbAnalysis/interface/HistosBase.hh
Revision: 1.4
Committed: Thu May 28 15:12:43 2009 UTC (15 years, 11 months ago) by amagnan
Content type: text/plain
Branch: MAIN
Changes since 1.3: +1 -1 lines
Log Message:
add JetFlavour class + selectors

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.1 void FillBaseHistograms(double aPT, double aEta, double aPhi);
28    
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    
39     TH2F *p_pTvseta;
40     TH2F *p_pTvsphi;
41     TH2F *p_etavsphi;
42    
43 amagnan 1.3
44    
45 amagnan 1.1
46     };
47    
48     }//namespace
49    
50    
51    
52     #endif