ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/VHbbAnalysis/HbbAnalyzer/interface/HbbAnalyzerNew.h
Revision: 1.5
Committed: Thu Jun 30 08:56:27 2011 UTC (13 years, 10 months ago) by tboccali
Content type: text/plain
Branch: MAIN
CVS Tags: AndreaAug10th, HBB_EDMNtupleV1_ProcV2, Jul28th2011, Jul26th2011, Jul25th2011, Jul22nd2011, Jul21st2011, Jul20th2011, Jul18th2011, Jul17th2011, Jul8th2011, Jun30th2011
Changes since 1.4: +2 -0 lines
Log Message:
fix met

File Contents

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