00001 #ifndef L1ExtraFromDigis_L1GctInternJetProducer_h 00002 #define L1ExtraFromDigis_L1GctInternJetProducer_h 00003 // -*- C++ -*- 00004 // 00005 // Package: EventFilter/GctRawToDigi 00006 // Class : L1GctInternJetProducer 00007 // 00016 // user include files 00017 #include "FWCore/Framework/interface/EDProducer.h" 00018 #include "FWCore/Framework/interface/Event.h" 00019 #include "FWCore/Framework/interface/EventSetup.h" 00020 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00021 #include "FWCore/Utilities/interface/InputTag.h" 00022 00023 #include "DataFormats/L1Trigger/interface/L1JetParticle.h" 00024 #include "DataFormats/L1Trigger/interface/L1JetParticleFwd.h" 00025 00026 // forward declarations 00027 class L1CaloGeometry ; 00028 00029 class L1GctInternJetProducer : public edm::EDProducer { 00030 public: 00031 explicit L1GctInternJetProducer(const edm::ParameterSet&); 00032 ~L1GctInternJetProducer(); 00033 00034 private: 00035 virtual void beginJob() ; 00036 virtual void produce(edm::Event&, const edm::EventSetup&); 00037 virtual void endJob() ; 00038 00039 math::PtEtaPhiMLorentzVector gctLorentzVector( const double& et, 00040 const L1GctCand& cand, 00041 const L1CaloGeometry* geom, 00042 bool central ) ; 00043 00044 edm::InputTag internalJetSource_; 00045 00046 bool centralBxOnly_; 00047 00048 }; 00049 00050 #endif