CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_1_8_patch12/src/RecoLocalCalo/EcalRecProducers/plugins/EcalUncalibRecHitWorkerMaxSample.h

Go to the documentation of this file.
00001 #ifndef RecoLocalCalo_EcalRecProducers_EcalUncalibRecHitWorkerMaxSample_hh
00002 #define RecoLocalCalo_EcalRecProducers_EcalUncalibRecHitWorkerMaxSample_hh
00003 
00004 #include "RecoLocalCalo/EcalRecProducers/interface/EcalUncalibRecHitWorkerBaseClass.h"
00005 #include "RecoLocalCalo/EcalRecAlgos/interface/EcalUncalibRecHitMaxSampleAlgo.h"
00006 
00007 #include "DataFormats/EcalDigi/interface/EcalDigiCollections.h"
00008 #include "DataFormats/EcalRecHit/interface/EcalRecHitCollections.h"
00009 
00010 namespace edm {
00011         class ParameterSet;
00012         class EventSetup;
00013         class Event;
00014 }
00015 
00016 class EcalUncalibRecHitWorkerMaxSample : public EcalUncalibRecHitWorkerBaseClass {
00017 
00018         public:
00019                 EcalUncalibRecHitWorkerMaxSample(const edm::ParameterSet& ps);
00020                 virtual ~EcalUncalibRecHitWorkerMaxSample() {};
00021 
00022                 void set(const edm::EventSetup& es);
00023                 bool run(const edm::Event& evt, const EcalDigiCollection::const_iterator & digi, EcalUncalibratedRecHitCollection & result);
00024 
00025         private:
00026 
00027                 //std::string ebHitCollection_; // secondary name to be given to collection of hits
00028                 //std::string eeHitCollection_; // secondary name to be given to collection of hits
00029 
00030                 EcalUncalibRecHitMaxSampleAlgo<EBDataFrame> ebAlgo_;
00031                 EcalUncalibRecHitMaxSampleAlgo<EEDataFrame> eeAlgo_;
00032 };
00033 #endif