00001 #ifndef Calibration_EcalIsolatedParticleCandidateProducer_h 00002 #define Calibration_EcalIsolatedParticleCandidateProducer_h 00003 00004 #include "FWCore/Framework/interface/Frameworkfwd.h" 00005 #include "FWCore/Framework/interface/EDProducer.h" 00006 00007 #include "FWCore/Framework/interface/Event.h" 00008 #include "FWCore/Framework/interface/MakerMacros.h" 00009 00010 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00011 00012 #include "Geometry/CaloGeometry/interface/CaloGeometry.h" 00013 00014 #include "DataFormats/HcalIsolatedTrack/interface/IsolatedPixelTrackCandidate.h" 00015 // 00016 // class decleration 00017 // 00018 00019 class EcalIsolatedParticleCandidateProducer : public edm::EDProducer { 00020 public: 00021 explicit EcalIsolatedParticleCandidateProducer(const edm::ParameterSet&); 00022 ~EcalIsolatedParticleCandidateProducer(); 00023 00024 private: 00025 00026 const CaloGeometry* geo; 00027 00028 double InConeSize_; 00029 double OutConeSize_; 00030 double hitCountEthr_; 00031 double hitEthr_; 00032 edm::InputTag l1tausource_; 00033 edm::InputTag hltGTseedlabel_; 00034 edm::InputTag EBrecHitCollectionLabel_; 00035 edm::InputTag EErecHitCollectionLabel_; 00036 00037 virtual void beginJob() ; 00038 virtual void produce(edm::Event&, const edm::EventSetup&); 00039 virtual void endJob() ; 00040 00041 // ----------member data --------------------------- 00042 }; 00043 00044 #endif