00001 #ifndef ZDCSIMPLERECONSTRUCTOR_H 00002 #define ZDCSIMPLERECONSTRUCTOR_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 #include "CondFormats/HcalObjects/interface/HcalLongRecoParams.h" 00009 #include "CondFormats/HcalObjects/interface/HcalLongRecoParam.h" 00010 #include "FWCore/Framework/interface/EventSetup.h" 00011 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00012 00013 #include "RecoLocalCalo/HcalRecAlgos/interface/ZdcSimpleRecAlgo.h" 00014 00015 00022 class ZdcSimpleReconstructor : public edm::EDProducer { 00023 public: 00024 explicit ZdcSimpleReconstructor(const edm::ParameterSet& ps); 00025 virtual ~ZdcSimpleReconstructor(); 00026 virtual void beginRun(edm::Run&r, edm::EventSetup const & es); 00027 virtual void endRun(edm::Run&r, edm::EventSetup const & es); 00028 virtual void produce(edm::Event& e, const edm::EventSetup& c); 00029 private: 00030 ZdcSimpleRecAlgo reco_; 00031 DetId::Detector det_; 00032 int subdet_; 00033 HcalOtherSubdetector subdetOther_; 00034 edm::InputTag inputLabel_; 00035 00036 bool dropZSmarkedPassed_; // turn on/off dropping of zero suppression marked and passed digis 00037 00038 HcalLongRecoParams* myobject; //noiseTS and signalTS from db 00039 }; 00040 00041 #endif