ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/HbbAnalysis/interface/HistosVertexBase.hh
Revision: 1.2
Committed: Wed Jun 9 14:34:16 2010 UTC (14 years, 10 months ago) by amagnan
Content type: text/plain
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
State: FILE REMOVED
Log Message:
clean up histogram code, moved to analysis in UserCode/amagnan

File Contents

# User Rev Content
1 amagnan 1.1 #ifndef HbbAnalysis_HistosVertexBase_hh
2     #define HbbAnalysis_HistosVertexBase_hh
3    
4     #include <vector>
5     #include <string>
6    
7     #include "UserCode/HbbAnalysis/interface/HistosBase.hh"
8     #include "UserCode/HbbAnalysis/interface/Vertex.hh"
9    
10     #include "TH1F.h"
11     #include "TH2F.h"
12    
13     namespace HbbAnalysis {//namespace
14    
15     class HistosVertexBase: public HistosBase {
16    
17     public:
18    
19     HistosVertexBase(){};
20     ~HistosVertexBase(){};
21    
22     void Initialise(TFileDirectory & aDir, std::string aName, bool aDoGenMatched=false);
23    
24     void FillEventHistograms(const std::vector<HbbAnalysis::Vertex> & aCol);
25    
26     void FillHistograms(const HbbAnalysis::Vertex & aVtx, bool isLead=true);
27    
28     protected:
29    
30     TH1F *p_nVertices;
31     TH1F *p_trackWeights;
32     TH1F *p_nGoodTracks;
33     TH1F *p_chi2;
34     TH1F *p_ndof;
35     TH1F *p_x;
36     TH1F *p_y;
37     TH1F *p_z;
38     TH1F *p_xError;
39     TH1F *p_yError;
40     TH1F *p_zError;
41     TH1F *p_xSig;
42     TH1F *p_ySig;
43     TH1F *p_zSig;
44     TH1F *p_cov01;
45     TH1F *p_cov02;
46     TH1F *p_cov12;
47    
48     };
49    
50     }//namespace
51    
52     #endif //HbbAnalysis_HistosVertexBase_hh