00001 #ifndef HCALSIMPLERECONSTRUCTOR_H 00002 #define HCALSIMPLERECONSTRUCTOR_H 1 00003 00004 #include "FWCore/Framework/interface/EDProducer.h" 00005 #include "DataFormats/Common/interface/EDProduct.h" 00006 #include "FWCore/Framework/interface/Event.h" 00007 #include "DataFormats/Common/interface/Handle.h" 00008 00009 #include "FWCore/Framework/interface/EventSetup.h" 00010 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00011 00012 #include "RecoLocalCalo/HcalRecAlgos/interface/HcalSimpleRecAlgo.h" 00013 00014 00021 class HcalSimpleReconstructor : public edm::EDProducer { 00022 public: 00023 explicit HcalSimpleReconstructor(const edm::ParameterSet& ps); 00024 virtual ~HcalSimpleReconstructor(); 00025 virtual void produce(edm::Event& e, const edm::EventSetup& c); 00026 private: 00027 HcalSimpleRecAlgo reco_; 00028 DetId::Detector det_; 00029 int subdet_; 00030 HcalOtherSubdetector subdetOther_; 00031 edm::InputTag inputLabel_; 00032 }; 00033 00034 #endif