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

Comparing UserCode/HbbAnalysis/interface/HistosElecs.hh (file contents):
Revision 1.1 by amagnan, Wed Apr 15 10:24:16 2009 UTC vs.
Revision 1.2 by amagnan, Fri Apr 17 14:26:34 2009 UTC

# Line 5 | Line 5
5   #include <vector>
6   #include <string>
7  
8 < #include "DataFormats/PatCandidates/interface/Muon.h"
8 > #include "DataFormats/PatCandidates/interface/Electron.h"
9  
10   #include "UserCode/HbbAnalysis/interface/HistosBase.hh"
11  
# Line 22 | Line 22 | namespace HbbAnalysis {//namespace
22  
23    public:
24  
25 <    HistosElecs(){};
25 >    HistosElecs():
26 >      doGenMatched_(false)
27 >    {};
28      ~HistosElecs(){};
29  
30 <    void Initialise(TFileDirectory & aDir, std::string aName);
30 >    void Initialise(TFileDirectory & aDir, std::string aName, bool aDoGenMatched=false);
31  
32 <    void FillHistograms(const pat::Muon & aMuon);
32 >    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  
38    private:
39  
40 +    bool doGenMatched_;
41 +
42 +    TH1F *p_nElectrons;
43 +
44      TH1F *p_nChambers;
45  
46  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines