ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/HbbAnalysis/interface/HistosElecs.hh
Revision: 1.2
Committed: Fri Apr 17 14:26:34 2009 UTC (16 years ago) by amagnan
Content type: text/plain
Branch: MAIN
Changes since 1.1: +14 -4 lines
Log Message:
add Tau histos+debug btag for JPT/PF jets

File Contents

# User Rev Content
1 amagnan 1.1 #ifndef HbbAnalysis_HistosElecs_hh
2     #define HbbAnalysis_HistosElecs_hh
3    
4    
5     #include <vector>
6     #include <string>
7    
8 amagnan 1.2 #include "DataFormats/PatCandidates/interface/Electron.h"
9 amagnan 1.1
10     #include "UserCode/HbbAnalysis/interface/HistosBase.hh"
11    
12    
13    
14     #include "TH1F.h"
15     #include "TH2F.h"
16    
17    
18     namespace HbbAnalysis {//namespace
19    
20    
21     class HistosElecs: public HistosBase {
22    
23     public:
24    
25 amagnan 1.2 HistosElecs():
26     doGenMatched_(false)
27     {};
28 amagnan 1.1 ~HistosElecs(){};
29    
30 amagnan 1.2 void Initialise(TFileDirectory & aDir, std::string aName, bool aDoGenMatched=false);
31 amagnan 1.1
32 amagnan 1.2 void FillEventHistograms(edm::Handle<std::vector<pat::Electron> > aElecCol);
33    
34     void FillHistograms(const pat::Electron & aElec, bool isLead=true);
35    
36     bool MatchesGenElectron(const pat::Electron & aElec);
37 amagnan 1.1
38     private:
39    
40 amagnan 1.2 bool doGenMatched_;
41    
42     TH1F *p_nElectrons;
43    
44 amagnan 1.1 TH1F *p_nChambers;
45    
46    
47     };
48    
49     }//namespace
50    
51    
52    
53     #endif