1 |
tboccali |
1.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 "TMatrixD.h"
|
44 |
|
|
#include "TArrayD.h"
|
45 |
|
|
#include "TMatrixDBase.h"
|
46 |
|
|
|
47 |
|
|
#include "DataFormats/METReco/interface/PFMET.h"
|
48 |
|
|
//
|
49 |
|
|
// class decleration
|
50 |
|
|
//
|
51 |
|
|
|
52 |
|
|
|
53 |
|
|
|
54 |
|
|
class HbbAnalyzerNew : public edm::EDProducer {
|
55 |
|
|
|
56 |
|
|
public:
|
57 |
|
|
explicit HbbAnalyzerNew(const edm::ParameterSet&);
|
58 |
|
|
~HbbAnalyzerNew();
|
59 |
|
|
|
60 |
|
|
|
61 |
|
|
private:
|
62 |
|
|
virtual void beginJob() ;
|
63 |
|
|
virtual void produce( edm::Event&, const edm::EventSetup&);
|
64 |
|
|
virtual void endJob() ;
|
65 |
|
|
virtual void fillMuBlock(edm::View<pat::Muon>::const_iterator mu, int muInfo[15]);
|
66 |
|
|
|
67 |
|
|
// ----------member data ---------------------------
|
68 |
|
|
|
69 |
|
|
edm::InputTag eleLabel_;
|
70 |
|
|
edm::InputTag muoLabel_;
|
71 |
|
|
edm::InputTag jetLabel_;
|
72 |
|
|
edm::InputTag subjetLabel_;
|
73 |
|
|
edm::InputTag simplejet1Label_;
|
74 |
|
|
edm::InputTag simplejet2Label_;
|
75 |
|
|
edm::InputTag simplejet3Label_;
|
76 |
|
|
edm::InputTag simplejet4Label_;
|
77 |
|
|
edm::InputTag tauLabel_;
|
78 |
|
|
edm::InputTag metLabel_;
|
79 |
|
|
edm::InputTag phoLabel_;
|
80 |
|
|
edm::InputTag dimuLabel_;
|
81 |
|
|
edm::InputTag dielecLabel_;
|
82 |
|
|
edm::InputTag hltResults_;
|
83 |
|
|
|
84 |
|
|
// TMatrixD *pointerPt;
|
85 |
|
|
TMatrixD *pointerEta;
|
86 |
|
|
TMatrixD *pointerPhi;
|
87 |
|
|
|
88 |
|
|
};
|
89 |
|
|
|
90 |
|
|
//
|
91 |
|
|
// constants, enums and typedefs
|
92 |
|
|
//
|
93 |
|
|
|
94 |
|
|
//
|
95 |
|
|
// static data member definitions
|
96 |
|
|
//
|
97 |
|
|
|
98 |
|
|
//
|
99 |
|
|
|