![]() |
![]() |
00001 // -*- C++ -*- 00002 00003 00004 // system include files 00005 #include <memory> 00006 #include <string> 00007 // user include files 00008 #include "FWCore/Framework/interface/Frameworkfwd.h" 00009 #include "FWCore/Framework/interface/EDProducer.h" 00010 00011 #include "FWCore/Framework/interface/Event.h" 00012 #include "FWCore/Framework/interface/MakerMacros.h" 00013 00014 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00015 #include "FWCore/Framework/interface/Frameworkfwd.h" 00016 #include "FWCore/Framework/interface/Event.h" 00017 #include "FWCore/Framework/interface/MakerMacros.h" 00018 #include "FWCore/Framework/interface/ESHandle.h" 00019 #include "FWCore/Framework/interface/EventSetup.h" 00020 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00021 00022 #include "DataFormats/Common/interface/Ref.h" 00023 #include "DataFormats/CaloTowers/interface/CaloTowerCollection.h" 00024 #include "DataFormats/DetId/interface/DetId.h" 00025 00026 #include "Geometry/Records/interface/IdealGeometryRecord.h" 00027 #include "Geometry/CaloGeometry/interface/CaloGeometry.h" 00028 #include "DataFormats/GeometryVector/interface/GlobalPoint.h" 00029 #include "DataFormats/CaloTowers/interface/CaloTowerDetId.h" 00030 #include "DataFormats/HcalRecHit/interface/HcalRecHitCollections.h" 00031 #include "DataFormats/EcalRecHit/interface/EcalRecHitCollections.h" 00032 00033 // 00034 // class decleration 00035 // 00036 00037 class AlCaHcalNoiseProducer : public edm::EDProducer { 00038 public: 00039 explicit AlCaHcalNoiseProducer(const edm::ParameterSet&); 00040 ~AlCaHcalNoiseProducer(); 00041 00042 00043 virtual void produce(edm::Event &, const edm::EventSetup&); 00044 private: 00045 // ----------member data --------------------------- 00046 00047 edm::InputTag JetSource_; 00048 edm::InputTag MetSource_; 00049 edm::InputTag TowerSource_; 00050 bool useMet_; 00051 bool useJet_; 00052 double MetCut_; 00053 double JetMinE_; 00054 double JetHCALminEnergyFraction_; 00055 int nAnomalousEvents; 00056 int nEvents; 00057 00058 edm::InputTag hbheLabel_; 00059 edm::InputTag hoLabel_; 00060 edm::InputTag hfLabel_; 00061 std::vector<edm::InputTag> ecalLabels_; 00062 edm::InputTag ecalPSLabel_; 00063 edm::InputTag rawInLabel_; 00064 };