ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/HbbAnalysis/interface/HistosBase.hh
(Generate patch)

Comparing UserCode/HbbAnalysis/interface/HistosBase.hh (file contents):
Revision 1.1 by amagnan, Wed Apr 15 10:24:16 2009 UTC vs.
Revision 1.7 by amagnan, Thu Mar 4 15:17:41 2010 UTC

# Line 5 | Line 5
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"
# Line 20 | Line 22 | namespace HbbAnalysis {//namespace
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  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines