CMS 3D CMS Logo

EcalAnalFitUncalibRecHitProducer.h

Go to the documentation of this file.
00001 #ifndef RecoLocalCalo_EcalRecProducers_EcalAnalFitUncalibRecHitProducer_HH
00002 #define RecoLocalCalo_EcalRecProducers_EcalAnalFitUncalibRecHitProducer_HH
00003 
00004 #include "FWCore/Framework/interface/EDProducer.h"
00005 #include "FWCore/ParameterSet/interface/ParameterSet.h"
00006 #include "FWCore/Framework/interface/Event.h"
00007 #include "FWCore/Framework/interface/EventSetup.h"
00008 
00009 #include "RecoLocalCalo/EcalRecAlgos/interface/EcalUncalibRecHitRecAnalFitAlgo.h"
00010 #include "DataFormats/EcalDigi/interface/EBDataFrame.h"
00011 #include "DataFormats/EcalDigi/interface/EEDataFrame.h"
00012 
00013 // forward declaration
00014 class EcalAnalFitUncalibRecHitProducer : public edm::EDProducer {
00015 
00016   public:
00017     typedef std::vector<double> EcalRecoAmplitudes;
00018     explicit EcalAnalFitUncalibRecHitProducer(const edm::ParameterSet& ps);
00019     ~EcalAnalFitUncalibRecHitProducer();
00020     virtual void produce(edm::Event& evt, const edm::EventSetup& es);
00021 
00022   private:
00023     edm::InputTag EBdigiCollection_; // secondary name given to collection of digis
00024     edm::InputTag EEdigiCollection_; // secondary name given to collection of digis
00025     std::string EBhitCollection_; // secondary name to be given to collection of hit
00026     std::string EEhitCollection_; // secondary name to be given to collection of hits
00027 
00028     EcalUncalibRecHitRecAnalFitAlgo<EBDataFrame> EBalgo_;
00029     EcalUncalibRecHitRecAnalFitAlgo<EEDataFrame> EEalgo_;
00030 
00031 /*     int nMaxPrintout_; // max # of printouts */
00032 /*     int nEvt_; // internal counter of events */
00033 
00034 /*     bool counterExceeded() const { return ( (nEvt_>nMaxPrintout_) || (nMaxPrintout_<0) ) ; } */
00035 };
00036 #endif

Generated on Tue Jun 9 17:43:45 2009 for CMSSW by  doxygen 1.5.4