1 |
econte |
1.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 |
georgia |
1.3 |
#include "DataFormats/JetReco/interface/JetID.h"
|
13 |
econte |
1.5 |
#include "L1AnalysisRecoJetDataFormat.h"
|
14 |
econte |
1.1 |
|
15 |
jbrooke |
1.6 |
#include "FWCore/Framework/interface/Event.h"
|
16 |
|
|
#include "FWCore/Framework/interface/EventSetup.h"
|
17 |
|
|
|
18 |
|
|
class JetCorrector;
|
19 |
|
|
|
20 |
econte |
1.1 |
namespace L1Analysis
|
21 |
|
|
{
|
22 |
|
|
class L1AnalysisRecoJet
|
23 |
|
|
{
|
24 |
|
|
public:
|
25 |
|
|
L1AnalysisRecoJet();
|
26 |
|
|
~L1AnalysisRecoJet();
|
27 |
|
|
|
28 |
econte |
1.5 |
//void Print(std::ostream &os = std::cout) const;
|
29 |
jbrooke |
1.6 |
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 |
econte |
1.5 |
L1AnalysisRecoJetDataFormat * getData() {return &recoJet_;}
|
36 |
|
|
void Reset() {recoJet_.Reset();}
|
37 |
georgia |
1.3 |
|
38 |
econte |
1.5 |
private :
|
39 |
|
|
L1AnalysisRecoJetDataFormat recoJet_;
|
40 |
econte |
1.1 |
};
|
41 |
|
|
}
|
42 |
|
|
#endif
|
43 |
|
|
|
44 |
|
|
|