ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/L1TriggerDPG/interface/L1AnalysisRecoJet.h
Revision: 1.6
Committed: Sun Apr 3 12:08:22 2011 UTC (14 years, 1 month ago) by jbrooke
Content type: text/plain
Branch: MAIN
CVS Tags: V01-01-00, jimb4Jan2013, V01-00-00, hi44X_02, L1CorrectionsStudy_13_09_11, CMSSW_4_2_3_patch2, HEAD
Changes since 1.5: +11 -1 lines
Log Message:
add et corrections to reco jets

File Contents

# Content
1 #ifndef __L1Analysis_L1AnalysisRecoJet_H__
2 #define __L1Analysis_L1AnalysisRecoJet_H__
3
4 //-------------------------------------------------------------------------------
5 // Created 05/03/2010 - A.C. Le Bihan
6 //
7 //
8 // Original code : UserCode/L1TriggerDPG/L1RecoJetNtupleProducer - Jim Brooke
9 //-------------------------------------------------------------------------------
10
11 #include "DataFormats/JetReco/interface/CaloJetCollection.h"
12 #include "DataFormats/JetReco/interface/JetID.h"
13 #include "L1AnalysisRecoJetDataFormat.h"
14
15 #include "FWCore/Framework/interface/Event.h"
16 #include "FWCore/Framework/interface/EventSetup.h"
17
18 class JetCorrector;
19
20 namespace L1Analysis
21 {
22 class L1AnalysisRecoJet
23 {
24 public:
25 L1AnalysisRecoJet();
26 ~L1AnalysisRecoJet();
27
28 //void Print(std::ostream &os = std::cout) const;
29 void SetCaloJet(const edm::Event& event,
30 const edm::EventSetup& setup,
31 const edm::Handle<reco::CaloJetCollection> caloJets,
32 edm::Handle<edm::ValueMap<reco::JetID> > jetsID,
33 const JetCorrector* jetCorrector,
34 unsigned maxJet);
35 L1AnalysisRecoJetDataFormat * getData() {return &recoJet_;}
36 void Reset() {recoJet_.Reset();}
37
38 private :
39 L1AnalysisRecoJetDataFormat recoJet_;
40 };
41 }
42 #endif
43
44