Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-10-25 09:55:40

0001 #ifndef __L1Analysis_L1AnalysisRecoJet_H__
0002 #define __L1Analysis_L1AnalysisRecoJet_H__
0003 
0004 //-------------------------------------------------------------------------------
0005 // Created 05/03/2010 - A.C. Le Bihan
0006 //
0007 //
0008 // Original code : L1Trigger/L1TNtuples/L1RecoJetNtupleProducer - Jim Brooke
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     //void Print(std::ostream &os = std::cout) const;
0026     void SetCaloJet(const edm::Event& event,
0027                     const edm::EventSetup& setup,
0028                     const edm::Handle<reco::CaloJetCollection> caloJets,
0029                     //edm::Handle<edm::ValueMap<reco::JetID> > jetsID,
0030                     //edm::Handle<reco::JetCorrector> jetCorrector,
0031                     unsigned maxJet);
0032     L1AnalysisRecoJetDataFormat* getData() { return &recoJet_; }
0033     void Reset() { recoJet_.Reset(); }
0034 
0035   private:
0036     L1AnalysisRecoJetDataFormat recoJet_;
0037   };
0038 }  // namespace L1Analysis
0039 #endif