src
L1Trigger
L1TNtuples
interface
L1AnalysisRecoJet.h
Go to the documentation of this file.
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 : L1Trigger/L1TNtuples/L1RecoJetNtupleProducer - Jim Brooke
9
//-------------------------------------------------------------------------------
10
11
#include "
JetMETCorrections/JetCorrector/interface/JetCorrector.h
"
12
#include "
DataFormats/JetReco/interface/CaloJetCollection.h
"
13
#include "
DataFormats/JetReco/interface/JetID.h
"
14
#include "
L1AnalysisRecoJetDataFormat.h
"
15
16
#include "
FWCore/Framework/interface/Event.h
"
17
#include "
FWCore/Framework/interface/EventSetup.h
"
18
19
namespace
L1Analysis
{
20
class
L1AnalysisRecoJet
{
21
public
:
22
L1AnalysisRecoJet
();
23
~L1AnalysisRecoJet
();
24
25
//void Print(std::ostream &os = std::cout) const;
26
void
SetCaloJet
(
const
edm::Event
&
event
,
27
const
edm::EventSetup
&
setup
,
28
const
edm::Handle<reco::CaloJetCollection>
caloJets
,
29
//edm::Handle<edm::ValueMap<reco::JetID> > jetsID,
30
//edm::Handle<reco::JetCorrector> jetCorrector,
31
unsigned
maxJet
);
32
L1AnalysisRecoJetDataFormat
*
getData
() {
return
&
recoJet_
; }
33
void
Reset
() {
recoJet_
.
Reset
(); }
34
35
private
:
36
L1AnalysisRecoJetDataFormat
recoJet_
;
37
};
38
}
// namespace L1Analysis
39
#endif
l1JetRecoTree_cfi.maxJet
maxJet
Definition:
l1JetRecoTree_cfi.py:9
L1Analysis::L1AnalysisRecoJet::SetCaloJet
void SetCaloJet(const edm::Event &event, const edm::EventSetup &setup, const edm::Handle< reco::CaloJetCollection > caloJets, unsigned maxJet)
Definition:
L1AnalysisRecoJet.cc:10
L1Analysis::L1AnalysisRecoJet::Reset
void Reset()
Definition:
L1AnalysisRecoJet.h:33
Event.h
CaloJetCollection.h
isolatedTracks_cfi.caloJets
caloJets
Definition:
isolatedTracks_cfi.py:41
edm::Handle< reco::CaloJetCollection >
EventSetup.h
JetID.h
L1Analysis::L1AnalysisRecoJet::~L1AnalysisRecoJet
~L1AnalysisRecoJet()
Definition:
L1AnalysisRecoJet.cc:8
L1Analysis::L1AnalysisRecoJet::getData
L1AnalysisRecoJetDataFormat * getData()
Definition:
L1AnalysisRecoJet.h:32
L1Analysis::L1AnalysisRecoJetDataFormat
Definition:
L1AnalysisRecoJetDataFormat.h:14
L1Analysis::L1AnalysisRecoJet::recoJet_
L1AnalysisRecoJetDataFormat recoJet_
Definition:
L1AnalysisRecoJet.h:36
JetCorrector.h
edm::EventSetup
Definition:
EventSetup.h:59
singleTopDQM_cfi.setup
setup
SETUP
Definition:
singleTopDQM_cfi.py:37
L1Analysis::L1AnalysisRecoJet::L1AnalysisRecoJet
L1AnalysisRecoJet()
Definition:
L1AnalysisRecoJet.cc:6
L1AnalysisRecoJetDataFormat.h
L1Analysis::L1AnalysisRecoJet
Definition:
L1AnalysisRecoJet.h:20
L1Analysis
Definition:
L1AnalysisBMTFInputs.h:18
edm::Event
Definition:
Event.h:73
event
Definition:
event.py:1
L1Analysis::L1AnalysisRecoJetDataFormat::Reset
void Reset()
Definition:
L1AnalysisRecoJetDataFormat.h:18
Generated for CMSSW Reference Manual by
1.8.14