5 |
|
#include <vector> |
6 |
|
#include <string> |
7 |
|
|
8 |
< |
#include "FWCore/ServiceRegistry/interface/Service.h" |
9 |
< |
#include "PhysicsTools/UtilAlgos/interface/TFileService.h" |
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" |
22 |
|
|
23 |
|
public: |
24 |
|
|
25 |
< |
HistosBase(){}; |
25 |
> |
HistosBase(); |
26 |
|
~HistosBase(){}; |
27 |
|
|
28 |
< |
void CreateHistos(std::string aObj, TFileDirectory aDir); |
29 |
< |
void FillBaseHistograms(double aPT, double aEta, double aPhi); |
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 |
|
|