![]() |
![]() |
00001 #ifndef CASTORSIMPLERECONSTRUCTOR_H 00002 #define CASTORSIMPLERECONSTRUCTOR_H 1 00003 00004 #include "FWCore/Framework/interface/EDProducer.h" 00005 #include "FWCore/Framework/interface/Event.h" 00006 #include "DataFormats/Common/interface/Handle.h" 00007 00008 #include "FWCore/Framework/interface/EventSetup.h" 00009 #include "FWCore/ParameterSet/interface/ParameterSet.h" 00010 00011 #include "RecoLocalCalo/CastorReco/interface/CastorSimpleRecAlgo.h" 00012 00013 class CastorSimpleReconstructor : public edm::EDProducer { 00014 public: 00015 explicit CastorSimpleReconstructor(const edm::ParameterSet& ps); 00016 virtual ~CastorSimpleReconstructor(); 00017 virtual void beginRun(edm::Run&r, edm::EventSetup const & es); 00018 virtual void produce(edm::Event& e, const edm::EventSetup& c); 00019 private: 00020 CastorSimpleRecAlgo reco_; 00021 DetId::Detector det_; 00022 int subdet_; 00023 // HcalOtherSubdetector subdetOther_; 00024 edm::InputTag inputLabel_; 00025 00026 int firstSample_; 00027 int samplesToAdd_; 00028 bool tsFromDB_; 00029 bool setSaturationFlag_; 00030 int maxADCvalue_; 00031 bool doSaturationCorr_; 00032 }; 00033 00034 #endif