File indexing completed on 2024-04-06 12:21:12
0001 #ifndef __L1Analysis_L1AnalysisRecoJet_H__
0002 #define __L1Analysis_L1AnalysisRecoJet_H__
0003
0004
0005
0006
0007
0008
0009
0010
0011 #include "JetMETCorrections/JetCorrector/interface/JetCorrector.h"
0012 #include "DataFormats/JetReco/interface/CaloJetCollection.h"
0013 #include "DataFormats/JetReco/interface/JetID.h"
0014 #include "L1AnalysisRecoJetDataFormat.h"
0015
0016 #include "FWCore/Framework/interface/Event.h"
0017 #include "FWCore/Framework/interface/EventSetup.h"
0018
0019 namespace L1Analysis {
0020 class L1AnalysisRecoJet {
0021 public:
0022 L1AnalysisRecoJet();
0023 ~L1AnalysisRecoJet();
0024
0025
0026 void SetCaloJet(const edm::Event& event,
0027 const edm::EventSetup& setup,
0028 const edm::Handle<reco::CaloJetCollection> caloJets,
0029
0030
0031 unsigned maxJet);
0032 L1AnalysisRecoJetDataFormat* getData() { return &recoJet_; }
0033 void Reset() { recoJet_.Reset(); }
0034
0035 private:
0036 L1AnalysisRecoJetDataFormat recoJet_;
0037 };
0038 }
0039 #endif