1 |
// system include files
|
2 |
#include <memory>
|
3 |
#include <iostream>
|
4 |
using namespace std;
|
5 |
|
6 |
// user include files
|
7 |
#include "FWCore/Framework/interface/Frameworkfwd.h"
|
8 |
#include "FWCore/Framework/interface/EDProducer.h"
|
9 |
|
10 |
#include "FWCore/Framework/interface/Event.h"
|
11 |
#include "FWCore/Framework/interface/MakerMacros.h"
|
12 |
|
13 |
#include "FWCore/ParameterSet/interface/ParameterSet.h"
|
14 |
#include "FWCore/ServiceRegistry/interface/Service.h"
|
15 |
#include "CommonTools/UtilAlgos/interface/TFileService.h"
|
16 |
#include "FWCore/Utilities/interface/InputTag.h"
|
17 |
|
18 |
#include "DataFormats/BeamSpot/interface/BeamSpot.h"
|
19 |
|
20 |
#include "DataFormats/PatCandidates/interface/Muon.h"
|
21 |
#include "DataFormats/PatCandidates/interface/Jet.h"
|
22 |
#include "DataFormats/PatCandidates/interface/Electron.h"
|
23 |
#include "DataFormats/PatCandidates/interface/Tau.h"
|
24 |
#include "DataFormats/PatCandidates/interface/Photon.h"
|
25 |
#include "DataFormats/PatCandidates/interface/MET.h"
|
26 |
|
27 |
#include "DataFormats/Common/interface/View.h"
|
28 |
|
29 |
#include "DataFormats/Candidate/interface/Candidate.h"
|
30 |
#include "DataFormats/Candidate/interface/Particle.h"
|
31 |
#include "DataFormats/HepMCCandidate/interface/GenParticle.h"
|
32 |
|
33 |
#include "TH1.h"
|
34 |
#include "TTree.h"
|
35 |
#include "TMath.h"
|
36 |
|
37 |
#include "DataFormats/Common/interface/TriggerResults.h"
|
38 |
#include "FWCore/Common/interface/TriggerNames.h"
|
39 |
#include <TString.h>
|
40 |
|
41 |
#include "DataFormats/GeometryVector/interface/Phi.h"
|
42 |
|
43 |
#include<TVector2.h>
|
44 |
|
45 |
#include "TMatrixD.h"
|
46 |
#include "TArrayD.h"
|
47 |
#include "TMatrixDBase.h"
|
48 |
|
49 |
#include "DataFormats/METReco/interface/PFMET.h"
|
50 |
//
|
51 |
// class decleration
|
52 |
//
|
53 |
|
54 |
|
55 |
|
56 |
class HbbAnalyzerNew : public edm::EDProducer {
|
57 |
|
58 |
public:
|
59 |
explicit HbbAnalyzerNew(const edm::ParameterSet&);
|
60 |
~HbbAnalyzerNew();
|
61 |
|
62 |
protected:
|
63 |
TVector2 getTvect( const pat::Jet* patJet );
|
64 |
|
65 |
private:
|
66 |
virtual void beginJob() ;
|
67 |
virtual void produce( edm::Event&, const edm::EventSetup&);
|
68 |
virtual void endJob() ;
|
69 |
virtual void fillMuBlock(edm::View<pat::Muon>::const_iterator mu, int muInfo[15]);
|
70 |
|
71 |
// ----------member data ---------------------------
|
72 |
|
73 |
edm::InputTag eleLabel_;
|
74 |
edm::InputTag muoLabel_;
|
75 |
edm::InputTag jetLabel_;
|
76 |
edm::InputTag subjetLabel_;
|
77 |
edm::InputTag simplejet1Label_;
|
78 |
edm::InputTag simplejet2Label_;
|
79 |
edm::InputTag simplejet3Label_;
|
80 |
edm::InputTag simplejet4Label_;
|
81 |
edm::InputTag tauLabel_;
|
82 |
edm::InputTag metLabel_;
|
83 |
edm::InputTag phoLabel_;
|
84 |
edm::InputTag dimuLabel_;
|
85 |
edm::InputTag dielecLabel_;
|
86 |
edm::InputTag hltResults_;
|
87 |
|
88 |
bool runOnMC_;
|
89 |
|
90 |
// TMatrixD *pointerPt;
|
91 |
TMatrixD *pointerEta;
|
92 |
TMatrixD *pointerPhi;
|
93 |
|
94 |
};
|
95 |
|
96 |
//
|
97 |
// constants, enums and typedefs
|
98 |
//
|
99 |
|
100 |
//
|
101 |
// static data member definitions
|
102 |
//
|
103 |
|
104 |
//
|
105 |
|