1 |
#ifndef HbbAnalysis_HistosElecs_hh
|
2 |
#define HbbAnalysis_HistosElecs_hh
|
3 |
|
4 |
#include <vector>
|
5 |
#include <string>
|
6 |
|
7 |
#include "DataFormats/PatCandidates/interface/Electron.h"
|
8 |
#include "DataFormats/Common/interface/Handle.h"
|
9 |
#include "DataFormats/VertexReco/interface/Vertex.h"
|
10 |
|
11 |
#include "UserCode/HbbAnalysis/interface/HistosElecsBase.hh"
|
12 |
|
13 |
#include "TH1F.h"
|
14 |
#include "TH2F.h"
|
15 |
|
16 |
|
17 |
namespace HbbAnalysis {//namespace
|
18 |
|
19 |
class HistosElecs: public HistosElecsBase {
|
20 |
|
21 |
public:
|
22 |
|
23 |
// HistosElecs():
|
24 |
// doGenMatched_(false)
|
25 |
// {};
|
26 |
// ~HistosElecs(){};
|
27 |
|
28 |
void FillEventHistograms(const edm::Handle<std::vector<pat::Electron> > & aElecCol);
|
29 |
|
30 |
void FillHistograms(const pat::Electron & aElec, const edm::Handle<std::vector<reco::Vertex> >& aRecoVertices, bool isLead=true);
|
31 |
|
32 |
bool MatchesGenElectron(const pat::Electron & aElec);
|
33 |
|
34 |
};
|
35 |
|
36 |
}//namespace
|
37 |
|
38 |
|
39 |
|
40 |
#endif
|