CMS 3D CMS Logo

EcalMaxSampleUncalibRecHitProducer.h

Go to the documentation of this file.
00001 #ifndef RecoLocalCalo_EcalRecProducers_EcalMaxSampleUncalibRecHitProducer_HH
00002 #define RecoLocalCalo_EcalRecProducers_EcalMaxSampleUncalibRecHitProducer_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/EcalUncalibRecHitMaxSampleAlgo.h"
00010 #include "DataFormats/EcalDigi/interface/EBDataFrame.h"
00011 #include "DataFormats/EcalDigi/interface/EEDataFrame.h"
00012 
00013 // forward declaration
00014 class EcalMaxSampleUncalibRecHitProducer : public edm::EDProducer {
00015 
00016  public:
00017   typedef std::vector<double> EcalRecoAmplitudes;
00018   explicit EcalMaxSampleUncalibRecHitProducer(const edm::ParameterSet& ps);
00019   ~EcalMaxSampleUncalibRecHitProducer();
00020   virtual void produce(edm::Event& evt, const edm::EventSetup& es);
00021 
00022  private:
00023 
00024   edm::InputTag EBdigiCollection_; // collection of EB digis
00025   edm::InputTag EEdigiCollection_; // collection of EE digis
00026 
00027   std::string EBhitCollection_; // secondary name to be given to collection of hit
00028   std::string EEhitCollection_; // secondary name to be given to collection of hits
00029 
00030   EcalUncalibRecHitMaxSampleAlgo<EBDataFrame> EBalgo_;
00031   EcalUncalibRecHitMaxSampleAlgo<EEDataFrame> EEalgo_;
00032 
00033   //    HepMatrix makeMatrixFromVectors(const std::vector< std::vector<EcalMaxSample> >& vecvec);
00034 
00035   /*     int nMaxPrintout_; // max # of printouts */
00036   /*     int counter_; // internal verbosity counter */
00037 
00038   //    bool counterExceeded() const { return ( (counter_>nMaxPrintout_) || (counter_<0) ) ; }
00039 };
00040 #endif

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